From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 B8CAE38DFE for ; Fri, 26 Jan 2024 07:21:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706253703; cv=none; b=DRrMHEM4AzjTJ9O1xjAlwPs7mdn5jsWjNfXD80AX44h4OvPYlG3m7N6c0J/525XHzCoGjPcS9klj8wwgK/iquY94jTQeyQvUEOVjSZ10pTSJfNp1P2W73pQjYKAjKIRJdp2TfDrKS9N3EYx4SHyUPVwOhNQ2/ONbsfbU3ti68DY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706253703; c=relaxed/simple; bh=Qqs2cdGj2JKXrK2vdbzBgigcaqwqPehTD4VKYAKqeo4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MjpY/5FIEp7uEKlAedKJNXSrvxfsc446cQT62ihng375xjRT2HFas6yRZfTcUirm/+vVUYoa6oMhhQMAa0pHs+sr0L2DrX45RvXTjadjYa+oxBm74ZjZu2qcSbm58E6BFp6Uog36bS+WiolaohdP8EzRe4ivxd8Ub0uUiiyQ0TE= 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=H5e120DQ; arc=none smtp.client-ip=209.85.221.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H5e120DQ" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-33937dd1b43so32063f8f.3 for ; Thu, 25 Jan 2024 23:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706253700; x=1706858500; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Qqs2cdGj2JKXrK2vdbzBgigcaqwqPehTD4VKYAKqeo4=; b=H5e120DQ7ky1aoAIoS/Sa+JfS7bOFT/O7qQDMq5AKNsaunV+/JqhD3p3KQ0eYrkElD HpREsjix+F7CzqhDI2TDPa74JlQ8q6wOr+X4xZG0n/SXX18XWA7X9xZ7kxVeVIhJ3gLE +67fCREFKr4BGgPJNw2FMbgFCRrHFt8eu/l2NOwE2HSwKXFQPsFpMt21pwmMAzs15vhd QsctlwlM11c3hyo0Iue/OhadjEx0xEB1X0HX2DPn8zq+D/qGGGk9LapSdRkmmXTDIa1M 5KFIQ4rXtCzm5CC04RWtqH6lrGdnvf8SXCsk0NA5bXaV5gJVMBmEopIreb5JQ2OVpX1M RnMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706253700; x=1706858500; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qqs2cdGj2JKXrK2vdbzBgigcaqwqPehTD4VKYAKqeo4=; b=ZWC/EnSUfW7PwwOo8rxJnr67Vhmqlhmu62V3AKdSn7cLjvMFfbUOfTr73HvzmbjfrZ TWyNxX9OO8XT2gw5r/LXqdS1BSrROvE//ms/CFqNmP5E4khEt8RULkunv28sDn8Kc7lw NRaXhlG/onz5pnI4MPHBjkSdBH6n2RgoQxuYZPfamJbnd/fxMAY70kUJUQ6jPk4iup4C NAyxRP373BBb+oA/fJ35PvEppKEd01Xkkd2/6i/dwg01kFV7+4xagGwawXrbwm0gZF15 l8eQe46DYXXiOg9TgLQoDiLLgtJeyOaCKKQfO2RxNnZemL4AXLtxkNEP+NiMX9z0prHk y62g== X-Gm-Message-State: AOJu0YxW4Tb9L2K51rtW/94Pcn0TLmaK96VeJgMbnTTdkEOOQ7uOrc27 ey334H+FFMxmz730aXnlSyC+FywUzDi56k1lP8E5A/H7Drl+b0RpLq6VvoHZS14= X-Google-Smtp-Source: AGHT+IFgth+c5V2TpCXrE0m0JpTlmPOCL1AgrxkX6Qg8BBS3HUskyuuakorYsWB4EK7/vNA2m8s4OQ== X-Received: by 2002:a5d:5cc8:0:b0:337:bd79:3434 with SMTP id cg8-20020a5d5cc8000000b00337bd793434mr834137wrb.64.1706253699969; Thu, 25 Jan 2024 23:21:39 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id bw3-20020a0560001f8300b0033953f87085sm614364wrb.35.2024.01.25.23.21.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 23:21:39 -0800 (PST) Message-ID: <50dc8cf7-525c-4261-b225-7db1f7e5ace0@linaro.org> Date: Fri, 26 Jan 2024 07:21:36 +0000 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 25/28] asm-generic/io.h: add iowrite{8,16}_32 accessors To: Arnd Bergmann , Mark Brown , Andi Shyti Cc: Rob Herring , krzysztof.kozlowski+dt@linaro.org, Conor Dooley , Alim Akhtar , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux-Arch , =?UTF-8?Q?Andr=C3=A9_Draszik?= , Peter Griffin , Sam Protsenko , kernel-team@android.com, William McVicker References: <20240125145007.748295-1-tudor.ambarus@linaro.org> <20240125145007.748295-26-tudor.ambarus@linaro.org> <01d24044-6cac-4034-a9de-5b69c2dab139@app.fastmail.com> Content-Language: en-US From: Tudor Ambarus In-Reply-To: <01d24044-6cac-4034-a9de-5b69c2dab139@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/25/24 21:23, Arnd Bergmann wrote: > My feeling is that this operation is rare enough that I'd prefer > it to be open-coded in the driver than made generic here. Making > it work for all corner cases is possible but probably not worth > it. Thanks for all the explanations, Arnd. I'll open-code the op in the SPI driver for now. Cheers, ta