|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v5 08/13] xen/arm: Fold pmap and fixmap into MMU system
Hi Henry, On 14/08/2023 05:25, Henry Wang wrote:
AFAICT, virt_to_fix() is not going to be implemented for the MPU code. This implies that no-one should call it. Also, none of the definitions in fixmap.h actually makes sense for the MPU. I would prefer if we instead try to lmit the include of fixmap to when this is strictly necessary. Looking for the inclusion in staging I could find: 42sh> ack "\#include" | ack "fixmap" | ack -v x86 arch/arm/acpi/lib.c:28:#include <asm/fixmap.h> arch/arm/kernel.c:19:#include <asm/fixmap.h> arch/arm/mm.c:27:#include <asm/fixmap.h> arch/arm/include/asm/fixmap.h:7:#include <xen/acpi.h> arch/arm/include/asm/fixmap.h:8:#include <xen/pmap.h> arch/arm/include/asm/pmap.h:6:#include <asm/fixmap.h> arch/arm/include/asm/early_printk.h:14:#include <asm/fixmap.h> common/efi/boot.c:30:#include <asm/fixmap.h> common/pmap.c:7:#include <asm/fixmap.h> drivers/acpi/apei/erst.c:36:#include <asm/fixmap.h> drivers/acpi/apei/apei-io.c:32:#include <asm/fixmap.h> drivers/char/xhci-dbc.c:30:#include <asm/fixmap.h> drivers/char/ehci-dbgp.c:16:#include <asm/fixmap.h> drivers/char/ns16550.c:40:#include <asm/fixmap.h> drivers/char/xen_pv_console.c:28:#include <asm/fixmap.h>Some of them are gone after your rework. The only remaining that we care are in kernel.h (but I think it can be removed after your series). So I think it would be feasible to not touch fixmap.h at all. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |