Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp935069rdb; Thu, 15 Feb 2024 23:12:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVWh/kUhEdxY8gJRdlwpAgHjcATObU/jbzVi643H3W+hweR03q3JoUQMCZDDo4PDZKZmXlOQo7TlaasawT0/puqH3Te9o739RxXLn5U9Q== X-Google-Smtp-Source: AGHT+IFjORkU4+iL623WMlq4IkWBe1Lv4i/DZ5U17g2MMF+q/JNIaBUUDKA33teeOa+AGA4eMw8O X-Received: by 2002:ac2:58d3:0:b0:512:55c8:da1f with SMTP id u19-20020ac258d3000000b0051255c8da1fmr2971857lfo.29.1708067573624; Thu, 15 Feb 2024 23:12:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708067573; cv=pass; d=google.com; s=arc-20160816; b=A3GoJLABobmL4LhFrXSnwRLCVkC5HsGhX7D3DIwZhRSTcTKkYhKdnMQGPzMUzazDx0 RSw5a4r+jWVE/ZHPJ0YIlWwFOMM4DMrov6KaV/zzemA5VbvSO9WE8PSXme3rRgUdjDU3 bbEHif2SCL7s+wJDSYUfJAkO7Nr9ljs0iuItAnxrYuyVfFEB9dH2nCAjQcD1wSWtOTLW AXRLd/msGECasUHlYAs4FqfqPwVH+bZtGHdWefGnWWUrhiQTqrWb6x0lvMD8yOb7uufv wVGR4f2x7NM1yNBvkfCbh/69bMFr7C61u667pOqzkZcScO5Fn6e0pGchWUVrXX8B/KPM lihA== 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 :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ATkurgrubpUgh0fShoFCedN3hGiv0h68AvHCnzi4M2s=; fh=6sEa5etQP0Rapmzr/W4yerZr5VGp5LrXbpEzb17uw8s=; b=s3Lh99Wxt5lm5HRKLnRoAxqnoPNDhvfTJWv94k/1KrD3+5g3f8xw4uWZEghyK+bdlX psfkw6ZgiBxs00CIHcfIS6/V/uKEJnUdFRFrX6cBkEnXP9JU0gJYZGx7+6woCQ8nvuDh v/9gMQYUxYEA7Igw83NSG/jqy07To1or/asVfWCE53Rb4kukCkOZu0idSoE1K4aN/FYA BtafxNR4QeCI2EZkGMqmWamiaXr4g0kPnaMoqgQg1QTMe3Gdbh2MCtxns/I2kTFU4SaJ RdYY4GvHqLcV+35ozNiW6VvnPNySarzKhVMqlqPdwTXDR9jAYTLzYRDE1YeMY8uvCisL 8RJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JVteJRDW; 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-68160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68160-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dc5-20020a056402310500b00563d518e9d9si647455edb.147.2024.02.15.23.12.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 23:12:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JVteJRDW; 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-68160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68160-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 36C3F1F252B3 for ; Fri, 16 Feb 2024 07:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C69715E8B; Fri, 16 Feb 2024 07:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JVteJRDW" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 160A517591 for ; Fri, 16 Feb 2024 07:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708067556; cv=none; b=X0ndJLqRtQkJUO4UWxf5sibvVP4MyTUmg+uOSrRWWbDMBjrf3e3Jc+debAQikqStGZFPFRrRsLMO8TuZkTuz0A6o711BnB46PD8JeIL7Ls87Bt0bM9LfyxjCNAoZljBZeLaEtZr8MLmOsbxaPPOossrTLRdQ8qmRcTld2kcQD64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708067556; c=relaxed/simple; bh=JTP5wcwTvZDE4yReHEggzjAdVbfT4Qb7BaniZGBicqk=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=cRRcmQ1MXEm5LAGIxMizgo3FgsEXDp02SbDSCdRlg+VMethp4sfumkxjxxznxzifdbKNRDC+wSrQDJIT5oot1AMpWef2+mL0RiJZNOPlGQ98QDKlP2AudRm8jAi/KO9EyiDlNzz1OrjuJoJgSF/+JwIPRqCwFW33w8sQpP+crrs= 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=JVteJRDW; arc=none smtp.client-ip=209.85.218.52 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-ej1-f52.google.com with SMTP id a640c23a62f3a-a2f79e79f0cso251222566b.2 for ; Thu, 15 Feb 2024 23:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708067552; x=1708672352; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=ATkurgrubpUgh0fShoFCedN3hGiv0h68AvHCnzi4M2s=; b=JVteJRDWpmVz08hXru3lBmNtqRin1NCGBPxmBYfW7SuVjcNV11/qnbpIFSmtyQ+dd2 MRF8R0yaDVPN61mWMKZE8tIS/O6jJyrN9NjZAf/GKeadYjxyeoN3r0DC58UvyWMJ2EM/ 2AjkJtVldUwCO+5n2XX86b98HFbrgEy0Sb/hoQap3G1HDv1NHTGB+o4hN0fE5U1NYMDR p5+Yu4GtNPNrppShTmmzakfEugGPVJSmhVEuIu+mIG5B1v9hIfP4155KTbiH8IvQCe8W OOtsNbW0xMnnSpcYDyWTKsl8jONYgspusDCI6ZJpxbVEZ8WaHDnjIvsv0lYt4ibbTLjd r3Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708067552; x=1708672352; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ATkurgrubpUgh0fShoFCedN3hGiv0h68AvHCnzi4M2s=; b=laiPAHBQsGvNOwAjhMynmgMSgSWVN52feSrvEhxjQrR1fxt80kmsDV/ByaLbgnmbf8 qZthTmrxlhsaO8gMhY2v1TK22PT/DaZVrEJiObxf1AHTKwD1nnrpFIzfQyfHWvEr4U9L GtC6wK90C2FjEyhnyzNstnEDV9Oj1b8s/ChmC6d34LZUv8AxEZg+i/rGL+Cta2Y5qghJ oIdxbz0dUgqcgPnUBLnCMOvoeHtBerBANH4hsh5Dmgmq/BGlWI78RJ6L/Ogw/SoLyLro HV2Besffccd+3ioVJLfQbno2EjZp1cBBY/crQjf3wYSxE5FOyklky/hWitko/4Cb6NqY ksDA== X-Forwarded-Encrypted: i=1; AJvYcCWIBtjbPNnydNU7c0SEB//Bs4Lxo1gmYpeHIFY27q9vpgDHhzFJqjHq3rw/4FeS9yHcyiOV5/F4li+tD27U6j3ge/746r5DPjx31epW X-Gm-Message-State: AOJu0YzFUqyY19gJXO98mcHTRA33KxxnO5VxIDC6d1rQh5SE0YHuOiJV ja5K+Q09843U1BuK14OeLoeh3/i85k1hmBT7nDnsHRw+dkJKk+0oP/IaUJ/s/2w= X-Received: by 2002:a17:906:7196:b0:a3c:7b20:2dfb with SMTP id h22-20020a170906719600b00a3c7b202dfbmr3268891ejk.1.1708067552347; Thu, 15 Feb 2024 23:12:32 -0800 (PST) Received: from [192.168.0.22] ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id tj10-20020a170907c24a00b00a3dd52e7539sm339695ejc.60.2024.02.15.23.12.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Feb 2024 23:12:31 -0800 (PST) Message-ID: <02461595-16b3-4fea-a029-54190e10e6f5@linaro.org> Date: Fri, 16 Feb 2024 08:12:29 +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] clk: constify the of_phandle_args argument of of_clk_provider To: Stephen Boyd , Bjorn Andersson , Geert Uytterhoeven , Jaroslav Kysela , Jonathan Hunter , Konrad Dybcio , Laurent Pinchart , Linus Walleij , Mark Brown , Mauro Carvalho Chehab , Michael Turquette , NXP Linux Team , Nishanth Menon , Peng Fan , Russell King , Shawn Guo , Srinivas Kandagatla , Sudeep Holla , Takashi Iwai , Thierry Reding , Vinod Koul , alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-phy@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, patches@opensource.cirrus.com References: <20240208163710.512733-1-krzysztof.kozlowski@linaro.org> <38e7e80f61f7c67c984735cf55c3dfb3.sboyd@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/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Uea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <38e7e80f61f7c67c984735cf55c3dfb3.sboyd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/02/2024 00:12, Stephen Boyd wrote: > Quoting Krzysztof Kozlowski (2024-02-08 08:37:10) >> None of the implementations of the get() and get_hw() callbacks of >> "struct of_clk_provider" modify the contents of received of_phandle_args >> pointer. They treat it as read-only variable used to find the clock to >> return. Make obvious that implementations are not supposed to modify >> the of_phandle_args, by making it a pointer to const. >> >> Signed-off-by: Krzysztof Kozlowski >> --- > > This will almost certainly break the build once it is merged to > linux-next. What's your plan to merge this? First problem is that it might not apply... I prepared it on next to be sure all subsystems are updated. The idea is to get reviews and acks and then: 1. Maybe it applies cleanly to your tree meaning there will be no conflicts with other trees, 2. If not, then I can keep rebasing it and it should be applied after rc1. Best regards, Krzysztof