Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp359275img; Thu, 28 Mar 2019 00:58:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvFmUvz7gDyoHfDW4fy0W7J5UUDH5YejUujuPBoVhun/4exWrItp6fPQIpOUTFxCYYSifX X-Received: by 2002:a65:648c:: with SMTP id e12mr24014805pgv.346.1553759930429; Thu, 28 Mar 2019 00:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553759930; cv=none; d=google.com; s=arc-20160816; b=azIVPafhtzLu289VwZ6I6AfIF20kHHkALdXvy8KYWFqlnf45bDUtFXHYJgU6wbZJgG SgXpJ5lDTu5fnqZzfcLIFI0PRWP4EvH0MFeohUlBHsoDRmvhDwiaU9r3le7GiaEoexb+ WghVGY+0t8BaFytinpTI4CZj7+t3rZ/sWbuqNH2+NmLYzpqIpqViTEc/KBQJ2+QntBkM z+ESUiPWbfp3v5/3i+NQsNwH8XBc/6mwWqN3EQhU8BzLeuE0qbnnQZoG5eIYVKhbRD4k s9MfrnyTh3vq4qhJyaktFlLGJUxcFOrjgK4eADoSlV4qFBXPK0OB1oTxMCySFOe6e1V4 ZKNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZMwA7IgQqKL/rIBb/w+LBA8PXjjr60ib/zfWYkFbvGg=; b=re+RdYFWvXR6acMSbjL29Wwg/OoDkrpY4HRyoUnpAi53ISElSDPKGCW2Ml4runhWid wwKBMLFfMlcrVT8RlP0QczE5d3oqzZUyRPyEWGaIgqaz9nrsCeZD1Xk7CA14bgWu2otw vF+9qfvjhd8bG1s5w/h1U2XuPCNj2aOEcFeiA+k7KFooAShX/ysyxumIefyfG82rTW0o DlNzyOehaR+VcyIDjSyjzSOX3Pn1irhbNCLJmeGQ/ff2jUmmlNRCGBNNPFdq7QnbO86V DxZqRmJALZPC1ZzxRK3N3lgkzcTsxS1lUJxRLII5ypqpJSZy75AUfL93aEvoUbaL08xy ZRqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H1PCO8U8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si20136902pgu.369.2019.03.28.00.58.34; Thu, 28 Mar 2019 00:58:50 -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; dkim=pass header.i=@linaro.org header.s=google header.b=H1PCO8U8; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726348AbfC1H5n (ORCPT + 99 others); Thu, 28 Mar 2019 03:57:43 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:40035 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfC1H5n (ORCPT ); Thu, 28 Mar 2019 03:57:43 -0400 Received: by mail-it1-f196.google.com with SMTP id y63so4524312itb.5 for ; Thu, 28 Mar 2019 00:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZMwA7IgQqKL/rIBb/w+LBA8PXjjr60ib/zfWYkFbvGg=; b=H1PCO8U8C2YlBa/OyE6m8KjQo7NKnYJxuka6CpV/JGDC/4f3CgpFVe595r7BTx4RCD QyMap3S814G8XOLmjcsGbXnVAQm0tEzkSfWdw8UlkM7oVT2usfbg5KLfGPtwDtYJtcg2 1RNuWBRhNEaEWUBCMPcv3x+2Z6bEtLRxbMgqfqYgcRLGt0/7aaAA7bTtWuYUK7NaDFm5 OPXomXf2FtmcRhFol2c2BcMAVZdDxYU0fIdmQeOd1Ioh0tAjvsvzBJ0WlwlyFDQmx8X9 TkJRxPX5SxPq8060gcWU/oj/6CCmk5YfBrZcjSvu2pqB5dc1im3uBdlkUAkVTxn7D/gJ U44g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZMwA7IgQqKL/rIBb/w+LBA8PXjjr60ib/zfWYkFbvGg=; b=qf5kW8fVZwdpro4SlRHvvFxijuDm+fs+DPE6RnHINdtTNrXPxIcXZeqNVBWVcdg4oL 5jGVqVHav4rN2iZMIIOKJt/B6oITVfysBEoY4XpOZa3fe7xe1XFr7Vau/mEK27xByl8n 1aLvI7baR2pATKI+Pm8LenmWfsKIQalTf69utnhmgpNomxyym2skH0D/uszCpX68xXJh AseNXh1MyBGrmM/1lhmB6ZZSynOegDDYgn8q0pi+EUF3EJX8oMvUBECO/6kLMibrglDr OrauaKlWbO5vDI9Si/9ntkPlCfNfq+ZjnAN/DdiAfEQEelrppAaAG1BPTlOFBqvKqmo5 RUyg== X-Gm-Message-State: APjAAAVOyGbNc3nkUlUVM4FyDo/OHBU6ZgDvVDG/ngZEaqOGquUmuQs8 IHzj1AohGcppQ7TwjoDcqR6HWILCr+/biSA+EqmNVw== X-Received: by 2002:a02:ac14:: with SMTP id a20mr31235029jao.130.1553759862299; Thu, 28 Mar 2019 00:57:42 -0700 (PDT) MIME-Version: 1.0 References: <20190320130502.16667-1-rrichter@marvell.com> <20190320131607.vgst3r7ynha55ikw@rric.localdomain> <20190320152240.2eun63wqkbqmuqkg@rric.localdomain> <20190328075510.svjbjdonrncrr73m@rric.localdomain> In-Reply-To: <20190328075510.svjbjdonrncrr73m@rric.localdomain> From: Ard Biesheuvel Date: Thu, 28 Mar 2019 08:57:30 +0100 Message-ID: Subject: Re: [PATCH v2] efi: Unify dmi setup code over architectures arm/arm64, io64 and x86 To: Robert Richter Cc: Tony Luck , Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "x86@kernel.org" , Jean Delvare , Marcin Benka , "linux-ia64@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-efi@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Mar 2019 at 08:55, Robert Richter wrote: > > On 27.03.19 19:53:47, Ard Biesheuvel wrote: > > On Wed, 20 Mar 2019 at 16:23, Robert Richter wrote: > > > > > > On 20.03.19 14:16:07, Robert Richter wrote: > > > > On 20.03.19 13:05:37, Robert Richter wrote: > > > > > @@ -167,6 +167,7 @@ static int __init arm_dmi_init(void) > > > > > * itself, depends on dmi_scan_machine() having been called already. > > > > > */ > > > > > dmi_scan_machine(); > > > > > + dmi_memdev_walk(); > > > > > if (dmi_available) > > > > > dmi_set_dump_stack_arch_desc(); > > > > > return 0; > > > > > > > > After > > > > > > > > [PATCH] efi/arm: Show SMBIOS bank/device location in cper and > > > > ghes error logs > > > > > > > > wents in for arm/arm64, we can unify the code. See patch below. > > > > > > V2 with the fix in arm_dmi_init() below. > > > > > > > Could you please resend this as a proper patch? I am having trouble applying it. > > I just resent the patch. But this worked for me: > > $ wget -nd -O - https://lore.kernel.org/patchwork/patch/1052718/mbox/ | git am -smc -3 - > > Not sure what was wrong. > Thanks. Not sure either, but I managed to apply it now, with s/io64/ia64/, and Jean's R-b added. -- Ard.