[0/2] add platform check in event manager driver

Message ID 20231218094009.13528-1-jay.buddhabhatti@amd.com
Headers
Series add platform check in event manager driver |

Message

Buddhabhatti, Jay Dec. 18, 2023, 9:40 a.m. UTC
  Some error event IDs for Versal and Versal NET are different.
Both the platforms should access their respective error event
IDs so use sub_family_code to check for Versal or Versal NET
platform and check error IDs for respective platforms.

Jay Buddhabhatti (2):
  firmware: xilinx: Export function to use in other module
  drivers: soc: xilinx: add check for platform

 drivers/firmware/xilinx/zynqmp.c        |  3 ++-
 drivers/soc/xilinx/xlnx_event_manager.c | 25 ++++++++++++++++++++-----
 include/linux/firmware/xlnx-zynqmp.h    | 22 ++++++++++++++++++----
 3 files changed, 40 insertions(+), 10 deletions(-)
  

Comments

Michal Simek Dec. 18, 2023, 10:56 a.m. UTC | #1
On 12/18/23 10:40, Jay Buddhabhatti wrote:
> Some error event IDs for Versal and Versal NET are different.
> Both the platforms should access their respective error event
> IDs so use sub_family_code to check for Versal or Versal NET
> platform and check error IDs for respective platforms.
> 
> Jay Buddhabhatti (2):
>    firmware: xilinx: Export function to use in other module
>    drivers: soc: xilinx: add check for platform
> 
>   drivers/firmware/xilinx/zynqmp.c        |  3 ++-
>   drivers/soc/xilinx/xlnx_event_manager.c | 25 ++++++++++++++++++++-----
>   include/linux/firmware/xlnx-zynqmp.h    | 22 ++++++++++++++++++----
>   3 files changed, 40 insertions(+), 10 deletions(-)
> 

Acked-by: Michal Simek <michal.simek@amd.com>

Thanks,
Michal