Re: [PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-04-15 Thread Philippe Mathieu-Daudé
On 3/17/21 7:46 PM, Cédric Le Goater wrote: > On 3/13/21 1:05 PM, Philippe Mathieu-Daudé wrote: >> Incorrect subject prefix, should be "hw/ssi/aspeed_smc" > > Is this just good practice or something that was agreed upon ? Not sure, maybe "good practice"? Anyway here I only meant to correct my ow

Re: [PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-03-17 Thread Cédric Le Goater
On 3/17/21 8:00 PM, Philippe Mathieu-Daudé wrote: > On 3/17/21 7:30 PM, Cédric Le Goater wrote: >> On 3/12/21 7:28 PM, Philippe Mathieu-Daudé wrote: >>> The flash mmio region is exposed as an AddressSpace. >>> AddressSpaces must not be sysbus-mapped, therefore map >>> the region using an alias. >>>

Re: [PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-03-17 Thread Cédric Le Goater
On 3/13/21 1:05 PM, Philippe Mathieu-Daudé wrote: > Incorrect subject prefix, should be "hw/ssi/aspeed_smc" Is this just good practice or something that was agreed upon ? We should update checkpatch if so. Thanks, C. > > On 3/12/21 7:28 PM, Philippe Mathieu-Daudé wrote: >> The flash mmio re

Re: [PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-03-17 Thread Philippe Mathieu-Daudé
On 3/17/21 7:30 PM, Cédric Le Goater wrote: > On 3/12/21 7:28 PM, Philippe Mathieu-Daudé wrote: >> The flash mmio region is exposed as an AddressSpace. >> AddressSpaces must not be sysbus-mapped, therefore map >> the region using an alias. >> >> Signed-off-by: Philippe Mathieu-Daudé > > That does

Re: [PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-03-17 Thread Cédric Le Goater
On 3/12/21 7:28 PM, Philippe Mathieu-Daudé wrote: > The flash mmio region is exposed as an AddressSpace. > AddressSpaces must not be sysbus-mapped, therefore map > the region using an alias. > > Signed-off-by: Philippe Mathieu-Daudé That does the trick but you need an extra change in the model.

Re: [PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-03-13 Thread Philippe Mathieu-Daudé
Incorrect subject prefix, should be "hw/ssi/aspeed_smc" On 3/12/21 7:28 PM, Philippe Mathieu-Daudé wrote: > The flash mmio region is exposed as an AddressSpace. > AddressSpaces must not be sysbus-mapped, therefore map > the region using an alias. > > Signed-off-by: Philippe Mathieu-Daudé > --- >

[PATCH 2/5] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

2021-03-12 Thread Philippe Mathieu-Daudé
The flash mmio region is exposed as an AddressSpace. AddressSpaces must not be sysbus-mapped, therefore map the region using an alias. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ssi/aspeed_smc.h | 1 + hw/ssi/aspeed_smc.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-