Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1129030pxk; Fri, 25 Sep 2020 07:02:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgbaEFdsu3Zvw5cDaBXj9PYSsGwEKos401LWlMR/chq4D1qS8lqQRoA+3dn5E4ETc45tRk X-Received: by 2002:a05:6402:50f:: with SMTP id m15mr1523184edv.41.1601042557277; Fri, 25 Sep 2020 07:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601042557; cv=none; d=google.com; s=arc-20160816; b=IFiTL0o8dyjB8BUK4BmEuNFKnUZ7DP3JxHALEV9uM4Cg0pnSIIDsowcn5Z6xoqS6zz SIjhFk6Y/F+87ObH1W6iosHvNZNmV342ONs+fPRRyeiKP052bxwOdGN0kBY8grDWxak4 GyMDIm+35LYTWJUDsYwSNQLh/c6gjSJBSiU5BRA1pOlQJBAeMTpE4RuaUGFTJVof3V0D 9zNyxSt4u2SQ84n9C6N0g2LlDmoSaQOvyK3sADCLZTUrJgoh1ThQm7iFtP1ICUT+SURU gxall89H0FTKG9hAhd4ihUbT0pS5EW+VaCTSs4pBWJKWgRGNzzpOZegYnf4kHtAPhQEq DKaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=fgydADyCw89aBbyJRs5VBaKQ6Mc9dhZddkJCrlc6Emw=; b=JLG1J/3L+WT5+h7Sk2QQS8ZYWUchgBzHNbiGVIPZ5O8bvi+JwIMXSMOtoFCra4m+nf ZdY/z489jOtL88jtkCJPRpaKQuYdy6A3ek3JF5dNn3yXsQlFaYH94MPyDMqaiSdPcUi2 2Tm+P6/jManivZG3yLmFTaKZTxkCuI12Le4S07/AGPc3OK1bGWD4lfOOR8bVMObkH7ow ebvMA5ar7187vToqOOIQMJw1sKhv2FWr7rOZf8XPamdTMuxJcLMZetOPENPueBKUurXF bdjAM7BQhcf1oYyj8fYkBKoAvTxzWWQuEXI9Dw+UK9e6la+Qn92N696+amJ92voSsOww 8cbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Eqaqt8aP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si1843318edw.139.2020.09.25.07.02.10; Fri, 25 Sep 2020 07:02:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Eqaqt8aP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728489AbgIYOAy (ORCPT + 99 others); Fri, 25 Sep 2020 10:00:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:50492 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728330AbgIYOAy (ORCPT ); Fri, 25 Sep 2020 10:00:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1601042452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fgydADyCw89aBbyJRs5VBaKQ6Mc9dhZddkJCrlc6Emw=; b=Eqaqt8aPxRLLuyUjanMNQGx2Gq+j9mNtvrFqaZLAfL/rLUZ0fdQXLNvnwHjPdksXkrqo9k 7yZytCFPaAJ5GcrGRgoW0ri2SFC2378A2kszoZJ/oV1j1fM8zLTsA5DASeSvLV8GyVi9lG P26u06zjylzRjM58GLkcfhybZMIIxmw= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6CD4FAF49; Fri, 25 Sep 2020 14:00:52 +0000 (UTC) Subject: Re: [PATCH] x86/xen: disable Firmware First mode for correctable memory errors To: boris.ostrovsky@oracle.com, Juergen Gross , x86@kernel.org, linux-kernel@vger.kernel.org Cc: xen-devel@lists.xenproject.org, Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , stable@vger.kernel.org References: <20200925101148.21012-1-jgross@suse.com> <171970df-5f6e-5a2b-e784-e62d300a005b@oracle.com> From: Jan Beulich Message-ID: Date: Fri, 25 Sep 2020 16:00:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <171970df-5f6e-5a2b-e784-e62d300a005b@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25.09.2020 15:45, boris.ostrovsky@oracle.com wrote: > On 9/25/20 6:11 AM, Juergen Gross wrote: >> @@ -1296,6 +1296,14 @@ asmlinkage __visible void __init xen_start_kernel(void) >> >> xen_smp_init(); >> >> +#ifdef CONFIG_ACPI >> + /* >> + * Disable selecting "Firmware First mode" for correctable memory >> + * errors, as this is the duty of the hypervisor to decide. >> + */ >> + acpi_disable_cmcff = 1; >> +#endif > > > Not that it matters greatly but should this go under if (xen_initial_domain()) > clause a bit further down? Yes - DomU-s are supposed to be in charge of their (virtual) firmware, no matter that right now APEI for guests is completely out of sight as far as I'm aware. Jan