Re: [PATCH 01/10] hw/tpm: Clean includes

2022-02-05 Thread Richard Henderson
On 2/4/22 06:37, Philippe Mathieu-Daudé wrote: "tpm_ppi.h" only requires to include "exec/memory.h" to get the MemoryRegion declaration. tpm_ppi.c requires "hw/qdev-core.h" to use the DEVICE() macro, tpm_crb.c is the only source file requiring "exec/address-spaces.h". Signed-off-by: Philippe Ma

Re: [PATCH 01/10] hw/tpm: Clean includes

2022-02-04 Thread Thomas Huth
On 03/02/2022 20.37, Philippe Mathieu-Daudé wrote: "tpm_ppi.h" only requires to include "exec/memory.h" to get the MemoryRegion declaration. tpm_ppi.c requires "hw/qdev-core.h" to use the DEVICE() macro, tpm_crb.c is the only source file requiring "exec/address-spaces.h". Signed-off-by: Philipp

[PATCH 01/10] hw/tpm: Clean includes

2022-02-03 Thread Philippe Mathieu-Daudé via
"tpm_ppi.h" only requires to include "exec/memory.h" to get the MemoryRegion declaration. tpm_ppi.c requires "hw/qdev-core.h" to use the DEVICE() macro, tpm_crb.c is the only source file requiring "exec/address-spaces.h". Signed-off-by: Philippe Mathieu-Daudé --- hw/tpm/tpm_crb.c | 1 + hw/tpm/