Message ID | 1414499060-6350-1-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | Accepted |
Commit | d8c6d8b877cb2a216e933ce11954632a9daeb362 |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBBDMXX2RAKGQEQQO6DSQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E9BD124046 for <linaro@patches.linaro.org>; Tue, 28 Oct 2014 12:26:54 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id mc6sf374796lab.11 for <linaro@patches.linaro.org>; Tue, 28 Oct 2014 05:26:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=BXv1xbVEtVlyMuHY6rx+FeMqU136ZfnVNkizuYUH3Yg=; b=Vn2Lja+1R59sVeeUef3qeQWD0/8ukk4yODkL1Nv/f6NXMXcetDkUBWITM7fe6k+7T2 12l29AjKmAlRMI+ezcWaSZs2HXBlbANSYIYhd8908sqHRzidPDkuIrljFYkbBawB061p sUDrf9CBdmlfiyKt4VXx2Ih4Ex107OHG5Gml4hdvhshTLurjPsGY/cBoFryHtxf1F/c/ NXBtTHuTqT8RIgTQZ6fY06+6YWAYIGsE0dF5E02fZ1gDVFFf8BDWBlOjp4gpCWLvBKH7 EADv/0SGNVYjrTC8oCHvfV8Yqe3tMlwN2jeowXAPAH8kaq3TdJifbYtuyHXcWnbxWMpH DgwA== X-Gm-Message-State: ALoCoQlCVGIFa2h39RXn4bWik2icVSE/KgNBg8j9eH1BA9FUjpjlpolcFXIkoTAuuvmYjjQc2sgl X-Received: by 10.181.11.130 with SMTP id ei2mr694335wid.3.1414499213774; Tue, 28 Oct 2014 05:26:53 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.202.230 with SMTP id kl6ls55015lac.99.gmail; Tue, 28 Oct 2014 05:26:53 -0700 (PDT) X-Received: by 10.152.9.137 with SMTP id z9mr3759800laa.14.1414499213614; Tue, 28 Oct 2014 05:26:53 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id e3si2327190lam.28.2014.10.28.05.26.53 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 05:26:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id hs14so495927lab.33 for <patchwork-forward@linaro.org>; Tue, 28 Oct 2014 05:26:53 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr3692986lab.40.1414499213225; Tue, 28 Oct 2014 05:26:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp468857lbz; Tue, 28 Oct 2014 05:26:52 -0700 (PDT) X-Received: by 10.66.181.233 with SMTP id dz9mr979706pac.103.1414499211681; Tue, 28 Oct 2014 05:26:51 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id f4si1178591pdn.154.2014.10.28.05.26.51 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Oct 2014 05:26:51 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xj5pT-00044C-4v; Tue, 28 Oct 2014 12:24:51 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xj5pP-0003nZ-5i for linux-arm-kernel@lists.infradead.org; Tue, 28 Oct 2014 12:24:47 +0000 Received: by mail-wg0-f49.google.com with SMTP id x13so697169wgg.8 for <linux-arm-kernel@lists.infradead.org>; Tue, 28 Oct 2014 05:24:23 -0700 (PDT) X-Received: by 10.194.190.19 with SMTP id gm19mr3910193wjc.4.1414499063612; Tue, 28 Oct 2014 05:24:23 -0700 (PDT) Received: from ards-macbook-pro.local (cag06-7-83-153-85-71.fbx.proxad.net. [83.153.85.71]) by mx.google.com with ESMTPSA id j8sm15230818wib.10.2014.10.28.05.24.21 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 05:24:22 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: will.deacon@arm.com, leif.lindholm@linaro.org, mark.rutland@arm.com, catalin.marinas@arm.com Subject: [PATCH] arm64/dt: add machine name to kernel call stack dump output Date: Tue, 28 Oct 2014 13:24:20 +0100 Message-Id: <1414499060-6350-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141028_052447_372251_0AC468EF X-CRM114-Status: GOOD ( 10.27 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.49 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: grant.likely@linaro.org, rob.herring@linaro.org, linux-arm-kernel@lists.infradead.org, Ard Biesheuvel <ard.biesheuvel@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
On Tue, Oct 28, 2014 at 01:24:20PM +0100, Ard Biesheuvel wrote: > This installs the machine name as recorded by setup_machine_fdt() > as dump stack arch description. This results in the string to be > included in call stack dumps, as is shown here: Thanks, I've just added this to ARM as well.
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index a6028490a28f..da5dd36e4353 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -312,6 +312,7 @@ static void __init setup_machine_fdt(phys_addr_t dt_phys) } machine_name = of_flat_dt_get_machine_name(); + dump_stack_set_arch_desc("%s (DT)", machine_name); } /*