Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3332513imm; Fri, 20 Jul 2018 14:43:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcISZTU0nBO2eBnxP1K+Qc4bFF4cbvhdFi2mLxZQXVIxNdpI1W/CGe/mZpzsmWtVqJ8qMBH X-Received: by 2002:a17:902:68:: with SMTP id 95-v6mr3611699pla.178.1532122986995; Fri, 20 Jul 2018 14:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532122986; cv=none; d=google.com; s=arc-20160816; b=C95I0QoBOZbIvlcL0QYtdO8RYu907qhZxOMF2WxZe/jd1NUxVdO06IYzKUQ8z3ZCAk DwIBYU2tCsUCG/I7qHCZCa+elSx3jadBPoyU/DMaOKIkLfVXTpSROyAQ9tqgZ+5Jkkyb TOSoeVq1SZDfOG6VuYS0uVGCaW6eKiceGXOyl4hOY/mzWRo0r+dFR1PrgSK0Y7A+ZExM /InxVwy11cnFr9IQrHRIv9vuLQN5q5wIwVoW4+EPEHhl6UswLFAEiIRfts76S8bFMVfW vEx9a1zYi5kVfbanHdygyssJRfsElgDRLtyms1WH2wvlyuMWyYuyV286kbXnG3L0LJgN /kBw== 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=/mIYvgBgVnR3zMDpjtUG0E3aztEbX+HkQu1AxZy8yMA=; b=BnHxA5mwMrVhP8DtLZts9EHSppnJX22c4a9TuYZcfvXVv1cdRtjbQqo5w07l8XXb/4 83LQHSkP1Y2xX4SNpVMR1t6ai5eKbVafsX0TmTmfe3uIGAicAvZMAr94PDVWyN4zTlhc KLpccZ5799Xt6jXPbk9m4TGMU8zBlX5O+/rqcgiiuq22QbE53MjUkrx6kk4BZK+ucUpp 9GZIhpIf+S8TmO+O/y4YBjQL1fLy7N2UeGhHDk6NIgsbym9LWcGrJORNqBzbUe7JJ9My qx+XsUYDoR5X49pRP9LSfxp8NAAmX7ab+45G3WNYwlLb6ad/ZtN3lKfiQzzbQPWHEf0/ BdKQ== 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 p84-v6si2869225pfl.17.2018.07.20.14.42.51; Fri, 20 Jul 2018 14:43:06 -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 S1728363AbeGTWcH (ORCPT + 99 others); Fri, 20 Jul 2018 18:32:07 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:45964 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727749AbeGTWcH (ORCPT ); Fri, 20 Jul 2018 18:32:07 -0400 Received: by mail-qk0-f195.google.com with SMTP id c192-v6so7035744qkg.12 for ; Fri, 20 Jul 2018 14:42:00 -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=/mIYvgBgVnR3zMDpjtUG0E3aztEbX+HkQu1AxZy8yMA=; b=ICMM6YCSGatM+44yu/D2a7p+WUtY37DjANlOJuzm+a4ojQPdIEAuMGBp1kiBwBvG8W KjCSgIbK8IMw/kl3yE1Bjx7NTCygHIytjF+Xbrf0liZW84/djmwuDZseJsoT4Qrc1+N0 JsEQ7HWma4capCEAIN12QieDlyB3i4dlIBBSAcFfbH0rop9Ynxz3qsa6e+Pbbsn8W2GW yEnT7J91BvdK1Xq1ICTtOzHidxfMexVUgfMWQZI32k34tySw2CM/MFuUNVKKj0m+Woi9 uXr9w8OjRnfITQfq5Dntro90z367ulUN5CgtQfhpMb0mV4rkdUyw5z3g64806O/WQi1J fAmw== X-Gm-Message-State: AOUpUlEhsJx3rMnjscN7x2d78d3xeGYQ7SaFnr4Evri25oUCDTuBQjWZ +dxqqpLKiTWkwm2A07b2HiOAmA== X-Received: by 2002:a37:8ac5:: with SMTP id m188-v6mr3329536qkd.297.1532122919627; Fri, 20 Jul 2018 14:41:59 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc:4eb2:6dae:ab32:e5b0]) by smtp.gmail.com with ESMTPSA id r4-v6sm1617385qtm.10.2018.07.20.14.41.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Jul 2018 14:41:58 -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: [PATCHv3 0/2] Stackleak for arm64 Date: Fri, 20 Jul 2018 14:41:52 -0700 Message-Id: <20180720214154.2940-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 the version of stackleak for arm64, hopefully ready for queueing Laura Abbott (2): arm64: Add stack information to on_accessible_stack arm64: Add support for STACKLEAK gcc plugin 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 | 22 ++++++++ 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, 161 insertions(+), 27 deletions(-) -- 2.17.1