Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2252434imm; Thu, 19 Jul 2018 16:29:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpemW4bocC3rqo7mYDKtmdvTRbWeoD7pne/q8GQugQd3gNLs6ild4haaHws/PuKLhrXKRQTi X-Received: by 2002:a62:bd4:: with SMTP id 81-v6mr11449259pfl.67.1532042958940; Thu, 19 Jul 2018 16:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532042958; cv=none; d=google.com; s=arc-20160816; b=J793hIAc6HCVc9+aXHLb8AZDEJcCIrm9vyCFf9U/44Yf/CgH+vmHuZVIB9rWxelXg6 +PegPLrHiZqzvpGT9b3s18xvK1YKpGDrL51/neNH+RGsGlUso5dwdXUpm0nnlx9vLRzq 2ykRBy25KiJsTs1cRFjP9u9bP2M0Zpv5gBJ+bFMaHmy8JjLYuXHpTl4Dm1GKFZmaouF8 xSuKWYHKjYn2lendyZEtK27EfxQAZkOrC4VFvN3Td810sugO+/UVBARwReNe+ZUAstSI z3mSVOVEss1rgKp6lrBZOVX7v7mC4dm9JRu/HJXf5HvdCCjy+IGWSM1fMuj8JXwpKye9 wqpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from:arc-authentication-results; bh=3Ta8HfVaVdUyz8rp0Om7TCjbPU+w+eHP2E4BeB+nmVI=; b=NyFI7ekc7f1aNVzfZGac0+EQLyg6iCgvUQ07MGMQEjWdM3vplKTlfJDymxf5dkelu5 QMOKJY/g9KUUYocPFDZwyIqP3aAEZ4R+vSciJh8KTWam7OwOcjEtDWo2/+as6EaBabw0 vBEj3FsOB3cG6jE5WRrexEuxf/5er1qC3d/JM8tUPaTUbVSdVLZDtLkO+jkgMLUnnEcZ 8jv9YrTWfBhBRvUZrFr5dAcKFnw28vWfWj/wqztkVSAQc61OcW+S7oIEnSWXUAj5uMNb AWgcqqUNB0ZyBThpuIN+yKyfeYHrvUNsay8VdEwMwFcWFlWpfSFBppNbN917UyFdLr+i iUvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61-v6si351906plb.502.2018.07.19.16.29.04; Thu, 19 Jul 2018 16:29:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731319AbeGTANg (ORCPT + 99 others); Thu, 19 Jul 2018 20:13:36 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:34403 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730266AbeGTANf (ORCPT ); Thu, 19 Jul 2018 20:13:35 -0400 Received: by mail-qk0-f196.google.com with SMTP id b66-v6so5297694qkj.1 for ; Thu, 19 Jul 2018 16:28:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to; bh=3Ta8HfVaVdUyz8rp0Om7TCjbPU+w+eHP2E4BeB+nmVI=; b=Uu3jViEBo//IqJchUIrOGIoG0aRgmDoQ3KvDtJ7eBxJ0wv3sdr5Z6+W3ckaHATNxoc PZACurdajguwj/u4ch0J90UiajUAm5vDE6qQMkcRVNLGNu0Fh38TwPlVvIoaF4jkbjhO 06nfbf2ZDhZg6sKKDXU8d/82Dhv3Gd2dEnJ3xZKhPsxzBUTNzmJHF9yV3I0NSSoOeDL7 rtvWnF8dEHjXHc2CPo7FjVJ6Y0EfdtyCXhx+rSAXd3GoAzlDAWtFcD71VAnpdTRvgRb/ MqhTBPrC4C4KmlWlto++0Jl6rdYCHDvEgiOgzd8hxppNCmKCy2F7QHguTZ2Iq1k3gDUi xuBQ== X-Gm-Message-State: AOUpUlH6pMGi9DMNVNX8W8E3t1sTC1jpBQvk++zQqGTjEbIvGaxf/6eO vl47XcpXevA7J0m83eIdv1+Lmw== X-Received: by 2002:a37:b286:: with SMTP id b128-v6mr10961797qkf.158.1532042892953; Thu, 19 Jul 2018 16:28:12 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc:4eb2:6dae:ab32:e5b0]) by smtp.gmail.com with ESMTPSA id f70-v6sm258205qke.77.2018.07.19.16.28.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jul 2018 16:28:11 -0700 (PDT) From: Laura Abbott To: Alexander Popov , Kees Cook , Mark Rutland , Ard Biesheuvel Cc: Laura Abbott , kernel-hardening@lists.openwall.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Will Deacon , Catalin Marinas Subject: [PATCHv2 0/2] Stackleak for arm64 Date: Thu, 19 Jul 2018 16:28:04 -0700 Message-Id: <20180719232806.3397-1-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <1531341400-12077-1-git-send-email-alex.popov@linux.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is hopefully the final version of the stackleak plugin for arm64. Acks are appreciated! Laura Abbott (2): arm64: Add stack information to on_accessible_stack arm64: Clear the stack arch/arm64/Kconfig | 1 + arch/arm64/include/asm/processor.h | 15 ++++++ arch/arm64/include/asm/sdei.h | 9 ++-- arch/arm64/include/asm/stacktrace.h | 73 ++++++++++++++++++++++----- arch/arm64/kernel/entry.S | 7 +++ arch/arm64/kernel/process.c | 17 +++++++ arch/arm64/kernel/ptrace.c | 2 +- arch/arm64/kernel/sdei.c | 51 ++++++++++++++++--- arch/arm64/kernel/stacktrace.c | 2 +- arch/arm64/kvm/hyp/Makefile | 3 +- drivers/firmware/efi/libstub/Makefile | 3 +- 11 files changed, 156 insertions(+), 27 deletions(-) -- 2.17.1