Message ID | 20230124193004.206841-12-ebiggers@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2337328wrn; Tue, 24 Jan 2023 11:36:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXsbPgQh9pA6SB99iNdzYDJkwCkjBgsQQOdw0/ct+4gwgyOiWOH6Jg4P+PsNL+mXIHzhGYEt X-Received: by 2002:a17:90b:17cf:b0:22b:a87d:548d with SMTP id me15-20020a17090b17cf00b0022ba87d548dmr18140156pjb.21.1674588979849; Tue, 24 Jan 2023 11:36:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674588979; cv=none; d=google.com; s=arc-20160816; b=AbXx9xufmvt8ta7w1wMgwX3DLy7Z9sOP855v8qvTOJdEFWFxUcirWtPRNhsEKFyTPM SpKeX2WebaM0mlcASmirWk8prS3wY+QuFYlnzVOqik1u9Uj4nzGsoD53iu2U3UzxEVP+ jLaKLTwhcPQe6kXblIMjZtNnOatk5qSjQGYEBypgST1UBBg1sZr/xMeJQIcqd3XbOQLU NUZJLqoAN/fhK+lrUKbGl9QSpb4Ijla7/a5oNXr1KTNqyhh2SeRaBDuinUukyDBBquf/ 2Uw6PAc2sOioFYPwFn4q+iK+5nR/vLrOjedxfKXIgpEI6y7t7U6wros1lk04fD+IA5oA bqww== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k6Lqp/q3/YY3l7daqtCx7hIibqxCrcr6nJPDjtG+DKw=; b=GDGgvKji6c6l/1W/S6C1XIxjXVpn7/WV8w31URdExqwpTONkvYzQd/IiUp89yYh7W4 xY5ObT3cIW+v3c7MGbyppzq26lF2bBjQRWDaVJYitEEH+fsdk7BNqMD3skzbFYsww6qT 4l3xmAFnDuCSQ6MxgoG72BFQrSkVLw0xg/YvYeZa1Echu7buEOoL5NilCHIpmcIAToui pnLzx2ijRdD1QD6e9veHkPCSZnipgs/7t2OS2yUD8Hm5ss82SWHlDtiJSdwmNq1hLUR7 jYHejPzW3ZiltKaHhoYOxiTa/0YbxdU0J5yksTlob7A+KUNjNbOAhJ7/7HXpru2X+8w7 WpFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hk7GTkt0; 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 k71-20020a63844a000000b004988e653842si2884689pgd.139.2023.01.24.11.36.07; Tue, 24 Jan 2023 11:36:19 -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=Hk7GTkt0; 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 S234793AbjAXTft (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Tue, 24 Jan 2023 14:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234221AbjAXTfY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 24 Jan 2023 14:35:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C582B7282; Tue, 24 Jan 2023 11:35:22 -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 ams.source.kernel.org (Postfix) with ESMTPS id 4E9A3B816CE; Tue, 24 Jan 2023 19:35:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FAECC433A0; Tue, 24 Jan 2023 19:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674588921; bh=Tay53nfj7nF5eAwHs4g9Vnh0qKBAyGSVMz1O5p5Pn/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hk7GTkt0zk+xvAM5PO872mQYOzLuEe+4vL3G1xo2cda4i0OZiGPSkmumCGkGqMaMC uS99/trEiJ+372mczQitF7AquEmX6sh9PGaljVRR+yH7zZxfPJf6Ujjcf8MclwJ3Ut j7jILTLWa9gDwG/7HrWU3yIJCBvX5jlacNxaZWL47XfACEgzUyHdlFK687v9oCVyJm CHrb61wm5YeG15PmpAZPEthX1DpZDuv0od/ZJO73jpnd2XHeH9CUQlr2pCgI7ZTwCJ /KSZ/LfezVk+GDepZrdyJw/mLvMK3fm2A5vvmZ3vthpUcBq1EtWuLFzvXvjI6yFvVq 5KokAZYjsqKIg== From: Eric Biggers <ebiggers@kernel.org> To: stable@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Kees Cook <keescook@chromium.org>, SeongJae Park <sj@kernel.org>, Seth Jenkins <sethjenkins@google.com>, Jann Horn <jannh@google.com>, "Eric W . Biederman" <ebiederm@xmission.com>, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Luck <tony.luck@intel.com>, Randy Dunlap <rdunlap@infradead.org>, Christoph Hellwig <hch@infradead.org>, Christoph Hellwig <hch@lst.de>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org> Subject: [PATCH 5.10 11/20] ia64: make IA64_MCA_RECOVERY bool instead of tristate Date: Tue, 24 Jan 2023 11:29:55 -0800 Message-Id: <20230124193004.206841-12-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230124193004.206841-1-ebiggers@kernel.org> References: <20230124193004.206841-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755933814385845794?= X-GMAIL-MSGID: =?utf-8?q?1755933814385845794?= |
Series |
Backport oops_limit to 5.10
|
|
Commit Message
Eric Biggers
Jan. 24, 2023, 7:29 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org> commit dbecf9b8b8ce580f4e11afed9d61e8aa294cddd2 upstream. In linux-next, IA64_MCA_RECOVERY uses the (new) function make_task_dead(), which is not exported for use by modules. Instead of exporting it for one user, convert IA64_MCA_RECOVERY to be a bool Kconfig symbol. In a config file from "kernel test robot <lkp@intel.com>" for a different problem, this linker error was exposed when CONFIG_IA64_MCA_RECOVERY=m. Fixes this build error: ERROR: modpost: "make_task_dead" [arch/ia64/kernel/mca_recovery.ko] undefined! Link: https://lkml.kernel.org/r/20220124213129.29306-1-rdunlap@infradead.org Fixes: 0e25498f8cd4 ("exit: Add and use make_task_dead.") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Suggested-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Tony Luck <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Eric Biggers <ebiggers@google.com> --- arch/ia64/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 39b25a5a591b3..1d0579bc9d655 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -361,7 +361,7 @@ config ARCH_PROC_KCORE_TEXT depends on PROC_KCORE config IA64_MCA_RECOVERY - tristate "MCA recovery from errors other than TLB." + bool "MCA recovery from errors other than TLB." config IA64_PALINFO tristate "/proc/pal support"