From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 754923858022; Wed, 25 Oct 2023 23:09:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 754923858022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698275385; bh=VWN6iM8pCJE4zB+PUXgbY2aqJqRbnn2KMu4a5XDVQzI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CUuj+KHeIk6o02Cc0HZI2gA0hJLuxLe+3JUSRzrISza9FNKChLDZOq/fGZgm/95sM bNbBOWD0a8uSZatHbRCBnu0DAX9IE3NSlrGc5w82AzbPijkEVMmLolPP6be0Dose+Y XmaJQ2KphP699vXWmoYdDGnuSxulwfYieZ1pzs4I= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/30716] On x86_64 get objtool warnings: call to __get_user_nocheck_1() with UACCESS enabled Date: Wed, 25 Oct 2023 23:09:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30716 William Cohen changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #3 from William Cohen --- The x86_64 RHEL9 5.14.0 is a bit different than the newer 6.x kernels in Fedora. The CONFIG_HAVE_UACCESS_VALIDATION was added by kernel git commit 5f3da8c08508df828235 around april 2022 and doesn't exist in the older 5.14 RHEL9 kernel. Thus, the current systemtap patch for this PR doesn't turn o= ff the objtool --uaccess analysis/warning in RHEL9. I looked for alternative.= =20 The CONFIG_OBJTOOL was added to the kernel about the same time as the CONFIG_HAVE_UACESS_VALIDATION, april 2022. For the 5.14 kernels the use of --uaccess option for objtool is control by CONFIG_X86_SMAP, https://elixir.bootlin.com/linux/v5.14/source/arch/x86/Kconfig#L1806. Howe= ver, it is likely that turning this off is going to cause problems for the Intel processors that have actually have that feature enabled like the Intel IBT support. https://edc.intel.com/content/www/us/en/design/ipla/software-development-pl= atforms/servers/platforms/intel-pentium-silver-and-intel-celeron-processors= -datasheet-volume-1-of-2/005/intel-supervisor-mode-access-protection-smap/ --=20 You are receiving this mail because: You are the assignee for the bug.=