lkml.org 
[lkml]   [2023]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [EXT] [PATCH v4 4/7] PCI: endpoint: Add BME notifier support
Date

> @@ -72,11 +72,13 @@ struct pci_epf_ops {
> * @core_init: Callback for the EPC initialization complete event
> * @link_up: Callback for the EPC link up event
> * @link_down: Callback for the EPC link down event
> + * @bme: Callback for the EPC BME (Bus Master Enable) event
> */
> struct pci_epc_event_ops {
> int (*core_init)(struct pci_epf *epf);
> int (*link_up)(struct pci_epf *epf);
> int (*link_down)(struct pci_epf *epf);
> + int (*bme)(struct pci_epf *epf);

I posted a doorbell from host to EP at
https://lore.kernel.org/imx/20230426203436.1277307-2-Frank.Li@nxp.com/T/#u

Can we consider consolidate these notification to one function and distinguished by
EVENT_ID in future?

Best regards
Frank Li

> };
>
> /**
> --
> 2.25.1

\
 
 \ /
  Last update: 2023-05-19 20:20    [W:0.100 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site