From patchwork Thu Jan 12 15:18:38 2023 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: 42500 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3944897wrt; Thu, 12 Jan 2023 07:30:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsu6va0uYDclX54MbNUvNn6vu7ysk7VD8rYUEcav9LeYaOdESZqwpCdq2e7wM4MIW17CHru X-Received: by 2002:a05:6402:4493:b0:48e:ab4f:71f8 with SMTP id er19-20020a056402449300b0048eab4f71f8mr30272810edb.29.1673537438982; Thu, 12 Jan 2023 07:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673537438; cv=none; d=google.com; s=arc-20160816; b=AsNhZaZkRHgxMvYD9gCJ5jYc9JrzUAgCu/7vwRZhKX0dyj+OEcq8qCOULLQzjeQEgI SMT14vOhvHUv/n2A2cloBw2IWlRsuos4CJbHEZQ6vols9dO8rTm8iCX2cB9W/Vp4tAlL QaRDVQR820gV0Rp5o05nsW+YZTTBbjT1zBtyQ0yuYYMdPb3Cz20TxZ7kitURU2QobYoZ HGI9uM9kIOCx8zahkF1vZP8ED0agMhqdHmGux2/X433BUFgYpOcgcMTXocZgsePN4crI sqTRY+e+1boDtFwzOcUaT7LbRgCvHT4/tnEOWhhYDzFIjpMgc8scRY2a0es6zO+pJ1en E2gw== 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=6rolIEIiO2ig4S+v+S9Rws09BZuTxVnYBcgHmCQBLzI=; b=Yc34lvUGTKrORXC4m9QZ6PynuHnp/NhTN8TJverAzchA8nJU8GMsyT0kptFANPUt6M tQ0rLOcTmvV46mTdRdWUew83g5PamlDqr1pVmaZsPg22632jJtyXMVKr1iYJ8s7NKz+m bXdpmtZLr6TbXTj2S+IW2SrxkW4wFydJtgk8LJ3pJRpMNg0qtli6tjubGazH+2zDpPVK /eKbxCvfW8FR7bPSjkrUiG7mABG5v+rS8DAh+z27KVnx12djbH9kLCP0e72K+DEyDrUx pkQTUNfzb1v5z3CGCYsy+VuRmltW/2AjU2sWB+YB3nZXMkya6YKtFS1TTBAHDRi+VpMB xHTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=20wsGnWp; 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 l13-20020a056402254d00b0048ee504d831si19638863edb.461.2023.01.12.07.30.14; Thu, 12 Jan 2023 07:30:38 -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=@linutronix.de header.s=2020 header.b=20wsGnWp; 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 S230118AbjALP0g (ORCPT + 99 others); Thu, 12 Jan 2023 10:26:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240342AbjALP0E (ORCPT ); Thu, 12 Jan 2023 10:26:04 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67FDC3D1CF; Thu, 12 Jan 2023 07:18:41 -0800 (PST) Date: Thu, 12 Jan 2023 15:18:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673536719; 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=6rolIEIiO2ig4S+v+S9Rws09BZuTxVnYBcgHmCQBLzI=; b=20wsGnWpG3xJDrp5YPfg4/0hYoub/Ijg4ZbCMqwtlvoTwqWdK5vtftOJMjf+fA2ZEkuDIe T18SduXhF67rW1zojbeTuFuzQ4PVc9r7DNHtfCGqu8v2JXBXs0SB9KTtHRPJIQI+jClfhb wupz/uy7X2qLMOqUDUW7OoP0380IMjtCjWRFJCQRktMG6liWP2jG65CMFUXP0W5F7p7NBt hnMx9OP/Y6XSZV4FThki7WaABOY5+/N1J71XpUd30y+XBdtGyL4FfQvN0QECHEHM6Eu3YD Dm2HmQKXjUkKaE589F4OJubTXKyYS2Nq53z+qwAtU0RwxBOB9awlpuTqbb5Rpg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673536719; 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=6rolIEIiO2ig4S+v+S9Rws09BZuTxVnYBcgHmCQBLzI=; b=njY+LU9qPrhfNmuBLswoWytKDQP5CKUBWj21Qqnt9WIBnkoVdOm8O53E9dUwjmRVknSRsH pGBu7Pn3bD8YHcDQ== From: "tip-bot2 for Mathieu Desnoyers" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] rseq: Increase AT_VECTOR_SIZE_BASE to match rseq auxvec entries Cc: Nathan Chancellor , Mathieu Desnoyers , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230104192054.34046-1-mathieu.desnoyers@efficios.com> References: <20230104192054.34046-1-mathieu.desnoyers@efficios.com> MIME-Version: 1.0 Message-ID: <167353671841.4906.17789590364136749401.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?1754831193659721196?= X-GMAIL-MSGID: =?utf-8?q?1754831193659721196?= The following commit has been merged into the sched/core branch of tip: Commit-ID: 28c8e088427ad30b4260953f3b6f908972b77c2d Gitweb: https://git.kernel.org/tip/28c8e088427ad30b4260953f3b6f908972b77c2d Author: Mathieu Desnoyers AuthorDate: Wed, 04 Jan 2023 14:20:54 -05:00 Committer: Peter Zijlstra CommitterDate: Thu, 12 Jan 2023 11:22:22 +01:00 rseq: Increase AT_VECTOR_SIZE_BASE to match rseq auxvec entries Two new auxiliary vector entries are introduced for rseq without matching increment of the AT_VECTOR_SIZE_BASE, which causes failures with CONFIG_HARDENED_USERCOPY=y. Fixes: 317c8194e6ae ("rseq: Introduce feature size and alignment ELF auxiliary vector entries") Reported-by: Nathan Chancellor Signed-off-by: Mathieu Desnoyers Signed-off-by: Peter Zijlstra (Intel) Tested-by: Nathan Chancellor Link: https://lore.kernel.org/r/20230104192054.34046-1-mathieu.desnoyers@efficios.com --- include/linux/auxvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/auxvec.h b/include/linux/auxvec.h index f68d0ec..407f700 100644 --- a/include/linux/auxvec.h +++ b/include/linux/auxvec.h @@ -4,6 +4,6 @@ #include -#define AT_VECTOR_SIZE_BASE 20 /* NEW_AUX_ENT entries in auxiliary table */ +#define AT_VECTOR_SIZE_BASE 22 /* NEW_AUX_ENT entries in auxiliary table */ /* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */ #endif /* _LINUX_AUXVEC_H */