From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 B203A30DD01; Mon, 26 Jan 2026 10:21:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769422870; cv=none; b=cClnnFOR76fZOgJtLMmR+TyAq2jkX6fMp+UNnAYlSZeHnqB1IoIBQOQhULWfe5QmfrDFKClueGk5t3KbdjX055ykkkWiEg5duC/4Te4FKu6HMgBrQ854OE2QShTxtQHwAuShxCq5mh8QgHs833yUs7nok/kwdMS4KTIUmlOE9gI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769422870; c=relaxed/simple; bh=yHsGG1s+KxBZfz9QWTQm5s8Fht+yShIb5G86SJ5W6iE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=amJQ134VUQ6+Os/0r3mKgRP+dTvW4ljqN57rbOH9Nxa56sGpLJPXSySzS1k1KyuFm3fezu8uXLNxJVrn5EKf8azmbf84UYAXtlj4Nk/kxkGoAnUSQBmW9ERJ/kKM68bIRwCVTFNih8RGEbm66U/qogm8EKsEiY0ySjtmmMrXv6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=C22+NQL2; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="C22+NQL2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769422869; x=1800958869; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yHsGG1s+KxBZfz9QWTQm5s8Fht+yShIb5G86SJ5W6iE=; b=C22+NQL2dM+xQ/Eg/S1XH3NlS0jtVzS75dHUOA+FjwCPq+Sim0C4IgVe H1gs6P8vbhATz5XvIIpbXIEkTKTLitE2Qqj6FaFl9WqkNLzHRubL4t37B uW5n5KXXgvtqtkeH4jnrHA2XMoJQ8xfdX92i9of7MBOBpt1oabf83y3Y1 L1hUriZCMtkoapsG8UB+Jhm07L9gzZUYh0bjCAcrM4EO6Agqtqpycy6kI 3tWlTjOckPwEc897p1AuQB5qfNzni4DGsFrofWsRpAghfAqL3sxC0k37W aam4LLgTCJL7wc+z8ho3RICHsfMEEULl0GnyRLxQJEdIx8s9eZHuspoCG A==; X-CSE-ConnectionGUID: 3iHd5sKeSDSq78mUffFs3g== X-CSE-MsgGUID: KKspZLdWRzi7qfSC9VS4+w== X-IronPort-AV: E=McAfee;i="6800,10657,11682"; a="70498298" X-IronPort-AV: E=Sophos;i="6.21,254,1763452800"; d="scan'208";a="70498298" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2026 02:21:09 -0800 X-CSE-ConnectionGUID: YnKlWPcCRcqfgZi/t7/nLQ== X-CSE-MsgGUID: eFzilmYxS/OtDc1LQB6YAQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,254,1763452800"; d="scan'208";a="206878454" Received: from smoticic-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.245.122]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2026 02:20:58 -0800 Date: Mon, 26 Jan 2026 12:20:55 +0200 From: Andy Shevchenko To: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, Alexandre Torgue , Andy Shevchenko , Antonio Borneo , Arnd Bergmann , Baolin Wang , Bjorn Andersson , Boqun Feng , Chen-Yu Tsai , Chunyan Zhang , Danilo Krummrich , David Lechner , Greg Kroah-Hartman , Ingo Molnar , Jernej Skrabec , Jonathan Cameron , Jonathan Corbet , Konrad Dybcio , Lee Jones , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org, linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, Mark Brown , Maxime Coquelin , Nuno =?iso-8859-1?Q?S=E1?= , Orson Zhai , Peter Zijlstra , "Rafael J. Wysocki" , Samuel Holland , Shuah Khan , Srinivas Kandagatla , Thomas Gleixner , Waiman Long , Wilken Gottwalt , Will Deacon Subject: Re: [RFC PATCH 0/4] hwspinlock: refactor headers into public provider/consumer pair Message-ID: References: <20260125184654.17843-6-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Mon, Jan 26, 2026 at 11:13:59AM +0100, Wolfram Sang wrote: > > > I don't like the idea of sharing internal stuff. Why would we need to have > > a struct hwspinlock to be visible? > > Providers need it, especially the 'priv' member. Consumers won't see it. But can't we make it opaque? We may have getters and setters for the priv member... -- With Best Regards, Andy Shevchenko