Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6235962rwl; Wed, 22 Mar 2023 08:07:29 -0700 (PDT) X-Google-Smtp-Source: AK7set8BK56cPZUadhiyMLmKRqBN6reWvrXxSwD8ypMrsDaMBuDPYsFvssnPlkseVI6B1Ll14abC X-Received: by 2002:a62:3891:0:b0:626:7c4:9f38 with SMTP id f139-20020a623891000000b0062607c49f38mr2993247pfa.31.1679497649216; Wed, 22 Mar 2023 08:07:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679497649; cv=none; d=google.com; s=arc-20160816; b=pJvJWk8VS0gepJtM6/3k9lr/E3LDCoC3ZvIhyt90T89JIQtLumrq3tcbyPKBXe15cT PnQUUP2mQGm/GH6YUgrUz0RKs9jPYgKR+N86n1oSPP4lWdPGPqoqfQLXllscr58IVkND kNyXLNkeIjoac0NBgx66myG8iJAh0k4zXVb2qLcEB5nrupE6GKEimVXEpqwngdbEpPEA qV60UGxCtbRbnWNLYIYl7cylEB1tXgUMCREcv0jRotSLJhtnoWGi+ShlwEsE3vfZmiN3 dGonSJTcBtzBIhx6uOps2xa3qEZIDacc/zus+Ta3z+3ojiiehStcRfGFxF5z2yXEdOgk 2HLg== 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:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=mcvsw1hiR3Qyp1OeN9vHnJd3gGmdmQuM7Wjd77b+bFE=; b=CQ7mU48MXP2Psa5LOMunVi9Fr9efI6uYQtbyYgaogM3repBDvIf38uKtEJWy8SsldX g0osh1MbUGy4I0tUkKOYI0xqe9VgTZDzgS3eQYctAbPmXiTpbQ1StcKCtSotdlK1jaAH Rtitpt7HjgvdwCZf6i44ZcQR7oWj6ElOUMseJPGJGw0Q2Hjp/JG1uKFCAO4J4P3TMGSF PKekvYTqVHKRiYwcLCnlax5DNLvXjTpCgFH8kj6+aYScvQvBTrSN6PfiLlHWkixmrN79 vIM0YyXGGoDkDQ/gbNzuqr4/64sZY+JuiGvNtc6ekD+0tBciZ+QIvyAGsiLICBCi/upO Dmaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ELQQHZhI; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk13-20020a056a02028d00b0050c04831b70si16071571pgb.800.2023.03.22.08.07.16; Wed, 22 Mar 2023 08:07:29 -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=@kernel.org header.s=k20201202 header.b=ELQQHZhI; 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 S229555AbjCVOxb (ORCPT + 99 others); Wed, 22 Mar 2023 10:53:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjCVOxR (ORCPT ); Wed, 22 Mar 2023 10:53:17 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1276A6B5C8; Wed, 22 Mar 2023 07:51:27 -0700 (PDT) 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 sin.source.kernel.org (Postfix) with ESMTPS id 05565CE1DC9; Wed, 22 Mar 2023 14:46:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8027C4339B; Wed, 22 Mar 2023 14:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679496383; bh=mcvsw1hiR3Qyp1OeN9vHnJd3gGmdmQuM7Wjd77b+bFE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ELQQHZhIzJhFR/Tk978Cc4oL5KccT10G3P7OufM8u/DwJJrgnZYhnwjbsbICQlAMV H+J2nxPCk7sKDxEk34dFgAr484iXX4ipdk//qSUVurVNswYNy4ZSHw5nYc790DuL3M PnNS/ccgSsaYCQELdpk4B0pPGzXNVCo1CFLdg1MfyiNyibq7XYuZHOI0bzhHhix8lj U6J4yngMnQ+jtjD45ynxoDUuwZ57lvqd/kXS1x484UXRQ4eNCmEdQzZJDa/oy2x3Ia VYXpIz0i0RFlhNGItPYC8Dn2i2KTVu5XRZTviQ2+ZYGkJJUGLZ+Fac/BU6OCPSePxT XixNdk9EVFQPg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: guoren@kernel.org, arnd@arndb.de, guoren@kernel.org, palmer@rivosinc.com, tglx@linutronix.de, peterz@infradead.org, luto@kernel.org, conor.dooley@microchip.com, heiko@sntech.de, jszhang@kernel.org, lazyparser@gmail.com, falcon@tinylab.org, chenhuacai@kernel.org, apatel@ventanamicro.com, atishp@atishpatra.org, mark.rutland@arm.com, ben@decadent.org.uk, palmer@dabbelt.com Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Lai Jiangshan , Nick Desaulniers , Miguel Ojeda , Kees Cook , =?utf-8?B?QmrDtnJu?= =?utf-8?B?IFTDtnBlbA==?= Subject: Re: [PATCH -next V17 1/7] compiler_types.h: Add __noinstr_section() for noinstr In-Reply-To: <20230222033021.983168-2-guoren@kernel.org> References: <20230222033021.983168-1-guoren@kernel.org> <20230222033021.983168-2-guoren@kernel.org> Date: Wed, 22 Mar 2023 15:46:20 +0100 Message-ID: <87ilesu9mr.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 guoren@kernel.org writes: > From: Lai Jiangshan > > Using __noinstr_section() doesn't automatically disable all > instrumentations on the section. Inhibition for some > instrumentations requires extra code. I.E. KPROBES explicitly > avoids instrumenting on .noinstr.text. Guo, the generic entry series doesn't apply cleanly on riscv/for-next >6.2-rc1, and this patch is the issue. Could you do a respin (potentially w/o this patch)? Cheers, Bj=C3=B6rn