Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp925828rdb; Fri, 20 Oct 2023 03:42:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8YRt+FrWsnetBqVe5vhs7vAEfLypDipr/IcOnBgRvHZVldN+cVdUaRfNz909SAJedcrFr X-Received: by 2002:a05:6870:8a07:b0:1e9:b62d:dc72 with SMTP id p7-20020a0568708a0700b001e9b62ddc72mr1762508oaq.12.1697798571255; Fri, 20 Oct 2023 03:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697798571; cv=none; d=google.com; s=arc-20160816; b=jU5i6X2/Wo4Ah9ZO6b4e44LjiYtt+5rfwP++W0jPhiDuvAUwfd5y5z8/JYpz66wJct sjf5T75iHFhk66Bukk18uZ0DdiXqudLwVDoUqr4Bpq5/wyS69BrJYmyzlAll7uWB4gzO oBvuEy5W4pbgAIPSdUvisoqYyP5o5vVqu0NyBCUERD8bO0OkD4y9dGzFEsuMyVd6YeTe MKrm9LueuBNp9HSYwzGoVUZ5FA27gVOjNecl6vXgMUh/s96Zkvo04mtM+JddAn6Mhhfj abJgBj6jauWZIsW282DH5oGXm6vkgUEIVzSy1wiRCD48xnLKNU+UbADU6LlKO+wpHprk qx/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P7i82GkSa8+eBsJIHCrqb3DQ6W0OH5O6yTCn75B6nDI=; fh=HXgKhMpP3NR0oFIvtr7coEU3Z/s2pWD4Y60/u8oLjgg=; b=REEa1ioqvIs1qNns/1j3U6rhXGXd9tmrvlsoCJZvWbTHJ0FLGgszsV/IGhh6CvPQYQ LJyJKevj4YQcyIAnESeERAvgdANjBG9+t6IApF5aPnogQIfA0CYbzzPX+hnTEuOomllr WeInlvuuiKM/pwlwVYpULUFO/gSKBd6nMOwUtNKWaLQOA6T54IW6RriqSf5iuGnibyRB NxIRRwRSF5SWmFZ2gKXSlqPADY3CWEPea7jKjyd7aO4r3F+JILONXtL64cWP4LnbJBgH gCS2dy/JaThrRGN7bxmUyT3F0ax+EndjgajJ8ploZDGFPW+xTCNvbLZnpCYhpj9uqhOM 1mrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lO3MWNFS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id k198-20020a636fcf000000b005b3e61af56esi1584861pgc.121.2023.10.20.03.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 03:42:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lO3MWNFS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 12F1183D10DB; Fri, 20 Oct 2023 03:42:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376891AbjJTKmo (ORCPT + 99 others); Fri, 20 Oct 2023 06:42:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376699AbjJTKmn (ORCPT ); Fri, 20 Oct 2023 06:42:43 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DE7A106 for ; Fri, 20 Oct 2023 03:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697798562; x=1729334562; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=I1QT8NLCZxYYRpmRYZW3+A0VC3zncef/y0csj15rovI=; b=lO3MWNFST67vA6kHNliZD9hXNuo6hTi4ffxYZItKQwBZ7jPjC3glLgGE xC9NjeSwxr44CU3uyVSKJmVBUOnXLxNuChgbsRcQHCQywP4pi6vMADP7Z 6MHltj+JOvUpoyOVGcO53dX2EExZSwUJzxSMwb/0oiTJ/bxqOxmHhC8S4 ehci0Ci+GH90/Jdxtsi98ok7i2otaJhGTPGVu0Lo+CB28lEyvsVMLbMDn uvyB+iN564Lz5xbG+jPqOqgeYoBb+39XXJoI+kf1ScXSSUxSxQS/AN6Xm GGBUaJvcn9w/xYNebGK9lSqwAlM/lFq8kUQg+84VDWn5293B7CshYNWbv w==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="8039380" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="8039380" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2023 03:42:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="707200102" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="707200102" Received: from dgutows1-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.249.39.237]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2023 03:42:36 -0700 Received: by box.shutemov.name (Postfix, from userid 1000) id 20789109D0A; Fri, 20 Oct 2023 13:42:34 +0300 (+03) Date: Fri, 20 Oct 2023 13:42:34 +0300 From: "kirill.shutemov@linux.intel.com" To: "Huang, Kai" Cc: "tglx@linutronix.de" , "mingo@redhat.com" , "x86@kernel.org" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "Edgecombe, Rick P" , "Reshetova, Elena" , "Nakajima, Jun" , "rafael@kernel.org" , "peterz@infradead.org" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Hunter, Adrian" , "thomas.lendacky@amd.com" , "linux-kernel@vger.kernel.org" , "kexec@lists.infradead.org" , "linux-coco@lists.linux.dev" Subject: Re: [PATCH 13/13] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method Message-ID: <20231020104234.s2qqfssultevcnlr@box.shutemov.name> References: <20231005131402.14611-1-kirill.shutemov@linux.intel.com> <20231005131402.14611-14-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 03:42:49 -0700 (PDT) On Fri, Oct 20, 2023 at 09:49:59AM +0000, Huang, Kai wrote: > On Thu, 2023-10-05 at 16:14 +0300, Kirill A. Shutemov wrote: > > ?struct acpi_madt_multiproc_wakeup { > > ? struct acpi_subtable_header header; > > - u16 mailbox_version; > > + u16 version; > > ? u32 reserved; /* reserved - must be zero */ > > - u64 base_address; > > + u64 mailbox_address; > > + u64 reset_vector; > > ?}; > > I don't quite understand the connection between the renaming and what this patch > wants to achieve? What's the reason to rename? Names are bad: the version field guides version of the structure, not version of the mailbox. And it is not clear what base base_address specifies. > If needed, perhaps put into a separate patch with proper justification? Hm. Okay... -- Kiryl Shutsemau / Kirill A. Shutemov