Message ID | 20210225135700.1381396-1-yury.norov@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=D5+S=H3=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4393CC433DB for <linux-arm-kernel@archiver.kernel.org>; Thu, 25 Feb 2021 13:58:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D028B64F03 for <linux-arm-kernel@archiver.kernel.org>; Thu, 25 Feb 2021 13:58:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D028B64F03 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=DlxImJoDka+s7JESok5WLpW5CqVJdkQkk+WwFv6bpIM=; b=y0tVgCpMa698fwefjfnryciRMR pAoK6cyxgCFofgnhWo3aFsW2WLONix3Q72WKX+2GcRubEwjCGRe05lCgtB+2I4oloowE5SjluHzJH 4vOJn0UsUI3GqLHZeKtrVYOTvrZUfVL/JYc+aN/NT7UYVhx/91MFvxgbNYg6QdmQEiWm085+NgjB1 Taz7tXBo2I1/++a5OquUCs86IQfjszX92td6kQWog1tex08MTcLouzL5q/GO8Dl5hhNrucf/kIvlz +gPLenfYvYGdO0fTzImhC5BkRwsJgAMFIExmmB9IZsA48HE9e6Gj7n2rFJ8aafnHBpfPTBUP2YjZi H/eroMlg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFH8g-0005Fw-0v; Thu, 25 Feb 2021 13:57:10 +0000 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFH8d-0005Ex-Py for linux-arm-kernel@lists.infradead.org; Thu, 25 Feb 2021 13:57:08 +0000 Received: by mail-qk1-x731.google.com with SMTP id b14so5681245qkk.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 25 Feb 2021 05:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z3S2/9NZCW9QVmXj9grkY/k8GsyFK+D3WBEzfAOeLxE=; b=t8MF1Qs6um/IJ27dP+R/8X4j9JbeDhG8huigp8RFGSkisQlib3Mo8fn57x+8dJcdNU W6TcJ464L4jl1tTsSZmo7gZl5evuv0MhrdiaTslyYzYZeFAQY3GJfBOr/apKSlgJjYBQ tVAjmhxY9tDT7iV/GXthJrdvGKnemSzBf6BWqjOM6yiYYF92UClaLANNgWh0CP1TWH2x pAiImpczPp/Aqium3UsM3oOpkJkL6Rjojp00UPK87lSDlgtB85W1u/S5xSgsolYaEEH9 OYYkXgNuvTmOgKGGYY3LhKDZ/XwKl/36t7PYV6Tf2xOzBMXN2Y/gPOf+aDeu0WxV+KEO mX1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z3S2/9NZCW9QVmXj9grkY/k8GsyFK+D3WBEzfAOeLxE=; b=twLE6bV93sHcRai3u5gumwN9FLAd+2nMHCJeC2M7jdg7NhqVwXnmhsdbu4ZMy6mUxN +ji7IKLPcNU0P9osOxFFEUKOFZmAHb4Vf4PkLSpP/4jcJsAYf7FifmVi9hqnQY7Q6lPW n3upYxhY7mPRo2LlOZiIrvvYUF10VURxrKzWLZDB7PgdcrZHRmW/rAovYDipSe6BhkRK s5ezi7AdMgKTAdW7tE5nu6kppoqlRUKsqRrsTHcwHMiuFVakNHlh/gqk2m3uXEAhCyKA PpXZvXQ2XL0X8fVxgvts3YJ1eguPloAOLBY7IV2X6Ji7qgqiJ/rl4LOHXWmAAfP49XQH DvKw== X-Gm-Message-State: AOAM532JlIgyvOS89MTN4t4UgujkONm94gD7Ggxey0qry2xA31nW30Im gw4cJjTh88+v0+4/N3QymIA= X-Google-Smtp-Source: ABdhPJwIoLmbkEdUBaV0j20N2p4kQqMq8twl/L7Q+AGbL1IVJRZjPNmoUaQsgWzi794pb71fOrP1Ag== X-Received: by 2002:a37:a28e:: with SMTP id l136mr1183634qke.172.1614261424402; Thu, 25 Feb 2021 05:57:04 -0800 (PST) Received: from localhost (d27-96-190-162.evv.wideopenwest.com. [96.27.162.190]) by smtp.gmail.com with ESMTPSA id b65sm3913576qkd.120.2021.02.25.05.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 05:57:04 -0800 (PST) From: Yury Norov <yury.norov@gmail.com> To: Will Deacon <will@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Alexander Lobakin <alobakin@pm.me>, Alexey Klimov <aklimov@redhat.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH 0/2] arch: enable GENERIC_FIND_FIRST_BIT for MIPS and ARM64 Date: Thu, 25 Feb 2021 05:56:58 -0800 Message-Id: <20210225135700.1381396-1-yury.norov@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210225_085707_854339_19FE5547 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Yury Norov <yury.norov@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arch: enable GENERIC_FIND_FIRST_BIT for MIPS and ARM64
|
expand
|
On Thu, 25 Feb 2021 05:56:58 -0800, Yury Norov wrote: > MIPS and ARM64 don't implement find_first_{zero}_bit in arch code and > don't enable it in config. It leads to using find_next_bit() which is > less efficient: > > It's beneficial to enable GENERIC_FIND_FIRST_BIT as this functionality > is not new at all and well-tested. It provides more optimized code and > saves .text memory: > > [...] Applied to arm64 (for-next/misc), thanks! [1/2] ARM64: enable GENERIC_FIND_FIRST_BIT https://git.kernel.org/arm64/c/98c5ec77c7c5