Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2003230ybk; Mon, 11 May 2020 09:30:19 -0700 (PDT) X-Google-Smtp-Source: APiQypIIth2L1zD5tyMY/0jyIcBtCs5NTWohnZveLSVUTFfupGPewB7+qQ/yj1+nlYIuA8Hlmbqo X-Received: by 2002:a05:6402:204e:: with SMTP id bc14mr14782309edb.199.1589214618845; Mon, 11 May 2020 09:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589214618; cv=none; d=google.com; s=arc-20160816; b=QieBkqIDfxkghYIPBfE2j2ZL28NcRoKX84HbRVAZ4Q6K7HQtPKtgrePCC5yMBflP3B 3hwxTHBeLJCh/a09gVAO39A5joac8fkUI7xRu7UFlNRSo6rxrTaB11b01LVOS3d3NQfA YMPPOoXAHJFJcfa04n3AqfD6MLJ7jToqgLLRtfLytAmfrhiyO1MnkR0lWbCGAHe6uIpn kEgTK4PHuxwqW15IerDIEgICSc1QMQKDFbFjY2ySQzE/KSL/IBZKL285m1AaZTJijU00 9l10o9zunLazNpgVXI6DopXrwFb55oPJ5uB295KvYW+91+38gXsER6lkzV1l2RzHKHVF kCpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CRuV17SVll2+Ckh6YFKrNx30MgYUITr11gEhuacPBeo=; b=BWUJrFKbfQqDbFHpFn7mQ/tJvkhTZZpyAuCqsBbe3fsfKNMLAuYqr8tYZDJn2f11Ly W4PzfWlqqpiOUkG6BYDeqQX5LEifHGKsIlGMSGGB/YSqOf31lpgM3x96uuzhG8/c8Rvj QKtOBhfT5ukKPmZ7NIiqeGsuONsB12+ydVGqKPUnxIgLusWU1MAtb1VW5gfFC0D8N+/a P7IM3/4m0PBK3IyubbfZsAyz9pujN7L4oYXNi1jOokkaH9aTglJlKTHh5p3ZtyAr4enI gNpMZsC2i5zFOBH2y0AIbGtlgf5sR0dk6OHa8wgYocWU5hPXqhVRoE03NwUwdZv7RZ2D phTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=k1r5JMwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si6114214edy.315.2020.05.11.09.29.55; Mon, 11 May 2020 09:30:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=k1r5JMwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730686AbgEKQ2B (ORCPT + 99 others); Mon, 11 May 2020 12:28:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:38394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730635AbgEKQ2B (ORCPT ); Mon, 11 May 2020 12:28:01 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E269C2070B; Mon, 11 May 2020 16:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589214480; bh=dWnpFgb+Yx+pcGOYtWqzFL2thynqYWnO1OaoLx7QFcc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k1r5JMwQvUG65cvK8P/9WIeAwFKoXlUIJbPRdq5VFo9X6fs8fyFnAq6eXNviydjJT BdYV26bfkEKLslnf5ij/wG/z7Wq+aymrnC+HEO0ILvDX9cD1O6js758TulIe5Z3jcC vYWXDe7w28B73UGMgccD11aG5k8fcJQv1pEq4MyU= From: Will Deacon To: Amit Daniel Kachhap , linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, Will Deacon , linux-kernel@vger.kernel.org, Vincenzo Frascino , Bhupesh Sharma , kexec@lists.infradead.org, Mark Rutland , James Morse Subject: Re: [PATCH v3 1/2] arm64/crash_core: Export KERNELPACMASK in vmcoreinfo Date: Mon, 11 May 2020 17:27:54 +0100 Message-Id: <158920375123.230375.8898075017057814195.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1589202116-18265-1-git-send-email-amit.kachhap@arm.com> References: <1589202116-18265-1-git-send-email-amit.kachhap@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 May 2020 18:31:55 +0530, Amit Daniel Kachhap wrote: > Recently arm64 linux kernel added support for Armv8.3-A Pointer > Authentication feature. If this feature is enabled in the kernel and the > hardware supports address authentication then the return addresses are > signed and stored in the stack to prevent ROP kind of attack. Kdump tool > will now dump the kernel with signed lr values in the stack. > > Any user analysis tool for this kernel dump may need the kernel pac mask > information in vmcoreinfo to generate the correct return address for > stacktrace purpose as well as to resolve the symbol name. > > [...] Applied to arm64 (for-next/ptr-auth), thanks! [1/2] arm64/crash_core: Export KERNELPACMASK in vmcoreinfo https://git.kernel.org/arm64/c/203b1152d18c [2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK' https://git.kernel.org/arm64/c/c0fc00ec6304 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev