From patchwork Mon Oct 17 14:54:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 3557 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1495016wrs; Mon, 17 Oct 2022 08:00:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4kWHMxAN5pjK8G6Q8jqbK/xvjmOD072Uu/Nk2qUEWnLSyy0bQsv4MdHNKalCahnPnYZEgK X-Received: by 2002:a17:90b:1c8c:b0:203:89fb:ba79 with SMTP id oo12-20020a17090b1c8c00b0020389fbba79mr33720085pjb.92.1666018821093; Mon, 17 Oct 2022 08:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666018821; cv=none; d=google.com; s=arc-20160816; b=evn3N6jUCD5RnemRwe0u0ocQKn52Eoo7hdBPoCVGQarKk2GjqeO3Q72UPoaECpoBBv EYt8QLIvipQkX30aq6njqMJPk3vwapZ4ZsEz9zg8q67LgriqBM/WQ1OGbadSm1qVF2+b ohfs6r2UrY1p1Ewz3FZ9KAkC1K3DSmL1OhZ+FcF8FH7KzxqqchMrnqbUGjukuB5O+Fua yXCx/IzkuU8ChLslmCu6lsQ9+Yl/OwEnePntwn7XxABAvPalujWe406JEbWjWDk+fROU rYKHrHP4JSFh2EkfYT/2QMViXWThKffdjmG5r9ZRACeJOmL2dBMwe0i7JIPJIGSyKGWC 1zCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=c/XzYaOPWztBN43khFHM7o1IlGuDSOdc1/FdMMHQif8=; b=xD9Ai/WUBk95mtdTV5dXKLbW1BfLp4EhDN3kcByyKZts8Lrx2RBT8AWRHqwtyxX41s r0L9EmQ2Ge6TMgIoEtpfUaiTctWjB+Sir3sdwx46KpFZ4FWpXJS6n2SEoiiO8Ugf9o7t T0XNVytArwVxpy/qzK6RWBDdvjIskPc99eurvfu2L9WFTFbY0TrvBJHg8esSOczvaZ7C YZb3MMWMBrCTLBHO3OMsTvoo2R7rFCoqamxDBgMgGePGLQhk0OroCWISgqYW5G91fMxE wtu6L6+rriGiTb+YQysnMVCa3xQr5JLybw2uf1nKXeVdo8oj2BuMR14igvWOjuuR78rb BDew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OB6uStf5; dkim=neutral (no key) header.i=@linutronix.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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q61-20020a17090a1b4300b002088ad6d93fsi16098682pjq.49.2022.10.17.08.00.06; Mon, 17 Oct 2022 08:00:21 -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=@linutronix.de header.s=2020 header.b=OB6uStf5; dkim=neutral (no key) header.i=@linutronix.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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229949AbiJQO7o (ORCPT + 99 others); Mon, 17 Oct 2022 10:59:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbiJQO6i (ORCPT ); Mon, 17 Oct 2022 10:58:38 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82B456B17B; Mon, 17 Oct 2022 07:55:55 -0700 (PDT) Date: Mon, 17 Oct 2022 14:54:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1666018468; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c/XzYaOPWztBN43khFHM7o1IlGuDSOdc1/FdMMHQif8=; b=OB6uStf5ukgr8OYmP1iKriHdbxMtAW6TdWmty31gsL9R9wFC1yCNsyXnJRn+jOK5/FFxmC 0O3/cN4Oo+0UO/K5aepM8v8N5TucTTBLNdYQjaZbl4XiKsMkE3qoXeUh21sKjrHHkGp3Tj r4fp2SwXcB/5atFFLkiEVcao+kF46jiqsWbcaGCdbGm2WYt62L82yfxC44fao2b2b0TrFQ jbmOk2N/xrgGqCFYJh8CK1I9LG+qi8MjJtEdkfNYRBQUdihQ0q2YnZoNnMFDOmiEzpUqDN 7wW9EM5qV8PZQ3m5R5EUwshPbSHm++HmdpQ6znsGZg+JQDjKxBB5aGvUE8Sl1Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1666018468; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c/XzYaOPWztBN43khFHM7o1IlGuDSOdc1/FdMMHQif8=; b=maEUEcxBntQRp8Syhu11NZPAMyDfaGZt9WjLrOHqHb2T0kDWkWR/WitvgAP7eS3WTL8j0i kHuDPrefM4Q9OgDA== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] x86/vdso: Ensure all kernel code is seen by objtool Cc: Thomas Gleixner , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220915111143.512144110@infradead.org> References: <20220915111143.512144110@infradead.org> MIME-Version: 1.0 Message-ID: <166601846677.401.12171922617717906171.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,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?1746947351211869936?= X-GMAIL-MSGID: =?utf-8?q?1746947351211869936?= The following commit has been merged into the x86/core branch of tip: Commit-ID: b26d66f8dace32c46ce58147002964ce8cdfde5f Gitweb: https://git.kernel.org/tip/b26d66f8dace32c46ce58147002964ce8cdfde5f Author: Thomas Gleixner AuthorDate: Thu, 15 Sep 2022 13:10:45 +02:00 Committer: Peter Zijlstra CommitterDate: Mon, 17 Oct 2022 16:40:57 +02:00 x86/vdso: Ensure all kernel code is seen by objtool extable.c is kernel code and not part of the VDSO Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220915111143.512144110@infradead.org --- arch/x86/entry/vdso/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 3e88b9d..3ef6110 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -33,11 +33,12 @@ vobjs32-y += vdso32/vclock_gettime.o vobjs-$(CONFIG_X86_SGX) += vsgx.o # files to link into kernel -obj-y += vma.o extable.o -KASAN_SANITIZE_vma.o := y -UBSAN_SANITIZE_vma.o := y -KCSAN_SANITIZE_vma.o := y -OBJECT_FILES_NON_STANDARD_vma.o := n +obj-y += vma.o extable.o +KASAN_SANITIZE_vma.o := y +UBSAN_SANITIZE_vma.o := y +KCSAN_SANITIZE_vma.o := y +OBJECT_FILES_NON_STANDARD_vma.o := n +OBJECT_FILES_NON_STANDARD_extable.o := n # vDSO images to build vdso_img-$(VDSO64-y) += 64