qemu-devel
[Top][All Lists]
Advanced

[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:
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]