From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 527FBCD1288 for ; Wed, 3 Apr 2024 13:42:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e2Zp+Mfm6JT5cv6+JhexrfQq323Qm1o2mlKvpIMtj3c=; b=QG/LQeHnTyS7+h frACtJa6BcSpsPJLdW31U2plXBIHMZ5d84Yc3McBEb5nnJmWHDKQQC+fh7/hy6MBAJvtd/RjtII0R YD/3XQqRoP2UrjQvPoxbolwQtntffJ6AX7oXMCEKurmQu9ND1CafPsPHKhWeL+q0xdURuKCwv/0bC jGeZouxRUctvrGWNQi9oXfGx/faJgScB4TVdcLmNsS12h3qawFtXUxNNb4OAaZi57aHKr9JmkDES+ zux4EwghqsMbyAMuuwN457LsrKGkwqdjeoM2V81jznzTLM9eEjyUOtgJjyyjGcVaAXqSnBqa27G/+ r5nGv98WarI6u0h42uyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs0s8-0000000GGqU-3xwV; Wed, 03 Apr 2024 13:41:48 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rs0s6-0000000GGpu-1HBp for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 13:41:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712151706; x=1743687706; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XHMsc/h/Nm772eO4vH1pvsQEGrFpRDZqz/OY/JDqP8w=; b=B/aMebubQNurL09cjK5C4UI6Lwu8cVtwls3sn4IcTIOi5AqTid0HKie4 d8eYANvY1I+UzAlVelRjRsBBLvUl4+N2MTJRDmzYBYHhSynbQsDWhLtvf 53JsETdBd63xkE26wwWqhF9/opmPEG0dOznAnBMoEzrlJDt2NLaL3ojmG 5zx1vz6/Fo96SpumaCYuoWLPj0KPA0xPsjIgaaNiy7indQI4kU8Oy76Vr 4Gb6WgxYkNIuiGNzJE7LHFlzdNF/UUoP8GP1SkgORxJHYQVock5arXz6/ aQyqPLc4I+yqQMi7/SPkfReDn1dRyeMIdsa8sS1br/dy5gUNZ0OP0h06I Q==; X-CSE-ConnectionGUID: 8NtAm9+PTEO4ZZFGRmlkdg== X-CSE-MsgGUID: zJS+NZgRSJOHPwcxHbMRvw== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="7246708" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="7246708" 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_064146_735203_115EE0C0 X-CRM114-Status: GOOD ( 24.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel