[Skiboot] [PATCH v2 2/3] chip: add no-nx quirk for all QEMU platforms

Andrew Jeffery andrew at aj.id.au
Fri Apr 12 12:52:33 AEST 2019



On Fri, 12 Apr 2019, at 00:16, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>

> ---
>  core/chip.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/core/chip.c b/core/chip.c
> index 65263253424d..b01ec5bb0fb6 100644
> --- a/core/chip.c
> +++ b/core/chip.c
> @@ -144,9 +144,11 @@ void init_chips(void)
>  		prlog(PR_NOTICE, "CHIP: Detected Awan emulator\n");
>  	}
>  	/* Detect Qemu */
> -	if (dt_node_is_compatible(dt_root, "qemu,powernv")) {
> +	if (dt_node_is_compatible(dt_root, "qemu,powernv") ||
> +	    dt_node_is_compatible(dt_root, "qemu,powernv8") ||
> +	    dt_node_is_compatible(dt_root, "qemu,powernv9")) {
>  		proc_chip_quirks |= QUIRK_NO_CHIPTOD | QUIRK_NO_PBA
> -			| QUIRK_NO_DIRECT_CTL;
> +			| QUIRK_NO_DIRECT_CTL | QUIRK_NO_RNG;
>  		prlog(PR_NOTICE, "CHIP: Detected Qemu simulator\n");
>  	}
>  
> -- 
> 2.20.1
> 
>


More information about the Skiboot mailing list