From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 283AB19F10C for ; Thu, 3 Oct 2024 14:49:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727966995; cv=none; b=m/0FKN2HNw+HIWF2fhKc46HGSB6W92Rrfgd4SJ+zzBCky2KQH9JThFK9g0xTfMBB+R3SjKeVDGR7mcTzZjy5fBohEj+ZUTrARrfEramcl3WrMhk6Uw7bNRPf5GLZnkA9+1hyCkWhNY1KMo5uMB1LVIwuz/kM3YIdHpmSs9jamdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727966995; c=relaxed/simple; bh=YSJKGbAVsaG9FB5YYybhcFMUlGKkb5YfLZFQUI0JNHM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ErN1fUJSgBCljlOh/R+Y4AkQ0XsVH3emuczPYUD7m6reSZgo6w37bH8ZgmZNtabp/eyfXhrE7zLwtjFnjauErINp/g25vqpqYTMbL/7bpkGYsFWBovY7P9b5iqBOe8mDZuDri9keE2/S0VighYz9+YIVzYQiwUt+sc7l1P03FRE= 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=XCR/1Z3l; arc=none smtp.client-ip=209.85.214.177 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="XCR/1Z3l" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20aff65aa37so8296005ad.1 for ; Thu, 03 Oct 2024 07:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727966993; x=1728571793; 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=WdndKVp/SXRSmiqlbx9yFx2IrKrWcsly5j+I0V4+Xpc=; b=XCR/1Z3luNu4iyG21zC+1hPOpD4cVY4SOxG7ZE14jKuAVKUszIxCEsp99KJRY2STCM BisslfPzFWWF5E+9EvZZNQFdFS/DajbQSiy0a3fRAEwcrKsLsX+Q014Q4exDwjZV6eHe xTFAk+5TEvT4oWvfm4No0i+D3IirBtDvQV29qIluZRJQ7RipFJM0jzruT0bifzV0r9me nrcRKlv9SMTymGnU2bRnYBcwCSvZv2mSboqoEbLBf4mZbRP+c8nFfljxlEXNPqPmNPCR +DQ8h6KvJpgHAQqaLThzM6qzCl9WwTSIGp84ZU1U1hmzEj+2bzNUuuILnmU/FypdMY5W u74w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727966993; x=1728571793; 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=WdndKVp/SXRSmiqlbx9yFx2IrKrWcsly5j+I0V4+Xpc=; b=v7LX2TrsdnHJvOaSR+Cwk6sHF5lIXAc7w2bZAHpexWL/H/YqRGaKFQ0yfwNX3dXI/y eZV5FX4BNmqUsAtSgFTG4uJT9itc95pScoDiZdnbPR+8acfBWhnVSs4trZazKaMUkIME 71/N7sSiA3zAgcAIb6gEWBN/Lek9kpw49hVgYWPleOunitHMZWwTwNU8q2KPOxGQxO4r CeoyydvojgzdgeBGu1XbLP3N6xeUv2O/5hm0CEREA66X/Y4j/WneFRiuhZxib7qxqMhi VWLLeyGS2UbTWZv9TU4xXBH+Sm7QavOUWEqOGLoc2wRZdSg7jzWrG5DlEIXuq/YRc7hN ssgw== X-Forwarded-Encrypted: i=1; AJvYcCUtL2Dyn5E8lC+uAtETdusRac4x6avz8CYGZSzZrG3VYn+oBG6hinNh5mGF8OpA8q4YoqN/A/7q+g==@vger.kernel.org X-Gm-Message-State: AOJu0Yy9Ljapkyqt6i5hWmQYQqjdWjmx0iDzFKZpp33ZWJYbsYPWt3yV 7NGs5TfaPP45Z7nf2y6Vmjz/NDeJAUBhCfInzJRizmptmeZzySMtV6kLDtnt5S9GuWyXQ5/i3VF H X-Google-Smtp-Source: AGHT+IGo1/5wmvT+S3lgxo2dZaET0mITukuMWSSrKrQoA9kwkNrpn/E6uNgdsnyYgFqETska12PKbQ== X-Received: by 2002:a17:903:1105:b0:20b:b455:eb72 with SMTP id d9443c01a7336-20bc59f0768mr101644085ad.8.1727966993424; Thu, 03 Oct 2024 07:49:53 -0700 (PDT) Received: from [192.168.0.4] (174-21-81-121.tukw.qwest.net. [174.21.81.121]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20beeee42f6sm9722015ad.123.2024.10.03.07.49.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2024 07:49:52 -0700 (PDT) Message-ID: <238ace80-c5b4-4c8c-bcd9-8a06f99a3aa7@linaro.org> Date: Thu, 3 Oct 2024 07:49:50 -0700 Precedence: bulk X-Mailing-List: linux-sh@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 07/10] parisc: Align prototypes of IO memcpy/memset To: Julian Vetter , Arnd Bergmann , Russell King , Catalin Marinas , Will Deacon , Guo Ren , Huacai Chen , WANG Xuerui , Andrew Morton , Geert Uytterhoeven , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Richard Weinberger , Anton Ivanov , Johannes Berg Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-alpha@vger.kernel.org, linux-parisc@vger.kernel.org, linux-sh@vger.kernel.org, linux-um@lists.infradead.org, linux-arch@vger.kernel.org, Yann Sionneau References: <20240930132321.2785718-1-jvetter@kalrayinc.com> <20240930132321.2785718-8-jvetter@kalrayinc.com> Content-Language: en-US From: Richard Henderson In-Reply-To: <20240930132321.2785718-8-jvetter@kalrayinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/30/24 06:23, Julian Vetter wrote: > -void memset_io(volatile void __iomem *addr, unsigned char val, int count) > +void memset_io(volatile void __iomem *addr, int val, size_t count) > { > u32 val32 = (val << 24) | (val << 16) | (val << 8) | val; Mask of val now required. r~