From mboxrd@z Thu Jan 1 00:00:00 1970 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 70E673F54C6; Wed, 1 Apr 2026 10:54:19 +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=1775040859; cv=none; b=gNcGtnMBPOHCD/CjhSSRCx0JEPr+HAsT8G7/pUrr7vMriIUBCEPw4TSBHAYHepsr3wkcx1yMNO77ZMNK9ScdIE6V7RCy9YZqqh2pPPYYSezU2sjnqWG+2+pjSTNYLs2CdlO4Djdw5dDEx6uiPX3qsQUJ8KbuGs4cNN+uGfUqWOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775040859; c=relaxed/simple; bh=c/LwPMidMXeGEgBeIhcANAS95jIz+lAK2IfRQE/D1Ao=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q9MhKd2p9/ZoaRNl8f4+4qc6GKhcIbafSV89r1FwTGXPSG6qLW5VEx2AnLnbkXpXva3bN3LMSIUJZrSNimI/efG71MRjTxabXr9LENpOY9WSxUVbYhbt68IntfKtrpQ0+RoEHcGwvJkRivBlcXe++quth+qyFWnS00fUAXreqK4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j5Usy8QC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j5Usy8QC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93B2BC4CEF7; Wed, 1 Apr 2026 10:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775040859; bh=c/LwPMidMXeGEgBeIhcANAS95jIz+lAK2IfRQE/D1Ao=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j5Usy8QCOvsTwa9tnSOE71kUJJvTwCL0PV93foukgmCWeYAKj8KeLuXRAgM5DdIrZ Hc4yZ3LWbCs6TYLUsa0iDXKMUW/mrE+KK+jUueZP/d7mel0sP4b/w95/AqqxwHmfUY ImVm0zQ9UBet+ZGEICa4+Opd43FC7hZgSlImoxXS95gcaITnV1D0hlorTjfUvcL9Hf dfDstJTCQqU1j7ONexbGbl4JV2SK3fVAtmwByjy1eFsMocHsfYDebypYMpSpBC8F+E Zf2Zj22Va9Cc6uIh50PTAu9dOBx3+Yu8hUhH4cvjVsCOT4bYO7PFDVw4ETel1GImZ5 oob/6SFK0/qxg== Date: Wed, 1 Apr 2026 12:54:16 +0200 From: Krzysztof Kozlowski To: Daniel Palmer Cc: robh@kernel.org, saravanak@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] of/platform: Don't include reserved memory compatibles that aren't needed Message-ID: <20260401-rousing-stylish-toucan-44bddf@quoll> References: <20260331215735.2783770-1-daniel@thingy.jp> 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=utf-8 Content-Disposition: inline In-Reply-To: <20260331215735.2783770-1-daniel@thingy.jp> On Wed, Apr 01, 2026 at 06:57:35AM +0900, Daniel Palmer wrote: > There are a number of very platform specific compatibles for reserved > memory that the vast majority of people don't need and they waste > 196/200 bytes each. We don't want #ifdefs in the code because they are more difficult to maintain and review. Following your approach we would need to add such ifdefs in multiple other places, so I am not convinced it is worth. And this file should not be having different rules than rest of drivers. Best regards, Krzysztof