From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [62.89.141.173]) (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 685731CBEB8; Tue, 1 Oct 2024 19:51:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.89.141.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727812272; cv=none; b=gqZtcVxYQtsg2M6lydghhFaWYI2XBeTYuSzpsOCSoot4rqv/BKirwdVUGvNjk2/vQdjh7oOhM0HNM95UjlONodu0HQqtyYkd+mW+6ZRk3oQjqKY2fIPXGfoHTQINAnubU5iQO9th7C6BWOa9R5s6ai2FiK1FTVg12T7WuKEnRiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727812272; c=relaxed/simple; bh=tPlRi4Bi87jX1gVbhtJhD3MayckC/4ReanlEE9xh84I=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Lh7Uqpl3LX4spUlaaEoTux+1gjka09+2Dnvz/JCPKOyzJVUNxFWXQf5gZItNGoiF6gujjkSDJEPW5JjTgoRWBGqbohfoqQgx/mm6Lb0qmYGM5Iv+jeINXXnxw7v4M0MevuoKRE1gm/Tx/DTuuY6h+jpkuvq078rvHjEhry+VCDc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zeniv.linux.org.uk; spf=none smtp.mailfrom=ftp.linux.org.uk; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b=KEeIkkB7; arc=none smtp.client-ip=62.89.141.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zeniv.linux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ftp.linux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b="KEeIkkB7" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=+lt7Yca3Kr9BEe3h8nZXT9g7vBymkVobPcv5hVKD+qY=; b=KEeIkkB7fN1QETdeiHperh9II3 Tiq7nUdIopTElXofL9lnm0mX2ZLoqWxEG33mI81bB3UrE76cZXz49oDM0c5CbN+GXdPtkRCv0aHtZ ZKNQF5nl1Q0ouBBXOZI6aLuwxldm+rVEaGtT2A4Ls8WsXBGamaE2C/TqYWlx8cRyNqD2JfY298f1r EgID1QIsY2jGBsm+B6gWvQR/U7XlEcLbWnp7ZO0URbcMzPTCx/4pwKuoBc32TO8pmWdzEF9Bcjk5Z 6sOaHLsqdipzgZUIvGvyEsQ3ribGHG/z7ySbMqPpWwLSCUxbM4I8I7a25bwvEH+i06pd0t0iAxD6l wvGDySKA==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.98 #2 (Red Hat Linux)) id 1svitn-0000000HLsL-1PEF; Tue, 01 Oct 2024 19:51:07 +0000 Date: Tue, 1 Oct 2024 20:51:07 +0100 From: Al Viro To: linux-arch@vger.kernel.org Cc: Linus Torvalds , linux-parisc@vger.kernel.org, Vineet Gupta Subject: [RFC][PATCHES] asm/unaligned.h removal Message-ID: <20241001195107.GA4017910@ZenIV> Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: Al Viro There are only two instances of asm/unaligned.h in the tree - arc and parisc. Everything else picks it from asm-generic/unaligned.h and if not these two, we could just move asm-generic/unaligned.h into include/linux/unaligned.h and do a tree-wide search-and-replace that would kill the largest class of asm/*.h includes in the entire kernel. Turns out, arc and parisc asm/unaligned.h are very close to being straight #include themselves. The following series massages them away. It can be found in git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.headers.unaligned Three commits - dealing with parisc, dealing with arc and autogenerated search-and-replace job (that would obviously be better off done by Linus at the next -rc1). Individual patches in followups (the last one - just the commit message with script for reproducing the damn thing; the diff itself is just under 12K lines, being the most widely include asm/*.h in the entire tree). Please, review. I don't really care which tree(s) does that stuff go through; I can put the first two in my #for-next, as long as nobody has objections to the patches themselves.