Re: [PATCH] hw/i2c/mpc_i2c.c: Fix mmio region size

2024-07-22 Thread Philippe Mathieu-Daudé
On 22/7/24 12:16, BALATON Zoltan wrote: On Mon, 22 Jul 2024, Philippe Mathieu-Daudé wrote: +Amit & Andrew On 22/7/24 00:55, BALATON Zoltan wrote: The last register of this device is at offset 0x14 occupying 8 bits so to cover it the mmio region needs to be 0x15 bytes long. Also correct the nam

Re: [PATCH] hw/i2c/mpc_i2c.c: Fix mmio region size

2024-07-22 Thread BALATON Zoltan
On Mon, 22 Jul 2024, Philippe Mathieu-Daudé wrote: +Amit & Andrew On 22/7/24 00:55, BALATON Zoltan wrote: The last register of this device is at offset 0x14 occupying 8 bits so to cover it the mmio region needs to be 0x15 bytes long. Also correct the name of the field storing this register valu

Re: [PATCH] hw/i2c/mpc_i2c.c: Fix mmio region size

2024-07-22 Thread Philippe Mathieu-Daudé
+Amit & Andrew On 22/7/24 00:55, BALATON Zoltan wrote: The last register of this device is at offset 0x14 occupying 8 bits so to cover it the mmio region needs to be 0x15 bytes long. Also correct the name of the field storing this register value to match the register name. Signed-off-by: BALATO

[PATCH] hw/i2c/mpc_i2c.c: Fix mmio region size

2024-07-21 Thread BALATON Zoltan
The last register of this device is at offset 0x14 occupying 8 bits so to cover it the mmio region needs to be 0x15 bytes long. Also correct the name of the field storing this register value to match the register name. Signed-off-by: BALATON Zoltan --- hw/i2c/mpc_i2c.c | 8 1 file chang