Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp277440rdb; Mon, 15 Jan 2024 22:51:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGH2na/OB2oK4xNEhn2G7i7lPYFd6r6pLumICJyTwLZrQBKqM+AykssSatkLxaGKbcJJV8L X-Received: by 2002:a2e:b177:0:b0:2cc:9789:3d4c with SMTP id a23-20020a2eb177000000b002cc97893d4cmr2730641ljm.37.1705387884819; Mon, 15 Jan 2024 22:51:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705387884; cv=none; d=google.com; s=arc-20160816; b=bDIXfXbqwLDIxTKtsZTT9rJy6MP6VkStPFydg79piJuMvbLPelGQ1Jm1kMpFvIgucl 40Xyt56MubpVTWR8a/WFXQaBatKlWBgEsGgojMxvpKW2925D5dIUtRY+pxpbIZGXtaOq WlWICDBTD/7lomQQ552GvMPxLkTkctGlLjpmJC4WH2BKDz+857vIeH1/s/PsZOd4kBdN D2BkIQtSE6ktvbD96Q3B36gG0YjJitLFXgMolHrfHPa0rw9TTi4jnhwVjcJ4czIwdHeu m2fIGpoNlUXDveusoalp9vnQIrjGGDa0YFr7l+U+n0yT5wwCKyhsolWX2sbZnBTOIIH3 kM9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aipKCRQIZdS350mhdq6xMLJ5FZ7w/br68Hl/t/bFF9o=; fh=dcRslSjZTlGgDHJ9/mCy7T4peJ7te6GzM1eJdKDJ8HQ=; b=bi2KsZzsymIdrtc3umLWtHyvKmD3l86L5QuUYURxW7RLZtC13aLAj8TFT+t9rFKLTH FgVCPUg3TWKafgBQjIPlQEYm5z+/mJx/wBlnTN8YWcS7bYJcIjXjSdqNqVQpV7BxS33S 9lV673HenhEyrBsv03M36VKHqlYWE52mxvX3OrEs+pB8tz1ZwhutW74HMu7Ag+bgT+H4 sPWfWuvUOGaXgyDRIo/Sj1WzScC7DdT4d8AFGDM3INjd1HAYfG7GWnzHyBwUiV9NUZpm mAzulZVCdNNJBSOuyNzv6Ys9IEooZQu1DirbSnIK1v/nOQ/8wA1vqOIoJrijEObDZg3N tYKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=f+wjo1Py; spf=pass (google.com: domain of linux-kernel+bounces-27048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z13-20020a056402274d00b00557b6e48ef2si4668023edd.165.2024.01.15.22.51.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 22:51:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=f+wjo1Py; spf=pass (google.com: domain of linux-kernel+bounces-27048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8C13D1F23D64 for ; Tue, 16 Jan 2024 06:51:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F15A1119A; Tue, 16 Jan 2024 06:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="f+wjo1Py" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DE1210A3C for ; Tue, 16 Jan 2024 06:51:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705387862; x=1736923862; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OPysNPwhIAnQcyfr8stWiSetUkU3Df0caepIuGAELpQ=; b=f+wjo1PyeSZNm+MdCutB69AEtDUkQoumvidaBXt7OeYXFXa7wqkdCCON pkf/noYX/8EuSRQUjvsSY7gWi12jDlHUIBmhjoWiRn8kLMZQSDpmRxhT6 t/ARliqJ5L+hroSNIUb3FJj3aJTuYxJzOVbW4y/8yEoNnZ5IVnhAnbsmr cVdgEl1e3HwFSPSogA6wzQgBt4iR9Wyy4MCIPR/6x7bRTPIRUqkmmtnkW 8JhizHbSasSfoiNK+OnFmo3n4QzVmzHHN67uLthdap0C5Qx2Fo7VqMQR1 bxZp5fF7W6Rx0RM8GJTvMAnL+dnMooL7vhicuQxoclCabYIG9tz460boH w==; X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="6488761" X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="6488761" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 22:51:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="25688932" Received: from uschumac-mobl2.ger.corp.intel.com (HELO box.shutemov.name) ([10.251.213.254]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 22:50:57 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id 55B9010A17B; Tue, 16 Jan 2024 09:50:53 +0300 (+03) Date: Tue, 16 Jan 2024 09:50:53 +0300 From: "Kirill A. Shutemov" To: Nikolay Borisov Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , Baoquan He , kexec@lists.infradead.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCHv5 16/16] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method Message-ID: <20240116065053.7a6omvqi3jmncppg@box.shutemov.name> References: <20231222235209.32143-1-kirill.shutemov@linux.intel.com> <20231222235209.32143-17-kirill.shutemov@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jan 15, 2024 at 03:19:43PM +0200, Nikolay Borisov wrote: > > + /* Switch to identity mapping */ > > + movq %rsi, %rax > > + movq %rax, %cr3 > > nit: Can't you move directly to cr3 For some reason, I thought I couldn't. Will fix. -- Kiryl Shutsemau / Kirill A. Shutemov