Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1525785rdb; Mon, 8 Jan 2024 01:52:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHKxymscRR0cjPKtC7AhCmtnVF4OCjwQA1q8RMbZixXuIEsk9/k3gT0QdcAyfFVzUDbo2c X-Received: by 2002:a50:c012:0:b0:557:ba20:17c with SMTP id r18-20020a50c012000000b00557ba20017cmr434879edb.42.1704707552711; Mon, 08 Jan 2024 01:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704707552; cv=none; d=google.com; s=arc-20160816; b=o3rQMY+XD2y0w8ufVSsb2A5LNHlB1yS/i304MvP1BQFKjZb1yDtp6kp3dP+7nfS5ES pyI3IGcWSy1tHP2VVE9iE+bsZKrkXZh6FAEkVRBJ2lMzu29WoCRtaYr93DYdRqUq8Uln 6QdgOYtz0St3k2ad1ejHcI2J1WrHT1MxZTdGmc6EmGBhrEUpu6sKmyG4zYOpOZv5ZZmN AUZf0cJ4euKbxtkIMCtfz4cJphjYPJUoqR0GRk4Ki4wj6m27MGQDgoObtyuGGJPGn3xB 2ICn7J++htOGN4qnUA72hRLHKa1YkJFu6n78FBu9Rao/BAPJIqcXZ3el+zV8D88otoXA YvMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature; bh=Up15g9d8mMLNT5Nz0V/2O/snc7ijMtps70SfrvppRaE=; fh=nqCAEgswBK1U9iwPhscgUX0IxdupzXoW0ixSwhUY1RU=; b=Yw3HsODdVPP/stsDhAUY4R6MrmxowjwLSkxo4FP5jr4/FBZLEokRoe9CqFS1TYFcgu +JRhEhF8vAyRe23+vs9Jgw8BOnaYIG0SRu7ZuZY9+5ghcbOyclM3lKOQAoEGZgSBTED1 gZJePRd7kVXmyE1JvjnAp5pHGfQ+eJetfb200VK6olEFVu/J1mFMAgOgNTDa7QOBSUwc IHtFhAzIriS1oTzoFTq7nNla+CVW0mkxkqD1jpYeYHIpgnzDGBQn+EHh+b1CvGC0lUD/ aJ47OBDTuAxGp7zkcP/58ewOnybyGTB1dAS4+ENB7z17f7PQ75ZJ0WTfjg5j1+vq/65k hA6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EHH+C9VQ; spf=pass (google.com: domain of linux-kernel+bounces-19302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s1-20020a056402520100b005521b594eeasi3139072edd.438.2024.01.08.01.52.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 01:52:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19302-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=@kernel.org header.s=k20201202 header.b=EHH+C9VQ; spf=pass (google.com: domain of linux-kernel+bounces-19302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 7529E1F22197 for ; Mon, 8 Jan 2024 09:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA22D12E73; Mon, 8 Jan 2024 09:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EHH+C9VQ" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 010AC13FE4; Mon, 8 Jan 2024 09:52:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66A6CC433C7; Mon, 8 Jan 2024 09:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704707543; bh=akYUu7zgTnARxgKa2BkHmXO+XpLmFkPyFbtYGz0X9jY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EHH+C9VQ0fPHQWw3Q7a7xpBuBy9fsV7MaHI+N5O7PKjPAY124CJSd6tDxEksbqRQH +ZTM+TPF45DinLWT/2/SkMuQ/4ypVaW/TX5O1uEXwyATWGVw2/u4K+9XF3/vMqPxdT SiJI0uYtjxm8gdW5af+RCo3OixIymzEXU5kQQPweyfm1HoP3o2wgrcSnKYjtA3KPst ITYBl+Nu3o/zxg7CHm+fwnetxdsSA8a4y34SQ+vu5Uw0fEQtQxbcg/NVlpqYMxp3K+ xyEiJKoAGA3gJS/Vce1ksBzAEBnmE892tJiViczdSTxS13detuQjDy2GE9fB1M+RQX s0PNZpi8yVxBA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rMmIu-009lGE-PW; Mon, 08 Jan 2024 09:52:20 +0000 Date: Mon, 08 Jan 2024 09:52:20 +0000 Message-ID: <86bk9w9mp7.wl-maz@kernel.org> From: Marc Zyngier To: Lorenzo Pieralisi Cc: linux-kernel@vger.kernel.org, Robin Murphy , Mark Rutland , "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, Fang Xiang , Robert Moore Subject: Re: [PATCH v4 3/3] irqchip/gic-v3: Enable non-coherent redistributors/ITSes ACPI probing In-Reply-To: References: <20230905104721.52199-1-lpieralisi@kernel.org> <20231227110038.55453-1-lpieralisi@kernel.org> <20231227110038.55453-4-lpieralisi@kernel.org> <86il499wtf.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: lpieralisi@kernel.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, mark.rutland@arm.com, rafael@kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, fangxiang3@xiaomi.com, robert.moore@intel.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Mon, 08 Jan 2024 09:43:23 +0000, Lorenzo Pieralisi wrote: > > On Thu, Jan 04, 2024 at 11:12:28AM +0000, Marc Zyngier wrote: > > On Wed, 27 Dec 2023 11:00:38 +0000, > > Lorenzo Pieralisi wrote: > > > > > > The GIC architecture specification defines a set of registers > > > for redistributors and ITSes that control the sharebility and > > > cacheability attributes of redistributors/ITSes initiator ports > > > on the interconnect (GICR_[V]PROPBASER, GICR_[V]PENDBASER, > > > GITS_BASER). > > > > > > Architecturally the GIC provides a means to drive shareability > > > and cacheability attributes signals and related IWB/OWB/ISH barriers > > > > IWB/OWB *barriers*? Unless you're talking about something else, > > IWB/OWB refers to cacheability, and only that. > > Yes, it should be expressed differently. Unfortunately this sentence made > it into the kernel with the DT counterpart - commit 3a0fff0fb6a3 log, > apologies. Oh well. At least please clean this one up when you repost. [...] > > > + if (!madt_read) { > > > + madt_read = true; > > > > Huh. Why do we need this hack? What's the issue with accessing the > > MADT? Can it disappear from under our feet? While we're walking it? > > It is an awkward attempt at stashing the revision instead of > calling acpi_get_table() repeatedly (and from multiple files > for the same reason - ie get an MADT rev number). > > Side note: get_madt_table() does the same thing and I followed > it - I am not sure it is very helpful either (or maybe > there is something I don't know behind that reasoning). This was introduced as part of 149fe9c293f76, as a cleanup. Not a great move IMHO. M. -- Without deviation from the norm, progress is not possible.