Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp535611rwb; Tue, 4 Oct 2022 07:23:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5rskWeCRtp0yuWDdMuYjspZD2ruhNm6N7QOF6g+pcL/zqBH2uEN7ZC50UUNW/ESVTMpYn1 X-Received: by 2002:a17:907:7203:b0:783:6e65:c0c3 with SMTP id dr3-20020a170907720300b007836e65c0c3mr19677190ejc.227.1664893407278; Tue, 04 Oct 2022 07:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664893407; cv=none; d=google.com; s=arc-20160816; b=RskFcuZq5ShD/sqrcF/lnlzRYAWGdmdwG5bQeBFomJoFU9XBsaOlYxeu87O8sZR57Z 7YiTOSLSuF9FRK+7awZdmucwExPGNhkUXrWzs954vSfh25G088083pZ6yzhNDD3ZweIm eZJAcAxzwaDHfQ8v80ZNuGq3DFu+cdb6JK3BkjvPt+s507CvD6xk6rfkzJHnO8YQVW+T 65j3y/ZzKTKw42QgzWWsdX7tCM5Qt0waqXXyy6KH2JpnJhnlu58i6PJoUkLJdRqqIUba RWbuueMu0nvK0vdR8a9hDgG2BKoqnXHvzAoiJy2Cg/Ov+7ud1Ly6uX+Y2d8SU4hAnT/B 1gOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=ofD/Lxes09W6F4/E5QFyg8I0cfZPZuiE1g5YhGyNbPg=; b=cJV6O9Zh7sS0g+dg3YHbSOzHpvqThu5TJogXPUAJVjtj7TAxWU1dfpEcaA+OtlNgWR HnEl/kLQ7D/S5XEfhEYt5s5Dh0PWO7ZGd8sswZDLHLg7j7OfijzgIfeSHIwQ00/P3sTB VZkSrWBNEkRaQNU+Q/QWqvqBrpHLZ+LEZNBqQNNkABN02bRwqixME+QLi5yRMzXuisgb 71Y1e2uav9ZBIlzBtYK+/ocvJCluU0bDEcFDiaDdfHPu3Eim2wGXWTbg05tk1nkawfMf UC1IdMhpeghrIMJPPSYRLcvYhwE1mTqKYorCK/CDZEF8haJy+rkQWTQtQeckcA+LdkTq YhFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JC96KDt7; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt18-20020a1709072d9200b007823754ecd5si12722121ejc.43.2022.10.04.07.23.01; Tue, 04 Oct 2022 07:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JC96KDt7; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229555AbiJDOGS (ORCPT + 99 others); Tue, 4 Oct 2022 10:06:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbiJDOGP (ORCPT ); Tue, 4 Oct 2022 10:06:15 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3681C2A961 for ; Tue, 4 Oct 2022 07:06:14 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C7F8C1F8AB; Tue, 4 Oct 2022 14:06:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664892372; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ofD/Lxes09W6F4/E5QFyg8I0cfZPZuiE1g5YhGyNbPg=; b=JC96KDt7U7ju5Lo7x53Mf+xChlYXsJlh+gTmlVGMzFF/mClt9h/GY8h7takLPhgZID6H93 TfK/iaNo9mXO76SORNYwGkdi/CYV8wbMOqzNCkpQFMoOmPAw0eGoqEQqPBIxJoODBXncMe 4+iI6hRKlR2GXe0CMVd6bTGY0dBUqIE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664892372; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ofD/Lxes09W6F4/E5QFyg8I0cfZPZuiE1g5YhGyNbPg=; b=D50IWgEcciy0MKrrvHDX1DwhbJy2nMCl/DwPWbhc/Ne7MbzO498y/Q7GmTpVZJoyirgwhf VKGC7bfioj6ifcCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B094A139D2; Tue, 4 Oct 2022 14:06:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hiLwKtQ9PGO0bQAAMHmgww (envelope-from ); Tue, 04 Oct 2022 14:06:12 +0000 Date: Tue, 4 Oct 2022 16:06:08 +0200 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/asm for 6.1 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull a couple of x86/asm improvements for 6.1. Thx. --- The following changes since commit 521a547ced6477c54b4b0cc206000406c221b4d6: Linux 6.0-rc6 (2022-09-18 13:44:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_asm_for_v6.1_rc1 for you to fetch changes up to fdb6649ab7c142e497539a471e573c2593b9c923: x86/asm/bitops: Use __builtin_ctzl() to evaluate constant expressions (2022-09-20 15:35:37 +0200) ---------------------------------------------------------------- - "Slap" the __builtin_ffs/ctzl() compiler builtins in front of the kernel's optimized ffs()/ffz() helpers in order to make use of the compiler's constant folding optmization passes. ---------------------------------------------------------------- Vincent Mailhol (2): x86/asm/bitops: Use __builtin_ffs() to evaluate constant expressions x86/asm/bitops: Use __builtin_ctzl() to evaluate constant expressions arch/x86/include/asm/bitops.h | 54 ++++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 21 deletions(-) -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)