Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2949870lqz; Wed, 3 Apr 2024 13:21:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXlyXncVPiVKBnBZBhnVME3vlE/gsTDVSZ+7irVTj47PmxExjTZ1D0NAZQ11InFgIyhc77a5Abdl1YyZV+0zMfPM4YNre/gN29bPd0Fw== X-Google-Smtp-Source: AGHT+IFdYP7uw/+lzHjvhX5U6G3ncbFcn12/uHTsCnNvzIedQ5AL3vKesZBi23Xr/tDyIdv0u4u5 X-Received: by 2002:a17:90a:bf8c:b0:29b:b70d:463a with SMTP id d12-20020a17090abf8c00b0029bb70d463amr591273pjs.12.1712175675066; Wed, 03 Apr 2024 13:21:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712175675; cv=pass; d=google.com; s=arc-20160816; b=FbXT00MayIb2CjPWFDxQqMLvmyaPqxyNNxUV7z6NSDCfK1VQgIVYDO202nRO4bVBjs bIhukwHt4wXVyKbAcCOdT3MQZxtRIWyaEFDMFcLhTun8DeG3/eGjtt+ncaplZ+7Cje4F J1D12puhdDq7Etv84AAeuVP6gEcMU9Wc5gcKW6ML/DFuoleiamZ6e7IlEwO1PsJdeMLI 8Cq2FWvrjJi1eN1440NOuYrsssJKDtx2COxSOJUY0S+z3FlJczg1ofdfxG/SwU7yUMcw wcS+otBYUjS93rKYYfeLUJqx+ZmlvFl+9nWkaXsicvmR4Yk8+1LE5pDfCXb5SaffU84o WvKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=+IchFRCSZaEaRlXZYqcoSSCZKPaNOqhTsVOJWtGhiV8=; fh=dPkeQC87s8mdrYIy4gp7AZYgxaNYkHsMuJbU0NIDCPs=; b=t7bJmBx29YM5CrhtywwvQ5i9ueTVp0oJaAXa6r7oNmnEdkHEhJrO1cPMV/S1b9K3xO 9nvfZZ6BMa6MOQ0U+R2RLbDs3vDRKnMLvGmwr/MzrL9PRwLaIY42lEdXI6mI8aV868eK +2Rfp/W7OR6Bwo3ihUwEOCybTuEGUkK5Oe/P7ULgob4auAO4DacfeAIcpc2Ac5NoiFag vm6GtlWZPWXHzdFklcq0Z4Ho3faLXhZmhrVl5aLmlDf5bAH/XMbZLefecUvg7HJKABb5 0A0m/XrmpKMcjEXSr7HB0d7NNN0CLRJSyGM6IDT2kGyvLZVwynmDXwXet6S8RDcH31O+ f8mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mKkkZdZ7; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q37-20020a17090a17a800b002a267360ddfsi185957pja.16.2024.04.03.13.21.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 13:21:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mKkkZdZ7; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 658F3B28E84 for ; Wed, 3 Apr 2024 13:42:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E150D1487DD; Wed, 3 Apr 2024 13:41:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mKkkZdZ7" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (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 9CDAF1487CC; Wed, 3 Apr 2024 13:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712151708; cv=none; b=Y0DxoIT7G3BMUpuRdzSKcAkMdJr2kogh0lv3KgIt69lLNM6Ec51YODPmrJ/XEHfJ6QsBAN/bQwsAkjlQMQIGeLdABw5BXad9BTHJcyAvSSP8mLG1upp9+zw/FtTb/FxuZofM0sBRz3igu2amprD1omaj7uFTC3xgn8UEp5qpweE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712151708; c=relaxed/simple; bh=XHMsc/h/Nm772eO4vH1pvsQEGrFpRDZqz/OY/JDqP8w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dI35t118PG4hmVesXX8ZVH+Es2TWiEDlyaPepfAhZtkeoBcXMTDLNNESNuywM8wcQ24/SvoTbz8A1GLqn4fK1I3FxYGxQI8nCi0yw6z9boG2axMOM8uH//xPjRVMLdsdDasjfVePxfGZ4sMdcaUN7n4nlJ6m6qoS1B5eCeQiYhk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mKkkZdZ7; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712151707; x=1743687707; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XHMsc/h/Nm772eO4vH1pvsQEGrFpRDZqz/OY/JDqP8w=; b=mKkkZdZ7Agd9uvtKU+NND0D+nlMUqvfSbsJx9S0GNqUkG3uarpadtXil EHtUrZAfoBsbzk9+IAgff7rruqOQoTJdU/aykbo3FVkUgQqXt11n55W6T nPtIix18kxIFEf4tUzAJj/Q3V9wDJJ2JtPeEhapn74q6U5bc+Zr5aG4p4 BKKEKqJ9Nr7NdoI7FpyELQjQgdhJOFypeyo0CQP8ofmrmRKFIB5GKazji D2XtsohMqLE2jm1XLn/gBb62x4u+kqfn/qrNKJM+Mq0EnPsL5oVoycljQ UnAAyaH1C7PrFjNJWf8SXr+18tBWrlZVvOAj1Hh0wne+3qlzYgvxM0Rq8 A==; X-CSE-ConnectionGUID: 6rzmfy4URiumpcuqEWwdkw== X-CSE-MsgGUID: 3MHezPpETKefc4GXAnTFww== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="7246709" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="7246709" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 06:41:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="915183828" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="915183828" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 06:41:43 -0700 Received: from andy by smile with local (Exim 4.97) (envelope-from ) id 1rs0s0-000000018GC-47U5; Wed, 03 Apr 2024 16:41:40 +0300 Date: Wed, 3 Apr 2024 16:41:40 +0300 From: Andy Shevchenko To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Arnd Bergmann Subject: Re: (subset) [PATCH v2 0/9] spi: pxa2xx: Drop linux/spi/pxa2xx_spi.h Message-ID: References: <20240327193138.2385910-1-andriy.shevchenko@linux.intel.com> <171167575036.187521.17547262230962160149.b4-ty@kernel.org> 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-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Apr 03, 2024 at 04:39:13PM +0300, Andy Shevchenko wrote: > On Wed, Apr 03, 2024 at 02:29:38PM +0100, Mark Brown wrote: > > On Wed, Apr 03, 2024 at 02:07:29PM +0300, Andy Shevchenko wrote: > > > > > Do I need to do anything else to get the rest applied? > > > > All the concerns I have with swnodes just being a more complex and less > > maintainable way of doing things still stand, I'm not clear that this is > > making anything better. > > As I explained before it's not less maintainable than device tree sources. > The only difference is that we don't have validation tool for in-kernel > tables. And I don't see why we need that. The data describes the platforms > and in the very same way may come to the driver from elsewhere. > How would you validate that? It the same as we trust firmware (boot loader) > or not. If we don't than how should we do at all? > > Can you point out what the exact aspect is most significant from C language > perspective that we miss after conversion? Type checking? Something else? Also note, after hiding the data structures from that file we open the door for the much bigger cleanup, and I have patches already precooked (need a bit of time to test, though). -- With Best Regards, Andy Shevchenko