Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp699189pxj; Fri, 14 May 2021 13:28:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxuQmnvbcl9bMwnrSXbXe1p5bPcRqWzaiWCN7tnLkrIOMiwl7m5SQKlxlGsffpHJaC2AN5 X-Received: by 2002:a05:6638:1650:: with SMTP id a16mr44232304jat.23.1621024102465; Fri, 14 May 2021 13:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621024102; cv=none; d=google.com; s=arc-20160816; b=FG1GQEMmpLp2y1vpYp/t0+SUtALfNzEoNUGgHhHfv1QRfAKFe7Y8KCF/IFje4x79bf 8x8Mhf/WvAlPeaqNon+kDNuCFdCMUxj39q/SYMbSYcegHUCGuf1JA24+r2P8bbP++0oe xtILliuKmdm9uJ6/F1BzJcXXXL5GXqhvqwpkIZkcQPdohIx4lF2t6lqNhHpFdmpTNWBi SiFAJOI20o7hs3IfUPEQFHPDUSzXMunmFA8AHgmH++O7RgkRLjDeagT8beyKLJ+fLdBf clJTKXCl23v/A0qx16vvlDU7hBFajAe6z8bToOZDQAY6iCZvLfqef+3zIFcD0kiahRA5 Gaag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ClftVL+uGmfhXtudCjQvEaJc412LM7r2LFw66XZm3oI=; b=TDNajZJxvM0GNZKnq4aGow8A2sstVlyRvAR7Xtpbx7drjHaowvo3dndIvi7NrMeKEv z59nwwzLKtzJdYyCzVJdZ+ViijK69xUtBc8JE93ZrbuT4U/BBMfx+sv+h451FWifUuj3 s2cF/vmWW3rEZfLRo32UdVH50ssLIYfK903J0gHxIwRZ1LOKaY+CM1II47Y3khmbl4fA +hDxLxDepT6kvFJDxiEZ6pNUoRP6msm3BDv2g03EHVqyIDGO8uikt/8QM+Xgvz4xrmQT Ru2bWAI1YoRrSOWyaIvg/FnxH949Yfrw0l+yIsEUGPMV2rRwBP2kFrYIbuzmtSr0hhew oK/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kf5jsZXI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si9644937ioy.69.2021.05.14.13.28.09; Fri, 14 May 2021 13:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kf5jsZXI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233096AbhENTeR (ORCPT + 99 others); Fri, 14 May 2021 15:34:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:53670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbhENTeO (ORCPT ); Fri, 14 May 2021 15:34:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C8FB06145A; Fri, 14 May 2021 19:33:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621020782; bh=sx6RnRTXG/HkUYbZ66bme4Ihr6YCIRDKjve7uvyFxHE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Kf5jsZXI52Zq2tpRgMl1O8c/U7y8d0w9MTmfdlRsUujEeAawhwUIMMGIQtMlsZQR+ 09M/wvcClTYpMdPwODUMv1lEUqwsxZg8kN+M27STmCVk1mXGfnwxvYTILPmrgioIip 2DidMQ/s9r1u10t8JprtlXHoYMmOHC5NzqP5zI5qWxESG0s76XUoFdFhzvPxB2OknV Wl1y4oD0rWxRYnRD7OLp1efXk9B2P86nK8hne1Rf0EOQvqeFJm0vGI8G2NBqcS9E51 pNUbKOerRoDcTyncAbJOnEzan5RkSIAHrktjzHjFuDRXPTX8fx4UJMFbBk15mWJGWi 2t6jgV3Fc82HA== Received: by mail-wr1-f48.google.com with SMTP id s8so282442wrw.10; Fri, 14 May 2021 12:33:02 -0700 (PDT) X-Gm-Message-State: AOAM532MquXo4CcXnU0aIaGz9PJnnz6tfG6hOFSdWxKGnAjjpUcABeTd vuUvPo8OM9pRpqesSqxyehhCk9T3N9x+Nmj3WE0= X-Received: by 2002:a5d:6dc4:: with SMTP id d4mr62128225wrz.105.1621020781452; Fri, 14 May 2021 12:33:01 -0700 (PDT) MIME-Version: 1.0 References: <20210514100106.3404011-1-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Fri, 14 May 2021 21:31:59 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/13] Unify asm/unaligned.h around struct helper To: Linus Torvalds Cc: linux-arch , Vineet Gupta , Amitkumar Karwar , Benjamin Herrenschmidt , Borislav Petkov , Eric Dumazet , Florian Fainelli , Ganapathi Bhat , Geert Uytterhoeven , "H. Peter Anvin" , Ingo Molnar , Jakub Kicinski , James Morris , Jens Axboe , John Johansen , Jonas Bonn , Kalle Valo , Michael Ellerman , Paul Mackerras , Rich Felker , "Richard Russon (FlatCap)" , Russell King , "Serge E. Hallyn" , Sharvari Harisangam , Stafford Horne , Stefan Kristiansson , Thomas Gleixner , Vladimir Oltean , Xinming Hu , Yoshinori Sato , "the arch/x86 maintainers" , Linux Kernel Mailing List , Linux ARM , linux-m68k , Linux Crypto Mailing List , Openrisc , linuxppc-dev , Linux-sh list , linux-sparc , linux-ntfs-dev@lists.sourceforge.net, linux-block , linux-wireless , Netdev , LSM List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, May 14, 2021 at 7:32 PM Linus Torvalds wrote: > > On Fri, May 14, 2021 at 3:02 AM Arnd Bergmann wrote: > > > > I've included this version in the asm-generic tree for 5.14 already, > > addressing the few issues that were pointed out in the RFC. If there > > are any remaining problems, I hope those can be addressed as follow-up > > patches. > > This continues to look great to me, and now has the even simpler > remaining implementation. > > I'd be tempted to just pull it in for 5.13, but I guess we don't > actually have any _outstanding_ bug in this area (the bug was in our > zlib code, required -O3 to trigger, has been fixed now, and the biggy > case didn't even use "get_unaligned()"). > > So I guess your 5.14 timing is the right thing to do. Yes, I think that's best, just in case something does come up. While all the object code I looked at does appear better, this is one of those areas that can be hard to pinpoint if we hit a regression in a particular combination of architecture+compiler+source file. I have pushed a signed tag to https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git asm-generic-unaligned-5.14 and plan to send that in the 5.14 merge window unless you decide to take it now after all. Arnd