Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp666677ybt; Wed, 1 Jul 2020 07:21:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyk4xs1QDIkxdwquvzn6sGBsbZ2FWWy+k4h3zBk1mAfSl3hkOCAVlXSno85yNspBkGpjxci X-Received: by 2002:a17:906:3958:: with SMTP id g24mr22314147eje.26.1593613264325; Wed, 01 Jul 2020 07:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593613264; cv=none; d=google.com; s=arc-20160816; b=YohXN5lSRau23DTYFrHd24Ww9miZByvQq1fXnjPA0Lw08xzvIJ/J2TCF0l7tbNpi+6 CJpR+v1tSLroz5DoDUoOdIxDv0cVVqpW9KtGbYphf12+LLoJQI6g7GMtf9yNqmLF7ycq 87LWJR2+V5NN8fv5lgYgZNc8evE/43YRvKjiWdPyVI7YqIkD4YaeR4BVau9Dhuym1rw5 am0IhZqikGL/iqCqj0W2Hwjp343xuUuC6HCNTbiSPJ6QpqgnFYPnJ5deYyovZ3m3yhsK 6eKimr66LypQy7VPe9FLDrUDZdOsUw+x4eIsNnp3kcOHj6kodT6O1ZpDczPcIxCGlQF7 ffeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:subject:cc:to :from:date:user-agent:message-id; bh=0bb+tRPrkr1nzlIbF8NsZqilYTxP4gjXiWYWotVdUsQ=; b=u9XGckedJiEe29aypjmzvwoeurM9rAdKwYmAAurVzop58BoyUHTWUZWSiCNGd7SGG6 KqNW7nvtWG+tA+2YYrf5+Kq58QbFV8yHuvVXfBq16N/auPxkqjvySIaoR4teD1Eq5Ttq IWw/VOrRaVy9n0DByj3tkO2jHiv4PqQ2soItuecrGgiYfjq7y0AZMvNKc1jAcV2hDl23 7GLObvOMJP08Rqn9GyIlgJblEC6VKjgX8Kgro7jX97tXrNlPCBvF0iA8Pg7/EbK89AMB vtVhs73Vz1hkz1s7IdQ9VmJu95kcFZ7LNgtPWpeepxEqH2+Epjsx3UHaG2YfdtGYxCJB uC5w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si3932958edy.409.2020.07.01.07.20.39; Wed, 01 Jul 2020 07:21:04 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731594AbgGAOT2 (ORCPT + 99 others); Wed, 1 Jul 2020 10:19:28 -0400 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]:17142 "EHLO mx0b-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731515AbgGAOTX (ORCPT ); Wed, 1 Jul 2020 10:19:23 -0400 Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 061E3Ev0013539; Wed, 1 Jul 2020 14:17:35 GMT Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 320qht24as-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Jul 2020 14:17:35 +0000 Received: from stormcage.eag.rdlabs.hpecorp.net (stormcage.eag.rdlabs.hpecorp.net [128.162.236.70]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 18557AC; Wed, 1 Jul 2020 14:17:34 +0000 (UTC) Received: by stormcage.eag.rdlabs.hpecorp.net (Postfix, from userid 200934) id C8A882015DBC7; Wed, 1 Jul 2020 09:17:32 -0500 (CDT) Message-ID: <20200701141732.706351085@hpe.com> User-Agent: quilt/0.66 Date: Wed, 01 Jul 2020 09:17:41 -0500 From: steve.wahl@hpe.com To: Jonathan Corbet , Ard Biesheuvel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Darren Hart , Andy Shevchenko , Mauro Carvalho Chehab , Andrew Morton , Greg Kroah-Hartman , "Paul E. McKenney" , Pawan Gupta , Juergen Gross , Mike Kravetz , Oliver Neukum , Mike Travis , Steve Wahl , Dimitri Sivanich , Benjamin Thiel , Andy Lutomirski , Arnd Bergmann , James Morris , David Howells , Kees Cook , Dave Young , Dan Williams , Logan Gunthorpe , Alexandre Chartre , "Peter Zijlstra (Intel)" , Austin Kim , Alexey Dobriyan , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org Cc: Russ Anderson Subject: [patch 10/13] Delete SGI UV1 detection. References: <20200701141731.377252388@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-01_08:2020-07-01,2020-07-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 priorityscore=1501 cotscore=-2147483648 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2007010102 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As a part of UV1 platform removal, don't try to recognize the platform through DMI to set the EFI_UV1_MEMMAP bit. Signed-off-by: Steve Wahl --- arch/x86/platform/efi/quirks.c | 23 ----------------------- 1 file changed, 23 deletions(-) --- linux.orig/arch/x86/platform/efi/quirks.c 2020-06-17 14:29:45.510015978 -0500 +++ linux/arch/x86/platform/efi/quirks.c 2020-06-17 14:36:34.473414139 -0500 @@ -558,16 +558,6 @@ out: return ret; } -static const struct dmi_system_id sgi_uv1_dmi[] __initconst = { - { NULL, "SGI UV1", - { DMI_MATCH(DMI_PRODUCT_NAME, "Stoutland Platform"), - DMI_MATCH(DMI_PRODUCT_VERSION, "1.0"), - DMI_MATCH(DMI_BIOS_VENDOR, "SGI.COM"), - } - }, - { } /* NULL entry stops DMI scanning */ -}; - void __init efi_apply_memmap_quirks(void) { /* @@ -579,17 +569,6 @@ void __init efi_apply_memmap_quirks(void pr_info("Setup done, disabling due to 32/64-bit mismatch\n"); efi_memmap_unmap(); } - - /* UV2+ BIOS has a fix for this issue. UV1 still needs the quirk. */ - if (dmi_check_system(sgi_uv1_dmi)) { - if (IS_ENABLED(CONFIG_X86_UV)) { - set_bit(EFI_UV1_MEMMAP, &efi.flags); - } else { - pr_warn("EFI runtime disabled, needs CONFIG_X86_UV=y on UV1\n"); - clear_bit(EFI_RUNTIME_SERVICES, &efi.flags); - efi_memmap_unmap(); - } - } } /* @@ -723,8 +702,6 @@ void efi_recover_from_page_fault(unsigne /* * Make sure that an efi runtime service caused the page fault. - * "efi_mm" cannot be used to check if the page fault had occurred - * in the firmware context because the UV1 memmap doesn't use efi_pgd. */ if (efi_rts_work.efi_rts_id == EFI_NONE) return;