]> Gentwo Git Trees - linux/.git/commit
cdx: Split mcdi.h and reorganize headers
authorShubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Mon, 8 Sep 2025 11:56:45 +0000 (17:26 +0530)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 15 Sep 2025 13:56:00 +0000 (15:56 +0200)
commit54fd6bd42e7bd351802ff1d193a2e33e4bfb1836
treedb3759a18a5597b16585662ed717c174773e158c
parent2292c8061c783e6900fcedcee388f69deab765ef
cdx: Split mcdi.h and reorganize headers

Move bitfield.h from the CDX controller directory to include/linux/cdx to make
them accessible to other drivers.

As part of this refactoring, split mcdi.h into two headers:

- mcdi.h: retains interface-level declarations
- mcdid.h: contains internal definitions and macros

This is in preparation for VersalNET EDAC driver that relies on it.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com>
Link: https://lore.kernel.org/20250908115649.22903-1-shubhrajyoti.datta@amd.com
drivers/cdx/controller/cdx_controller.c
drivers/cdx/controller/cdx_rpmsg.c
drivers/cdx/controller/mcdi.c
drivers/cdx/controller/mcdi_functions.c
drivers/cdx/controller/mcdi_functions.h
drivers/cdx/controller/mcdid.h [new file with mode: 0644]
include/linux/cdx/bitfield.h [moved from drivers/cdx/controller/bitfield.h with 100% similarity]
include/linux/cdx/mcdi.h [moved from drivers/cdx/controller/mcdi.h with 74% similarity]