Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp639428ybb; Fri, 20 Mar 2020 05:38:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsnKpWrVzQk9O5HybBaSwf9jMAR5Ts9rO8yFYMbEeamV7vuhdzQ7F4kWJnrG2MEwWDI1g/Q X-Received: by 2002:aca:482:: with SMTP id 124mr6235049oie.35.1584707926793; Fri, 20 Mar 2020 05:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584707926; cv=none; d=google.com; s=arc-20160816; b=Trs48KhZQfRC+EGeWXv6dXdrluQa+JBxHZQ5WkDVneN1dI0DGkPFEe+DsuOim6qB3B 7daCOrtuSJLi4xLOTYg2UH4eq76/wyur/mcPXtqaGib4aDM6LUR0vf2fQgYFN0lozAbP HYOnmeJNDTWkPKRwVFJygXWtuqc5BgOl3Y/6LGqPSjoVfmTc2IeF35l1Ju9hTYFJYCrZ gCwz0Md6WWnSnqPpkfvOtpWka1ZNH+2YHWwGflY86oxRq1F1l3j5I89tU3uPJpYIKWR3 YzBulGCFrwPZb+QYgzS0xKtdBT4fSDOkiAtBEXyd/bDs9thoPWy5KZc9fig1U0YtRt8k AgWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lUsFDDLc+OT1mxat4BydgprIPibf9UQTcm/vZqGE7Pg=; b=eGBHwIw7EWtFCjqEvLt+Y0zPRtaDWtrPmDMnSa3dwSZhokAGZ+Go03/RsHk+XbEJ+y pT/ZQceiOddKdLnv54iosBvCYHN4uktmCUtoUZArfTuKtQdgBVr84URnFu65T9b50V1K H4pZsJL4Q9S7cQ6RqTery7VmrRI9vPaPiDuD07e5edeJHEW/tgFeSGL8I37qjOZW/Z26 D8NWvL0fgO24xXPfjzfBZuvrKlCIWoSOsO6c1QQJUxZqXBdEoIQT6uNamULko6wffdBx GJiAWEnPySlJC3lRRSGlUC4yj713RaoNiE22pIs0UdHxQytDots2C+q5O8VEALMz69Z5 9c/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b="tZugQz/A"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si2926436otq.105.2020.03.20.05.38.32; Fri, 20 Mar 2020 05:38:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b="tZugQz/A"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbgCTMiH (ORCPT + 99 others); Fri, 20 Mar 2020 08:38:07 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:45876 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726896AbgCTMiH (ORCPT ); Fri, 20 Mar 2020 08:38:07 -0400 Received: by mail-qk1-f195.google.com with SMTP id c145so6526293qke.12 for ; Fri, 20 Mar 2020 05:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lUsFDDLc+OT1mxat4BydgprIPibf9UQTcm/vZqGE7Pg=; b=tZugQz/AH0shvqjYWaF1gAAwX+4ovdwCpMJMoGaKc3JPHNP4DA0wP2zsgC6Wc7fcg7 6b/lkws0cqY8gp36RTo5o0CfaGP2IIcQy+DYVsoxd+wux++dbBa5aLZaeLXCvn6pqDX4 FgHC2C8kyi7zTi7bMu5dulWZ6wSXCXhxLDDUK533HO0MZDS+kbxeuPXjJpp/F7DX93JL g3wBrf1xCYeBbUCQSoEUYQIrA0EszHphDJCTYduJhXi36Hynt6Az3btqPZrUFmEz7+Fx GOMEQYUDg01KIVTjvzayfXnA7mXXR76J+LjqCgO0nZg6b4+WcdsuuGzGFuz6G99yEIgf 3nOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lUsFDDLc+OT1mxat4BydgprIPibf9UQTcm/vZqGE7Pg=; b=d5STttBQwcDtv8IlSBnBNlxkZ7GcL0PQ9kWMaLFtA4w8OKAnTipNp7h39Hkn99LNqx hqSF2DRblZUPxE3Hi6riABoY5OlRvcIqO7mpehifmClpvQckEnnQ2V95UbzrDs9vXBt0 6Pv+TV/ynJv6JMI58DNOup0F2XKTW+dd/E8b28T5/5yVgFfs4aQvTV70GP/ms49cWrEM +8X+huhPU0L2poNHactlpIPxUuHh7qpHDolh8iRFJt6juwAA7ncgsH/wHldlyMYlrQcK QYBVVuOgujUDAJJzsKgcuhWqY6ljld7M68pobDLOURnM/pnRKClWzW6LLRhZNw/uJ9sK c1jg== X-Gm-Message-State: ANhLgQ0WUVtTmqsDRrArqJaxNo52ygZ7Nkh9xx52TtkJdUh9SoOQqYWi KuVRQ1XzSRn5vJxaz6nnQY0W/5SUGSdWdW5D13MOEw== X-Received: by 2002:a37:51d5:: with SMTP id f204mr7674280qkb.14.1584707886141; Fri, 20 Mar 2020 05:38:06 -0700 (PDT) MIME-Version: 1.0 References: <20200312083341.9365-1-jian-hong@endlessm.com> <20200312104643.GA15619@zn.tnic> In-Reply-To: <20200312104643.GA15619@zn.tnic> From: Daniel Drake Date: Fri, 20 Mar 2020 20:37:54 +0800 Message-ID: Subject: Re: [PATCH] Revert "x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T" To: Borislav Petkov Cc: Jian-Hong Pan , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Ard Biesheuvel , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , x86@kernel.org, Linux Kernel , linux-efi@vger.kernel.org, Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 12, 2020 at 6:46 PM Borislav Petkov wrote: > How do you know *everyone* affected will update their BIOS? > > And what's the downside of keeping it? It could indeed be kept without user-visible downside, and that would be the normal case for quirks that work around BIOS bugs. But I had two reasons for suggesting that Jian-Hong should send this revert patch, which may be worth some consideration: 1. This was working around a BIOS bug truly separate from Linux to the point where it was a little questionable for Linux to put a quirk in place. The original bug was that after Linux completed executing the reboot code, the machine would reboot, the BIOS would start loading, and then crash well before loading the OS. Presumably crashing on some state that Linux left that was not reset in the machine's reboot stage. The vendor later found the issue (something TPM-related) and fixed the BIOS to avoid the crash. 2. We normally receive these units before they go into mass production, so there's a decent chance that production versions already include this BIOS fix. Based on that I was considering that the patch could be reverted for cleanliness/ At the same time, I do not have strong feelings on this, no issues if the quirk is left in place. Daniel