From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:a17:504:76a5:b0:1be9:327d:8ee3 with SMTP id sy5csp788582njb; Fri, 28 Feb 2025 01:27:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXFRW06fDOCQjtAsCss9g75JUrj+9mTMEr3eria21tloGWHttBqsqWd5cIzk/6czrhyi0AkR+aR0e8L5w==@linaro.org X-Google-Smtp-Source: AGHT+IFTVdH6CA/wItm2uVYUODBpNTMpdDsbFUnyewPf6euepzskU5BRildTYcoQTI6HIsxiNpWF X-Received: by 2002:a05:6214:2aa5:b0:6e4:3cf1:561a with SMTP id 6a1803df08f44-6e8a0cb195fmr33673086d6.11.1740734839346; Fri, 28 Feb 2025 01:27:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1740734839; cv=none; d=google.com; s=arc-20240605; b=Tm84sTlNRaFF2vWKqSd4oNOLfH585l5sOfiyMeA/WMw2Jml5zRWVhmXNBXBImebYBv M8/2q/4U/mRgFj78skjT3dEAWOEtNJbrMQXeS9ZV71I2DGpMNCUMe9tBb91jiKynJAX/ iFm2FLmxX9y9bzYMDCExSduA/tWGF7LctW4VI9T5+LTcQKHym+Rj/CVdpRzrwbViiprP p3wJu9iOU03adCA5/HBD8ahv649KHTz3VZUlQ81NKIVvqALChVwz/aAlkgLs28vZOQ/u C926bc75r+g2A0bzqZzvLtoLqjc7V00bElQwsJvsM5CB4fUoiiiwk2bsFSGz7gb7rhgJ QSQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:from:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:date; bh=2oPYF+r+fFsNu+d9Mf4q+xQ4fyDZ1y0vvkySRETt4x0=; fh=bP94an9DK4jgLeBJl7yHrV9jAfaxcB/GDtPuHgUsSso=; b=dbUcAKEbYeGhvx8iaBH8n705FFRW3opaTcUqmlNAHcCWy06mYwa2ZuYy2piNfmABW6 wLj88TNQTwVfWO/UzYLYwWst/M/YfAn1sPquaQcyAOO/ElBrpukQ2tHTonNVgS6ggngl oMR35OMPT09wX2OLy7IZWSsk3dyc4PSOssk+12JaNwxCfxf6MSsaC7UulWU1MkAHXAVJ IzqjNmEwVEqNR+5AQX9BqvumXiXG7SmuCjxSIpcHufmRhEP4Mlaj50yVxIYc8ZLMxdDx pKZlLDFwlxzxOdc+fAd+kjH/Ym5gL9wentBaeVviCwQK8dw1RGmi0dr7onklDcFNqX5Y 4sbw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6e8976c06adsi28497156d6.171.2025.02.28.01.27.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Feb 2025 01:27:19 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nongnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tnwdz-0008DE-1B; Fri, 28 Feb 2025 04:26:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnwdu-0008CW-PH; Fri, 28 Feb 2025 04:26:50 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnwds-00012b-0L; Fri, 28 Feb 2025 04:26:50 -0500 Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Z42p23K4sz6M4dp; Fri, 28 Feb 2025 17:23:54 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id D26EF140A34; Fri, 28 Feb 2025 17:26:43 +0800 (CST) Received: from localhost (10.96.237.92) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 28 Feb 2025 10:26:40 +0100 Date: Fri, 28 Feb 2025 17:26:35 +0800 To: Mauro Carvalho Chehab CC: Igor Mammedov , "Michael S . Tsirkin" , Shiju Jose , , , Ani Sinha , Dongjiu Geng , Peter Maydell , "Shannon Zhao" , Subject: Re: [PATCH v6 05/19] acpi/ghes: prepare to change the way HEST offsets are calculated Message-ID: <20250228172635.000027c4@huawei.com> In-Reply-To: References: X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.96.237.92] X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To frapeml500008.china.huawei.com (7.182.85.71) Received-SPF: pass client-ip=185.176.79.56; envelope-from=jonathan.cameron@huawei.com; helo=frasgout.his.huawei.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jonathan Cameron From: Jonathan Cameron via Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: WWbNn5CEAirJ On Thu, 27 Feb 2025 17:00:43 +0100 Mauro Carvalho Chehab wrote: > Add a new ags flag to change the way HEST offsets are calculated. > Currently, offsets needed to store ACPI HEST offsets and read ack > are calculated based on a previous knowledge from the logic > which creates the HEST table. > > Such logic is not generic, not allowing to easily add more HEST > entries nor replicates what OSPM does. > > As the next patches will be adding a more generic logic, add a > new use_hest_addr, set to false, in preparation for such changes. > > Signed-off-by: Mauro Carvalho Chehab LGTM Reviewed-by: Jonathan Cameron From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03F7CC19776 for ; Fri, 28 Feb 2025 09:27:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tnwe0-0008DW-0C; Fri, 28 Feb 2025 04:26:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnwdu-0008CW-PH; Fri, 28 Feb 2025 04:26:50 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnwds-00012b-0L; Fri, 28 Feb 2025 04:26:50 -0500 Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Z42p23K4sz6M4dp; Fri, 28 Feb 2025 17:23:54 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id D26EF140A34; Fri, 28 Feb 2025 17:26:43 +0800 (CST) Received: from localhost (10.96.237.92) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 28 Feb 2025 10:26:40 +0100 Date: Fri, 28 Feb 2025 17:26:35 +0800 To: Mauro Carvalho Chehab CC: Igor Mammedov , "Michael S . Tsirkin" , Shiju Jose , , , Ani Sinha , Dongjiu Geng , Peter Maydell , "Shannon Zhao" , Subject: Re: [PATCH v6 05/19] acpi/ghes: prepare to change the way HEST offsets are calculated Message-ID: <20250228172635.000027c4@huawei.com> In-Reply-To: References: X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.96.237.92] X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To frapeml500008.china.huawei.com (7.182.85.71) Received-SPF: pass client-ip=185.176.79.56; envelope-from=jonathan.cameron@huawei.com; helo=frasgout.his.huawei.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jonathan Cameron From: Jonathan Cameron via Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Thu, 27 Feb 2025 17:00:43 +0100 Mauro Carvalho Chehab wrote: > Add a new ags flag to change the way HEST offsets are calculated. > Currently, offsets needed to store ACPI HEST offsets and read ack > are calculated based on a previous knowledge from the logic > which creates the HEST table. > > Such logic is not generic, not allowing to easily add more HEST > entries nor replicates what OSPM does. > > As the next patches will be adding a more generic logic, add a > new use_hest_addr, set to false, in preparation for such changes. > > Signed-off-by: Mauro Carvalho Chehab LGTM Reviewed-by: Jonathan Cameron From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 2541D25B698 for ; Fri, 28 Feb 2025 09:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740734808; cv=none; b=h7G57nKG9LnWaqTsDsKnJ0ykvMrlvNVk37OSAtydR6jkrdUnfytbuZc/lTZhZ/kIhksVk6iu+q7U6z7lfF3YPTuUY9NXC9uEdX3IJ/9eyPsYNxZ7vl4bLvLQ71HsWWAUznqmJfMftNFSGZF8YvKsWiu2DYSkupc7tVqyElte6wY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740734808; c=relaxed/simple; bh=LItF/BusLrrc26OL+BucHV4iN652H8zo9JOygXcgBaY=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Lvzt1Ru0RA8WqSPIaJgAIXcorWv+/YVIrtAkx/nACM7V6jUMYyiAgBW1id6TGON9V1lKvLJqv2At3u03Ktsa5fa8SKA3TP+y7ofNBmKGHNIYWpH2JrNW882Q/7zaypyypDqRxOGB5Gq/TsApNsKIshnffbQKL/LVbS/bk5UA4QU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Z42p23K4sz6M4dp; Fri, 28 Feb 2025 17:23:54 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id D26EF140A34; Fri, 28 Feb 2025 17:26:43 +0800 (CST) Received: from localhost (10.96.237.92) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 28 Feb 2025 10:26:40 +0100 Date: Fri, 28 Feb 2025 17:26:35 +0800 From: Jonathan Cameron To: Mauro Carvalho Chehab CC: Igor Mammedov , "Michael S . Tsirkin" , Shiju Jose , , , Ani Sinha , Dongjiu Geng , Peter Maydell , "Shannon Zhao" , Subject: Re: [PATCH v6 05/19] acpi/ghes: prepare to change the way HEST offsets are calculated Message-ID: <20250228172635.000027c4@huawei.com> In-Reply-To: References: X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) 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-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To frapeml500008.china.huawei.com (7.182.85.71) On Thu, 27 Feb 2025 17:00:43 +0100 Mauro Carvalho Chehab wrote: > Add a new ags flag to change the way HEST offsets are calculated. > Currently, offsets needed to store ACPI HEST offsets and read ack > are calculated based on a previous knowledge from the logic > which creates the HEST table. > > Such logic is not generic, not allowing to easily add more HEST > entries nor replicates what OSPM does. > > As the next patches will be adding a more generic logic, add a > new use_hest_addr, set to false, in preparation for such changes. > > Signed-off-by: Mauro Carvalho Chehab LGTM Reviewed-by: Jonathan Cameron