Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp151551lqr; Wed, 5 Jun 2024 01:40:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWn/hPC0SFMGf4a/8HUtaGbfkdzr1LVFowJ2jilfq7UP+TMaV6kdBLYOzd27xn3Q+IwAz2k8xnVH+qBafOi+7dM9bXn9S8wpPmnBZHSeg== X-Google-Smtp-Source: AGHT+IGvO0f01WCxXk0UxQcUvp+bvXllAeXM0oT/AuDCghe6UWSugfB0l7bpkDZxqSnumRXQNNU8 X-Received: by 2002:a81:4520:0:b0:627:8791:5b3 with SMTP id 00721157ae682-62cbb5dce50mr16763687b3.44.1717576845600; Wed, 05 Jun 2024 01:40:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717576845; cv=pass; d=google.com; s=arc-20160816; b=H6AuaOzVhc8LhSrPhosSBAFR+6BED8KqT3D/aiIqed/V9r44ATY19S+AD78B1BH+X9 umZfdQcfU1cd8DOSPDe7HalTMNkxm+WJeJkxWm0hzDl++VsOzQ6K2IuRgpBoJcMdTURf DM43XYuFpR17hb42BTWSQy6kQEDlAkxJSNN1gzUpsCk9ecQRlfTApyIqr8O66izreuwn inaaV6posSMlWk5y9LYoWEzYEniQ0zGR2jY++Fi7iQpo/Ve4o9IMOq7+Ujv+RfZnMycK nkg2CbuEfJtx2WgSjgHeyrwaleJ1eDTXyCXh9e2uiEi0DSUyQkkeVY8jUJ5s/U6s6Vbm H9Gw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=zm/IB2pZRjDEY+/qXL+rvGl3mVuup+OEPMkOxVPteGo=; fh=d6KJG2AwsnH1p0s8opR5joVRbnWUGJ5zXF0Rn06EGsg=; b=YZGwmzztXUkfF4HI2b2WGlSfSz+bHdsViVoinPiUcFzLnK+2bAKH24kzbz3L4oKGFY 8DL+vNdroauxGG1/eeJ2g4vbPTtf4XRkkkVVn66ksqDMU4QsZ+jkXVZ9Qktx4ux287jt wix1uOYPh81q+0qBj5E//458LRu6JWatV6P3SJPosVYfyAHfaTS23Pp8BA2VNefZsvqI 93ZWZYRsY6q0ci4koaU1UPg7CIULPD49Ab5MMmA+SELGJGSt3fI3n/rueggJclu6ugEC 2CawHigYMS989+GxHyuVOj9IT1Y1IprXTDCj2xWJf74jg2Ehuq7daVwDbDwv5qVgbUhV bQyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M8Ol6eQ8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-7951cf48315si277656085a.414.2024.06.05.01.40.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 01:40:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M8Ol6eQ8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202026-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 292D11C22D0B for ; Wed, 5 Jun 2024 08:40:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C09BB1946CB; Wed, 5 Jun 2024 08:40:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M8Ol6eQ8" 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 E35EC1946AD; Wed, 5 Jun 2024 08:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717576837; cv=none; b=RQtbxKCXygHkK1G2wK7QnpBw23JfZuSuwAQVGDe4B8CvnAa5m3UhL7mXKJPoFVWXfCHKzlIox/Smv65o3gzUoVLqMfURp9jBRT0I68Ch07zzPrxTXPpGgudM25AwHTgTLbEQFi4SbEDDp2A7thVk6w6RgelbXLqV0S7gGcWOdnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717576837; c=relaxed/simple; bh=SSuUeQbO2I34BDzHIPG6kv2UTPDB/m4P39TM9c87s7U=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=gFr4KAVAo69vEJEsk1kc4/rCvbYj2Awxg1pybNS+YrXKxVu2d03MBICfRVkNgAFVQvb2IlMC3hHbWMiLQhGyqN3Udrc80eSz1IDLvLXpNbQtWOWUhk/BWww5scBRf+tXzifGGWNorWsfjqiGskz8Jy9jGIgGLFYnkzmYgPCY5V4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M8Ol6eQ8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D6F8C4AF07; Wed, 5 Jun 2024 08:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717576836; bh=SSuUeQbO2I34BDzHIPG6kv2UTPDB/m4P39TM9c87s7U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=M8Ol6eQ8uwNDtxC0NQ5T5LtnOoyj9T/kgJ15LXylZws9yVCogCgIqt1iRnAu70HqR EKgizvqOq80Myld4yIAl2s2Qc3lBefOF0J+opuYC/n2F3LB+uM7GER6A3GSLZsFEFq GL0BcmY1L79oanQSiOMW3z6Y655VQCxMElhWuH+ctMhXdj7cAzzeVsvc54z9WxTsT/ 8GxqXFvo6yzQKV7qYAa0y7xP4v1RbLnYbRyCcikOuuZcvlZrqTsmXwcCDE3LD2VHsD DEf3GYbh7jo0TmM/Hq2dZwwo4K3lLH0r6xS5cbaOmhnEfdVL7xpnkeqY7Zqj9Euoft 2ED/w2eiEXVSA== Received: from disco-boy.misterjones.org ([217.182.43.188] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sEmCA-000r52-Af; Wed, 05 Jun 2024 09:40:34 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Wed, 05 Jun 2024 09:40:34 +0100 From: Marc Zyngier To: Lorenzo Pieralisi Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Robin Murphy , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, Fang Xiang , Robert Moore Subject: Re: [PATCH v5 1/1] irqchip/gic-v3: Enable non-coherent redistributors/ITSes ACPI probing In-Reply-To: References: <20240123110332.112797-1-lpieralisi@kernel.org> <20240123110332.112797-2-lpieralisi@kernel.org> User-Agent: Roundcube Webmail/1.4.15 Message-ID: X-Sender: maz@kernel.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 217.182.43.188 X-SA-Exim-Rcpt-To: lpieralisi@kernel.org, linux-kernel@vger.kernel.org, rafael@kernel.org, robin.murphy@arm.com, mark.rutland@arm.com, 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 2024-06-05 08:14, Lorenzo Pieralisi wrote: > On Mon, Apr 22, 2024 at 10:42:19AM +0200, Lorenzo Pieralisi wrote: >> On Tue, Jan 23, 2024 at 12:03:32PM +0100, 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 but it is not mandatory for designs to >> > wire up the corresponding interconnect signals that control the >> > cacheability/shareability of transactions. >> > >> > Redistributors and ITSes interconnect ports can be connected to >> > non-coherent interconnects that are not able to manage the >> > shareability/cacheability attributes; this implicitly makes the >> > redistributors and ITSes non-coherent observers. >> > >> > To enable non-coherent GIC designs on ACPI based systems, parse the MADT >> > GICC/GICR/ITS subtables non-coherent flags to determine whether the >> > respective components are non-coherent observers and force the >> > shareability attributes to be programmed into the redistributors and >> > ITSes registers. >> > >> > An ACPI global function (acpi_get_madt_revision()) is added to retrieve >> > the MADT revision, in that it is essential to check the MADT revision >> > before checking for flags that were added with MADT revision 7 so that >> > if the kernel is booted with an ACPI MADT table with revision < 7 it >> > skips parsing the newly added flags (that should be zeroed reserved >> > values for MADT versions < 7 but they could turn out to be buggy and >> > should be ignored). >> > >> > Signed-off-by: Lorenzo Pieralisi >> > Cc: Robin Murphy >> > Cc: Mark Rutland >> > Cc: "Rafael J. Wysocki" >> > Cc: Marc Zyngier >> > --- >> > drivers/acpi/processor_core.c | 15 +++++++++++++++ >> > drivers/irqchip/irq-gic-v3-its.c | 4 ++++ >> > drivers/irqchip/irq-gic-v3.c | 9 +++++++++ >> > include/linux/acpi.h | 3 +++ >> > 4 files changed, 31 insertions(+) >> >> Hi Marc, Rafael, >> >> I would kindly ask you please what to do with this patch, it still >> applies to v6.9-rc5 - I can resend it if needed, ACPICA changes >> are already merged as-per the cover letter. > > Hi Marc, Rafael, > > I would kindly ask please what to do with this patch, rebased to > v6.10-rc1, > I can resend it if that's preferred, please let me know. Please resend it with my: Acked-by: Marc Zyngier and Cc'ing Thomas Gleixner. Thanks, M. -- Jazz is not dead. It just smells funny...