Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3590104pxj; Tue, 11 May 2021 07:45:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+C9Y9c1drHHwsy83AlJ6XEOV2EYUjpw7Zhts4wslc1AnBcM0t4yCC51Jr67tPPlCL9YUV X-Received: by 2002:a17:906:3bca:: with SMTP id v10mr592635ejf.121.1620744311634; Tue, 11 May 2021 07:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620744311; cv=none; d=google.com; s=arc-20160816; b=etMgPXrykELqRdS/G45NiCNurA0gN5Hji/Pm9MGwjrBmpHs1mpBLrWXJUrXU9F0UHU m0+0ZeJ5UL83aDVjAeOj3/8DnySZiR+ob8v5h2wWQm2avVMDFODs6sv/vsscOdEa6bak R5D3KJifPnWeuJOWB/+nIK90uXS1xlx636qocPl/b1PCxzTlu07FKVb/7t+inKFt7nYn kmXtUcADAgbRHoKFdubbMrL7sD5dvPVL+p3hY83k8A50t1jnZXHIiOSpY/1jxs0ZSgpE 935USHd3LF5huzj90LCp0mCIaP9Sr/MaqPW8jbLIDZylunDH4DTzow3192bsFfZ1JzX7 aPhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=K/2xiRWvPHCpYREHB6EqzzuF6Hzrmm1Cr6+oTwllx3o=; b=mwewLt3j7AYIL7bWV+Lx3Z9Gfmy1QCsEIhQNli+PCypy+2F5H7qWjMr+52SwIsHd2B BmcxNq2oof2cWEkLjBC6a5j8eGZJzO7uPlrJjDgXSWR0U/xoZQyHfxBDHxEYBp59ozQv f6nRLQ/JPNVwYIBmVJl/VUmWumobP8f6gYK43c8+APVvNTu/fa3szIMc1rpUcmgd/aNe Ix8abGHNARr458Jtkn1M7bo9U31aRySYCd3Dmvi9TCK2vxwlvtK2OKWqg2ILCejDpjLJ qNHBqsN4GDqXKH2xsuswrcSgGhywosxPK/5ocJCaVx7aE4z+3LQsMX7MwwaaiGTulz4+ 6q4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2021042801 header.b=IBZlSHq6; 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=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si17696282edd.593.2021.05.11.07.44.47; Tue, 11 May 2021 07:45:11 -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=fail header.i=@zytor.com header.s=2021042801 header.b=IBZlSHq6; 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=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231693AbhEKOoz (ORCPT + 99 others); Tue, 11 May 2021 10:44:55 -0400 Received: from terminus.zytor.com ([198.137.202.136]:43099 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231643AbhEKOoz (ORCPT ); Tue, 11 May 2021 10:44:55 -0400 Received: from [IPv6:2601:646:8602:8be1:5181:d6fc:e7cd:279d] ([IPv6:2601:646:8602:8be1:5181:d6fc:e7cd:279d]) (authenticated bits=0) by mail.zytor.com (8.16.1/8.15.2) with ESMTPSA id 14BEhHY22613901 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 11 May 2021 07:43:19 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 14BEhHY22613901 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2021042801; t=1620744200; bh=K/2xiRWvPHCpYREHB6EqzzuF6Hzrmm1Cr6+oTwllx3o=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=IBZlSHq6tmUBuRTC+2YuGCCwseyAEsIqdTiDoOXa0/SOB+62yLc7M0fCi8GUBVg0r AfbGqnNDvkUbHlSTLCnjER9bMnVz/HSzlNF/TFWfcSjiJyZOqoB8hGuJnGDXT1K/2/ LE2or1CjUR8F3xzLFl0iQ9mOJ7p0O6gYvt/A9t/AQYF6W6QqOW7CUJXyGuTby4PqzA dFkSR+T8RLxNrWj0BnmIq84k/DX/qbRRmfTXVn79vyMO92T1QfEuEIIBkkEFmrTFdP 1K93w8o/c6dtpLOZYmKu/kwlSuIqDfBoKjZGqUGBFL8fq1sdfJy/6vLcCDJFTkCUfY opLU/XlTVoeqQ== Date: Tue, 11 May 2021 07:43:07 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <87o8dhfjc8.ffs@nanos.tec.linutronix.de> References: <20210511005531.1065536-1-hpa@zytor.com> <20210511005531.1065536-4-hpa@zytor.com> <87o8dhfjc8.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 3/6] x86/idt: remove address argument to idt_invalidate() To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Andy Lutomirski CC: Steve Wahl , Mike Travis , Dimitri Sivanich , Russ Anderson , Linux Kernel Mailing List From: "H. Peter Anvin" Message-ID: <13944C28-B73C-4B2F-95C9-9395A6C21722@zytor.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yup, me bad=2E On May 11, 2021 7:14:47 AM PDT, Thomas Gleixner wro= te: >On Mon, May 10 2021 at 17:55, H=2E Peter Anvin wrote: >> diff --git a/arch/x86/kernel/machine_kexec_32=2Ec >b/arch/x86/kernel/machine_kexec_32=2Ec >> index 64b00b0d7fe8=2E=2E6ba90f47d8c3 100644 >> --- a/arch/x86/kernel/machine_kexec_32=2Ec >> +++ b/arch/x86/kernel/machine_kexec_32=2Ec >> @@ -232,8 +232,8 @@ void machine_kexec(struct kimage *image) >> * The gdt & idt are now invalid=2E >> * If you want to load them you must set up your own idt & gdt=2E >> */ >> - idt_invalidate(phys_to_virt(0)); >> - set_gdt(phys_to_virt(0), 0); >> + idt_invalidate(); >> + set_gdt(0, 0); > > (NULL, 0) > >first argument it a pointer=2E=2E=2E > =20 --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E