Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp682441lqd; Wed, 24 Apr 2024 13:41:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2LaVYjpmC4YJ6+F/ML/CoH/uIS/6+P80V3e4FfNk2VNT72nbXV/PYUVmehek3vbiAtxoicAOd5gMhzwR0+o+CaoWSRlrygFwL//w8ww== X-Google-Smtp-Source: AGHT+IHnzfCrIo8Zw3exnnuPTIb9Ldjfyxp/rupcd2exAlK92rwXLqeh1e1oLxpMCdfbFJmaiTTj X-Received: by 2002:a05:6870:9714:b0:22e:bd35:d3fb with SMTP id n20-20020a056870971400b0022ebd35d3fbmr3865389oaq.22.1713991279431; Wed, 24 Apr 2024 13:41:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713991279; cv=pass; d=google.com; s=arc-20160816; b=PCDGRDb93X0rUNQAKp3IIgi72y+cazJQQ/JKF7eVEfM9T4Ge6XZfLrv1WrvaQ25j3T 41Btnr/8celDdNkgBJ4sRkRCJVQ25xtLjkCHEOsEJW5FqsWLDI40c9+ob+abdZdVgUQD YPlo0g67odKB7uqoUYTIXUmYMbfbMWgnDzPF3529aS/89QoNGh7WipOqYaZkCTbLXElR YObbwx6fpmJOPAg+Nbp7+r5U3OWSqYE2zQqr+STQ67m6mc5zaTXlavVizOX2ONztCxls Waf3LYVJecDLoYquxwQ1LIu8+9eWb9Vjoevs0TrHbKZjm2ImxSbGKGgeHtOvT4oQKnO1 Oq+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=BcVSfVCvxkKUr8uemCHZqUhcI9s8H5s0k1AUhxXVg1M=; fh=nUYrob1w9kF3xL7HtroJ2N7Nf62hb1IJOKnkYI7Svps=; b=djMKHSw2gHkdtzAp7vrDM1eFHq77FDMurAaXUmyiIPFJB5gPup3tBTbOIwm7m0GqqT wSae/BLxmh26EG1oW2v0mEHVbfTfj4fq+Gt84rm96cnINUiySN/ktAhS32ecvjs93RT9 WXuayu093ON55dkW2XD/FPgNCFM4xeXiDoyGy0V8icdchab7E9klCJ40SGQWK7C3CQgd UAawt7vyHnAV+BdNICZkQiu4ljAAb4avPGDLAhrjhKtD1vkho9d3GE8Ct5lXYWhSHO8A 6LhNUnou+wC97TDMHZvI2HjCN0X3vAFbR8Z4ONcYhz3X+uVnbU1LesxrtPUlbZ0IG0Pk Cw6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ghiti.fr); spf=pass (google.com: domain of linux-kernel+bounces-157678-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157678-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t12-20020a63eb0c000000b005cdfb84720fsi11774980pgh.857.2024.04.24.13.41.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 13:41:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157678-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ghiti.fr); spf=pass (google.com: domain of linux-kernel+bounces-157678-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157678-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2854CB2C14E for ; Wed, 24 Apr 2024 20:19:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D1E013DB88; Wed, 24 Apr 2024 20:19:24 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 90D9113C9C6 for ; Wed, 24 Apr 2024 20:19:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713989963; cv=none; b=rJtLk6bNbAHLZ6KRTRwhEiptqfSv/NPsWsiFcqCdJaYZ6ymcDMkkYHx2xpnZWZsymWC+kpQqsryiuTnKVXMRnGESjGWA1jvAJAL5XdubGqQdBYKoLwAiWOJXsUM/vFBZh5ysJVFhf+ztjjNyBB2ucLQU0kfOMRVFusT/p89Axzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713989963; c=relaxed/simple; bh=lM6Zi1R6SzwMyzjHnYSWzYDH7inurrGkPEDar0BeHYI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oC05of7l40TKO9MPvDEjh5Z/b4kVO/Jl1ONkwzpV9+b5vjH3ZwEowy9VC4B+7/9PHygKbbOgFrUC6T4vbcIXrjXtaJGuZ5yxqM49DDHDK20w6Bpr3p/QMjhzWyBumoZ5+bOmbqdIb5yGi3HsRmus4kk77pYhrx3QAH9g6yUjpRg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr; spf=pass smtp.mailfrom=ghiti.fr; arc=none smtp.client-ip=217.70.183.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ghiti.fr Received: by mail.gandi.net (Postfix) with ESMTPSA id 2AFE140003; Wed, 24 Apr 2024 20:19:18 +0000 (UTC) Message-ID: Date: Wed, 24 Apr 2024 22:19:18 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/4] cache: sifive_ccache: Auxiliary device support Content-Language: en-US To: Samuel Holland , Conor Dooley , linux-riscv@lists.infradead.org Cc: Paul Walmsley , linux-kernel@vger.kernel.org References: <20240410232211.438277-1-samuel.holland@sifive.com> From: Alexandre Ghiti In-Reply-To: <20240410232211.438277-1-samuel.holland@sifive.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: alex@ghiti.fr Hi Samuel, On 11/04/2024 01:22, Samuel Holland wrote: > As of commit c90847bcbfb6 ("cache: sifive_ccache: Partially convert to a > platform driver"), the cache subsystem binds a platform driver to the > Composable Cache's DT node. This prevents the perf subsystem from doing > the same for the new PMU driver[1]. To allow using both drivers at the > same time without conflicts or module linkage dependencies, attach the > PMU driver to the auxiliary device bus. While at it, prepare to use the > auxiliary device bus for the EDAC driver as well, which significantly > simplifies that driver. The actual EDAC driver conversion has to wait > another development cycle to avoid dependencies between git trees. > > [1]: https://lore.kernel.org/linux-riscv/20240216000837.1868917-3-samuel.holland@sifive.com/ > > > Samuel Holland (4): > cache: sifive_ccache: Silence unused variable warning > cache: sifive_ccache: Use of_iomap() helper > cache: sifive_ccache: Export base address for child drivers > cache: sifive_ccache: Add EDAC and PMU as auxiliary devices > > drivers/cache/Kconfig | 1 + > drivers/cache/sifive_ccache.c | 94 +++++++++++++++++++++--------- > include/soc/sifive/sifive_ccache.h | 8 +++ > 3 files changed, 74 insertions(+), 29 deletions(-) > I took a quick look and I'm not sure if the whole patchset is a fix for 6.9 or if only patch 1 is? Alex