From patchwork Wed Feb 15 13:00:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp180185wrn; Wed, 15 Feb 2023 05:08:53 -0800 (PST) X-Google-Smtp-Source: AK7set9FUmbZ8SX52OU6sVlQDvdpnEVLVRhMIFItKEETjUUfeXc4KcZk2qEbNjuLXALn6JXDPaLD X-Received: by 2002:a05:6a20:430e:b0:bc:9007:e53 with SMTP id h14-20020a056a20430e00b000bc90070e53mr2345333pzk.0.1676466533380; Wed, 15 Feb 2023 05:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676466533; cv=none; d=google.com; s=arc-20160816; b=nfqaYAdf+jk/wIL0DJAZIk9+rAp/zGFjZsarCBVPbUP4biVsHxpQNfKplpctP/DRlq 2NofXidmRAboxKsedaaXDhGsrCTXCvBxOtFoLYQ5RuJZVcH7fMS98zlS9Yk9aocX9Raw iZW26B39pBG/jY3JWMxuq5rcK6m7jwUadOGCxLRybegqqTZYsEByK91XJ7VtlJ1iyaFm YBB4+fzyK0tAcY3oYOrCUJOw+UMB/xUKBU29HKuCevjyZkdDmr7PoDNnl+singT3K4NF vlFjCmza1MetT7qmWH2a8qtiJ1/kwVfqLBoCeqvru8PM7Ib3po9iaDuLeUiEsfJbtEHN edrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=LlL1XccJ9W7u9oEjuE1n8xFo22cK7tQYzezyENp4RVg=; b=kFCIAj1zF8aX8T5y/dAfwB4Q0ueJNYwUhe//O3wVIZJkmHBNUIhxiQc9iF1fbW9EU7 +xohot3XpxZcixqg/Yan+osZcbwRweKEhN1CA0VMqwfBS61zPHMT9QmxU2Mxxq9LRX20 frWuinMZaaIFR1I5I57N4R9nAQIEdBX3ZdHmmvDL/rcit77Gu8iuLUZFsOYPaYef8GBi ShfMkBJLvKH4cZFZEsIiwZTzjy08SQfw0qnnGdP0yLTxJlcugvGoI/maOBvcpP4OaCK2 2Oxh1PZJU8EXqhgnNwcJHkXAXQXyIlJF2Rcm3rCy0LN8S/OfH7R/1dvtceWGtLv1rbv/ vRiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u6ljbQgA; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x185-20020a6231c2000000b0056cb8f6f027si17158112pfx.357.2023.02.15.05.08.39; Wed, 15 Feb 2023 05:08:53 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=u6ljbQgA; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233641AbjBONBS (ORCPT + 99 others); Wed, 15 Feb 2023 08:01:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232544AbjBONBO (ORCPT ); Wed, 15 Feb 2023 08:01:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC22127D50 for ; Wed, 15 Feb 2023 05:01:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 88D4F61BA6 for ; Wed, 15 Feb 2023 13:01:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBBA3C433EF; Wed, 15 Feb 2023 13:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676466073; bh=/ty4K/gkLsk7zw+XWjgV6xnYCwV+ng1Uvr9uV/F92FU=; h=From:To:Cc:Subject:Date:From; b=u6ljbQgAWVxr91+XjvfSLT2FE1UiKoUEQEIEz5SQnk2GWHYhI88M2/W6eA6tgnFwQ TBy3OOH/jBkI18gZv3DvP4UsmYI/0vHCQCAaJkEKmLh1mU8Mgpeb/A9RVZlC2e7qvm vMiWDAtDSbO85LRV1Ismi7bc2LmmpaHzQaMHSceZSHEsehr8mAOjNXKyhIkixndZ/O OHSQuahdD5jGG/yvK0Gr9vXu70HFBeRBKV9nJgfcMD3ftTS29vaCjklxaZJtx8eREg UdqUA03QeanFnWSgO9qULxXDBwWtq/nBDVUXX+K2lRH4eLgFMVVApB2W+FM68YUYT5 DmXO75Kz3t/0A== From: Arnd Bergmann To: Andrew Morton , Josh Poimboeuf , Peter Zijlstra Cc: Arnd Bergmann , Alexander Potapenko , Andrey Konovalov , Andrey Ryabinin , Dmitry Vyukov , Kuan-Ying Lee , Marco Elver , Vincenzo Frascino , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] [v2] objtool warning fixes Date: Wed, 15 Feb 2023 14:00:55 +0100 Message-Id: <20230215130058.3836177-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757902571656924638?= X-GMAIL-MSGID: =?utf-8?q?1757902571656924638?= From: Arnd Bergmann These are three of the easier fixes for objtool warnings around kasan/kmsan/kcsan. I dropped one patch since Peter had come up with a better fix, and adjusted the changelog text based on feedback. Link: https://lore.kernel.org/all/20230208164011.2287122-1-arnd@kernel.org/ Arnd Bergmann (3): [v2] kasan: mark addr_has_metadata __always_inline [v2] kmsan: disable ftrace in kmsan core code [v2] objtool: add UACCESS exceptions for __tsan_volatile_read/write mm/kasan/kasan.h | 4 ++-- mm/kmsan/Makefile | 8 +++++++- tools/objtool/check.c | 2 ++ 3 files changed, 11 insertions(+), 3 deletions(-) Cc: Alexander Potapenko Cc: Andrey Konovalov Cc: Andrey Ryabinin Cc: Dmitry Vyukov Cc: Kuan-Ying Lee Cc: Marco Elver Cc: Vincenzo Frascino Cc: kasan-dev@googlegroups.com Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org