[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 4/4] hw/hppa/dino: Do not accept accesses to registers 0x
From: |
Helge Deller |
Subject: |
Re: [RFC PATCH 4/4] hw/hppa/dino: Do not accept accesses to registers 0x818 and 0x82c |
Date: |
Sat, 15 Feb 2020 21:49:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 14.02.20 00:41, Philippe Mathieu-Daudé wrote:
> Register 0x818 is documented as 'undefined', and register
> 0x82c is not documented. Refuse their access.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Helge Deller <address@hidden>
> ---
> hw/hppa/dino.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c
> index be799aad43..2b1b38c58a 100644
> --- a/hw/hppa/dino.c
> +++ b/hw/hppa/dino.c
> @@ -181,7 +181,9 @@ static bool dino_chip_mem_valid(void *opaque, hwaddr addr,
> case DINO_IO_ADDR_EN:
> case DINO_PCI_IO_DATA:
> case DINO_TOC_ADDR:
> - case DINO_GMASK ... DINO_TLTIM:
> + case DINO_GMASK ... DINO_PCISTS:
> + case DINO_MLTIM ... DINO_PCIWOR:
> + case DINO_TLTIM:
> ret = true;
> break;
> case DINO_PCI_IO_DATA + 2:
>
- [PATCH 0/4] hw/hppa/dino: Fix Coverity 1419393 & 1419394, Philippe Mathieu-Daudé, 2020/02/13
- [PATCH 1/4] hw/hppa/dino: Add comments with register name, Philippe Mathieu-Daudé, 2020/02/13
- [PATCH 2/4] hw/hppa/dino: Fix reg800_keep_bits[] overrun (CID 1419393 & 1419394), Philippe Mathieu-Daudé, 2020/02/13
- [RFC PATCH 3/4] hw/hppa/dino: Fix PCIROR register access bitmask, Philippe Mathieu-Daudé, 2020/02/13
- [RFC PATCH 4/4] hw/hppa/dino: Do not accept accesses to registers 0x818 and 0x82c, Philippe Mathieu-Daudé, 2020/02/13
- Re: [RFC PATCH 4/4] hw/hppa/dino: Do not accept accesses to registers 0x818 and 0x82c,
Helge Deller <=
- Re: [PATCH 0/4] hw/hppa/dino: Fix Coverity 1419393 & 1419394, Richard Henderson, 2020/02/15