Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1561612rdb; Mon, 19 Feb 2024 22:59:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYJyX407pKGlDZaSrgHgKmR+qnM+6t3BTwFulkvnYMMg7DsL1mgDMeRrl98mdJ8OskvzFcoR8fOB1N5+xq3K//nnLPvjUZ+dilFWldiw== X-Google-Smtp-Source: AGHT+IFCulUNpFjQe3U6Tsoc5ljYbXyp3NZGmYxs+1SO2cNuwyTOaxroFSP4MZiBRpbqRiQkuOJj X-Received: by 2002:a05:620a:2626:b0:785:dac4:351 with SMTP id z38-20020a05620a262600b00785dac40351mr17788735qko.31.1708412394275; Mon, 19 Feb 2024 22:59:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708412394; cv=pass; d=google.com; s=arc-20160816; b=LCgynfI8EcHauJM+dBW4lYZa6kBHxf69jNgvpsU0sxg70f9aieqmjbGIB5FtKSGjSn p8hjaZeADNtvdF/h6Mszd7OnnN+bx+1U/WFHEG/u0BpZ2Ae8yvaSnJIYie2A2XJtwiCa HbUrGWXJ2dXJLfQA2TYV8UYdxh+u6d/65SJCv34v5Lr14jC0C5GK+PisoLsJ7RgD5Ydx Mv872Mmt2DMFXw5uVEFj4kYiM9JIMLhFh5g9qisVd63Ydt3gVGlqR5PduUE7qQoXEq8U 33ohJrB+MP2qDyHw2Vq/lGs4SYIYhQ/H+VrP52AvasOAXuDzr/sUQHV9KTIK/bKfRRdL XCzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TMFT0tsiHgdz9iZN1EKIldjl3b45OLLNs9mRQlVJ+mo=; fh=llFvwwN8XB+WwMtNhKpZ4bg9njQk2WrWe/vG0qkbhbg=; b=tkefTVWTuuE4oCiXOejsPDPlA0CFCjFxfi7TLQLuwaXSEPdyYU8ODKW7LPaoyto/jb ebQjqL9wbfafEi+6zAoJL0vO241xPjyVbAT3u1M0UpdhxC9iiNSowxbL/Cod7LxPHeZ8 a0lZTB4chY6pXda3U24mBZKWfU9xx1RerrGOqR59HnT1LYaWwB8xkVo5nUC3vz8qlmbH 4VK5DyEjMAuLcDo6xIL4BBcrY1d7UnTBqDDV/yq8UPZX47uvRr6pRbjBnwAKHhYKhkI1 xPBoe4z5XPfsYpnFF6jFqzVrSyHDQzPq/lsY+ikx/6BrGtP5j8I9UfzW2XD+IWjpq9bA C2bA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZSJq5wDz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id oq18-20020a05620a611200b00786fe4117fcsi7656939qkn.388.2024.02.19.22.59.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:59:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZSJq5wDz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ECB501C21668 for ; Tue, 20 Feb 2024 06:59:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D58055A10A; Tue, 20 Feb 2024 06:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZSJq5wDz" Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60D895A0E5 for ; Tue, 20 Feb 2024 06:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708412383; cv=none; b=EJESlVjmluOEW/9ykWM9sQ1drPeOyzvyAUX4ygfJoGQlhReovjK1e0fP4K3HH5DfiY066xkpf2x4a43gWaDIAn94e9ePNB6LmZKNp2x6DgIvhqwjQL8ifFKzRrvX2MeTMdYsU3wzobwKwW20hPcR6/hYsoFRO0NNIFRFIeLO8/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708412383; c=relaxed/simple; bh=rujM/o5AjDNJ9lcZkArg6d87J1BhTiGW6Fn0Na9SRI4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Lny3TU00aAOrehVLUaPTe5UQrR+kTzXFN8kT+wMl9P9/YUbrJ8CfIRmVNJJ5qHzTVWyn62aG2hMC0h1ZzzHNGeR15+w1ckD22Ud7o0u5Q5nbGC+81d/OhBj7o2wEvXLeBs+Kg/yCs9ji+lOsO2oaQzVmNgOHEoLZXXu60WvFuqE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZSJq5wDz; arc=none smtp.client-ip=209.85.128.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-60837b7a8ddso18539957b3.3 for ; Mon, 19 Feb 2024 22:59:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708412380; x=1709017180; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TMFT0tsiHgdz9iZN1EKIldjl3b45OLLNs9mRQlVJ+mo=; b=ZSJq5wDztcC0598GPl5gsiiGz6EXEk9rex0SPJx2eekXB7lb++ZTP6xSOjFks2QAwo nJ6i0V4taQiI4p1JSyl0gj1rh7x7edg1C7q20/2vUa3fscaSi73RNzq/Bkr4AOrX3GYi MyUnxCzfAXdj4CD0khJNIWuP4w/o4IRoOi8Iql5tTzLDinlZXuKp6rVg2tui0P2JPyXa RzWemsPBKOKFDnlSV+LhgIo8AU2Rhu+Hco7ECyG6hHDnP5UCZM08mu6nniaXmEIPrb/Q YVkpN9lCafrA1um5KFohruOAD7NS/s+NwvYl6XGi18gXPYzliZarV2qDT6wsWfzUa5oH prjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708412380; x=1709017180; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TMFT0tsiHgdz9iZN1EKIldjl3b45OLLNs9mRQlVJ+mo=; b=bvEDvJ4DFAVY3BYgGNN/V8a3hMggtCzOASr9oCOAoibMEuROIMUpoFmxnyKnGLnCaW ilavjOHaBOWEHrdzOlbkFGyvr4awWQt/iwpt81RWTFAdvw8ovJg7t9NAC0WrkFYSWg2j gDK6r7iI+UknRcVPKxq6MKWvwfR4NLCBKQDpiJ3qrGqErGUze12KE0U/+wPbzAvFXDU9 jMCO0HuH+M0kU0zAecPkcvHkvtjZ4Ey3ZtfZkyfYaqxDFu0ltQagc1sfyqQbJPsIHGlR UwiOT8QGKGfj4ideptczkkX94+2jhb+dshwGc5zC7D46ULs3vAVCRZoZrMboPmizQhfJ 92Vw== X-Forwarded-Encrypted: i=1; AJvYcCVl1aC8c12JCUjhYkKc1G1wZo4zKv6Xw/78ebZEPf5WcuWtcl1B4t0r9/tQZpg/vcE65xsJhT6t6V5q+Zp72R6PrQmttP7OvazlMDD4 X-Gm-Message-State: AOJu0YyJo/bt+libAh36GBIO2ZtDM4b00/qlUuDaEJVy7zX6nMmsdkhj g5YoJ/opnxPoyscEchWOCqRybswg6rXnMC2CET/wUI1VQilL3y1dKd2vSiIKGq4= X-Received: by 2002:a81:ad47:0:b0:607:f679:e370 with SMTP id l7-20020a81ad47000000b00607f679e370mr10840185ywk.33.1708412380376; Mon, 19 Feb 2024 22:59:40 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id u128-20020a818486000000b0060853d574aasm423826ywf.84.2024.02.19.22.59.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Feb 2024 22:59:40 -0800 (PST) Message-ID: Date: Tue, 20 Feb 2024 07:59:35 +0100 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] interconnect: constify of_phandle_args in xlate Content-Language: en-US To: Thierry Reding , Konrad Dybcio , Linus Walleij , Bartosz Golaszewski , Georgi Djakov , Bjorn Andersson , Sylwester Nawrocki , =?UTF-8?B?QXJ0dXIgxZp3aWdvxYQ=?= , Alim Akhtar , Jonathan Hunter , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org References: <20240216135236.129878-1-krzysztof.kozlowski@linaro.org> <488cc7dc-f45a-4c9e-b572-e4a6b3202e3e@linaro.org> <41e371f1-96f4-45c0-9f65-81ed6924b325@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8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qs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/02/2024 17:27, Thierry Reding wrote: > On Fri Feb 16, 2024 at 2:59 PM CET, Krzysztof Kozlowski wrote: >> On 16/02/2024 14:55, Konrad Dybcio wrote: >>> On 16.02.2024 14:52, Krzysztof Kozlowski wrote: >>>> The xlate callbacks are supposed to translate of_phandle_args to proper >>>> provider without modifying the of_phandle_args. Make the argument >>>> pointer to const for code safety and readability. >>>> >>>> Signed-off-by: Krzysztof Kozlowski >>>> --- >>>> drivers/gpio/gpiolib-of.c | 2 +- >>>> drivers/interconnect/core.c | 4 ++-- >>>> drivers/interconnect/qcom/icc-common.c | 3 ++- >>>> drivers/interconnect/qcom/icc-common.h | 3 ++- >>>> drivers/interconnect/samsung/exynos.c | 2 +- >>>> drivers/memory/tegra/mc.c | 2 +- >>>> drivers/memory/tegra/tegra124-emc.c | 2 +- >>>> drivers/memory/tegra/tegra124.c | 2 +- >>>> drivers/memory/tegra/tegra186-emc.c | 2 +- >>>> drivers/memory/tegra/tegra20-emc.c | 2 +- >>>> drivers/memory/tegra/tegra20.c | 2 +- >>>> drivers/memory/tegra/tegra30-emc.c | 2 +- >>>> drivers/memory/tegra/tegra30.c | 2 +- >>>> include/linux/interconnect-provider.h | 11 ++++++----- >>>> include/soc/tegra/mc.h | 7 ++++--- >>> >>> Ended up being a bit wider than just icc.. >>> >>> Looks sane apart from that >> >> Tegra memory controllers are also interconnect providers, so two subsystems. >> >> This patch should go via interconnect tree. > > I think Konrad might have been referring to the GPIO hunk, which seems > out of place. For the Tegra parts, though: Oh, that's right. I mixed up patches. Best regards, Krzysztof