From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A152727E7EB; Tue, 3 Feb 2026 17:23:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770139406; cv=none; b=Wb5E9HFkuu9+2l296g+OUTIIWINDmtlqXkGGYhVgHXg0dVhvpQY1iQIzffiF/QgSZpafSzEqY6PTq8mhaGbR4AF3IEDeirkIsTEcOlHSgAVvVesYcyiqBMfV8klUNaEEfdoeMHinH6Q2Z1DATB0sC+kx69Chdib8Y+wOulbMfsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770139406; c=relaxed/simple; bh=AeHeEVn9Cyih743NmUTy5g2X++Aj2EjHA3cwobvKrGY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GTow8P9jXWHbiZhiCCNHpb3aJC2qEOMPtPdJMZ4jYw4ZwtWP9r/N+nVzfetJOzPMmPZ8h0Iv+3LNa0QEEy/5S7wHNLldanvornQNmzn2FbI+m9C554FMXSdaiOivtSGse+CtaVSQfMQgc99fINUtnX1f8wtIoYtL3IIIW9/faqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=K1sQJ++W; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="K1sQJ++W" Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 6139ScWr027933; Tue, 3 Feb 2026 17:22:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=CnWoYO dHFi1HilfZZLKuTxOQwNFfkM0hR+YIehVIffE=; b=K1sQJ++W8uy17wl/eEnoea fNCoj4q9pjEwAxKnq45sEdDpPrhWc+vgFP4Zc8wpH5b1C4RC0wNQNEse0A88BFAs l/2xWxKy6z9RHcpV1FZnbFg9p4+LyMnFlrJPHMfMaPOLB5KYSMD0BbvfHNds1W9k CXYcICcm9UXkgpGorCuMa0fWdmORKQ9gUVhpGc/D7NDflpm59O8wdqag0ZoVSfkj WRWT9hnmF7Pybg1MsE7jcKnlLfoD8hGUJckcwv+ZblcUV1le2hTujtE6+4UX25PA 5cFm3nOyft2WTD2BHpDZuWaYl3+fYHz5AQW8J8VG8yzIg/fMw6oPH0e/Y/6oltrg == Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4c175mvbm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Feb 2026 17:22:52 +0000 (GMT) Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.18.1.12/8.18.0.8) with ESMTP id 613HJYI3002446; Tue, 3 Feb 2026 17:22:51 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4c175mvbm5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Feb 2026 17:22:51 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 613F9Hfd029064; Tue, 3 Feb 2026 17:22:50 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4c1v2sa4h0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Feb 2026 17:22:50 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 613HMkGQ49545670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Feb 2026 17:22:46 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 90B4C2004B; Tue, 3 Feb 2026 17:22:46 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1B67820040; Tue, 3 Feb 2026 17:22:45 +0000 (GMT) Received: from [9.111.139.54] (unknown [9.111.139.54]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 3 Feb 2026 17:22:44 +0000 (GMT) Message-ID: Date: Tue, 3 Feb 2026 18:22:44 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 0/6] x86/vdso: VDSO updates and fixes for sframes To: "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, x86@kernel.org, linux-mm@kvack.org, Steven Rostedt Cc: Josh Poimboeuf , Masami Hiramatsu , Mathieu Desnoyers , Peter Zijlstra , Ingo Molnar , Jiri Olsa , Arnaldo Carvalho de Melo , Namhyung Kim , Thomas Gleixner , Andrii Nakryiko , Indu Bhagat , "Jose E. Marchesi" , Beau Belgrave , Linus Torvalds , Andrew Morton , Florian Weimer , Kees Cook , "Carlos O'Donell" , Sam James , Dylan Hatch , Borislav Petkov , Dave Hansen , David Hildenbrand , "Liam R. Howlett" , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , Heiko Carstens , Vasily Gorbik References: <20260129112726.892340-1-jremus@linux.ibm.com> Content-Language: en-US From: Jens Remus Organization: IBM Deutschland Research & Development GmbH In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 1RNeFjye9XQ2Fwo7nGuZWqe11dNYv12b X-Authority-Analysis: v=2.4 cv=VcX6/Vp9 c=1 sm=1 tr=0 ts=69822eec cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=meVymXHHAAAA:8 a=VnNF1IyMAAAA:8 a=LFt20mCCc4CE-LtB3JUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=2JgSa4NbpEOStq-L5dxp:22 X-Proofpoint-GUID: KeLrE5dJXpA6vYgjBDeZ4Ic5-NwvD2yo X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjAzMDEzOSBTYWx0ZWRfXwUo6lcJE1Ffh llct2qDpO79y6S40lWcrdflidPGemTRXFUeYRVaUUNInoKRunyTTXgZJb6ijipEeL7FJwOPbYdt QzJIH0ve4Z7wZHt4EIWrt4LtOMrAQtTZFt7eJ+vIy+u6tgM2AjAfkt6yKxthLWFXak2wFo1VoS7 BHHTrMiZuIpQIQZr49B0xcuhGoQCvZJXVhoXutTZrVgKkbjkB1bIqrJzC6SFfP/1I05PZKPJNIU V0Faq2BJI1AaC/xMJv9LpH4X1jwofwdDX9uCH2kT8gxzkpyu9lGnKQl77yElTU5+etX+jv9rGK7 9fwJg0Xh1rV/qctBadRHOiHNAosNqlDGc2mAo+I8lfQKW2Fe667BfTLH/A1qiDZCVNKJGuPNOo+ gFgub+Kjw5wj2mov/DPK+HcqqkCyiBoV0s4YR756ImCoZm3Vu1L6gZsrkZeSbHa3mlQGOSoZfYR sOH5G/cj8YYfTDSjHOg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-03_05,2026-02-02_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2601150000 definitions=main-2602030139 On 2/1/2026 9:23 AM, H. Peter Anvin wrote: > On January 29, 2026 3:27:20 AM PST, Jens Remus wrote: >> This enables generation of SFrame V3 stack trace information for VDSO on >> x86-64. It's a continuation of Josh's and Steve's work: >> >> https://lore.kernel.org/all/cover.1737511963.git.jpoimboe@kernel.org/ >> https://lore.kernel.org/all/20250422183439.895236512@goodmis.org/ >> >> This series focuses only on the VDSO code. They are helpful fixes >> and updates that doesn't rely on sframes (although the last patch >> is sframe related). >> >> This series applies on top of the latest unwind user sframe series >> "[PATCH v13 00/18] unwind_deferred: Implement sframe handling": >> https://lore.kernel.org/all/20260127150554.2760964-1-jremus@linux.ibm.com/ >> >> Like above series it depends on the upcoming binutils 2.46 release to >> be used to build executables and libraries such as VDSO with SFrame V3 >> stack trace information (using the assembler option --gsframe-3). >> Josh Poimboeuf (6): >> x86/vdso: Fix DWARF generation for getrandom() >> x86/asm: Avoid emitting DWARF CFI for non-VDSO >> x86/asm: Simplify VDSO DWARF generation >> x86/vdso: Use SYM_FUNC_{START,END} in __kernel_vsyscall() >> x86/vdso: Use CFI macros in __vdso_sgx_enter_enclave() >> x86/vdso: Enable sframe generation in VDSO >> >> arch/Kconfig | 7 +++ >> arch/x86/entry/vdso/Makefile | 10 +++-- >> arch/x86/entry/vdso/vdso-layout.lds.S | 9 +++- >> arch/x86/entry/vdso/vdso32/system_call.S | 10 +---- >> arch/x86/entry/vdso/vgetrandom-chacha.S | 3 +- >> arch/x86/entry/vdso/vsgx.S | 19 +++------ >> arch/x86/include/asm/dwarf2.h | 54 +++++++++++++++++------- >> arch/x86/include/asm/linkage.h | 33 ++++++++++++--- >> arch/x86/include/asm/vdso.h | 1 - >> 9 files changed, 97 insertions(+), 49 deletions(-) >> > > This patchset clashes *hard* with the changes already in tip:x86/entry. Thank you for the hint! I have rebased the series on top of tip:x86/entry and sent a v7 for review: [PATCH v7 0/6] x86/vdso: VDSO updates and fixes for sframes https://lore.kernel.org/all/20260203171958.1522030-1-jremus@linux.ibm.com/ Regards, Jens -- Jens Remus Linux on Z Development (D3303) jremus@de.ibm.com / jremus@linux.ibm.com IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Ehningen; Registergericht: Amtsgericht Stuttgart, HRB 243294 IBM Data Privacy Statement: https://www.ibm.com/privacy/