Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1684554ybz; Thu, 16 Apr 2020 13:38:58 -0700 (PDT) X-Google-Smtp-Source: APiQypIzRqH4GdeccuIYIrn6BGi50ie1+im3biIlr9hWx0yuPuDSsZZGRvWY+XD2xGqYA4hLVWz5 X-Received: by 2002:a17:906:cf8a:: with SMTP id um10mr11110432ejb.60.1587069538101; Thu, 16 Apr 2020 13:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587069538; cv=none; d=google.com; s=arc-20160816; b=b69/VKK+zoGlRCQ78Gxkc7cqAkcA0U2PQSK+CKa6MB9qKgQlBeyVwpmciVw4+7VpBg uIv6nz3G7AnXbeCI3GM5g369f/zljWLEQ+3RWEBIe4fyDZ4XTuJ8t1JoWFs///zHSPyb dkfTYtTi3quDUcAa3ReG9szyso7lcsrjpHXJhpUb3ul7460w09bHuJK+pQM0Tqp5pl2E rqoZ4aSv9m2O+dx7e9sYwou6w5GNiGHWlyfwX+RrH69fVcmRWAVHJKPwzjgfDTW0/AJD Vygmeqnck1B6PU/r4p166bq8E4h4zCcCkcF9rPqkb4FpJLzPpt9MH/MDtFcwGLnW0j/K OdVQ== 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=Rr3UZdS0FbdLKXLD+e4uxIJokonKgUbMhLO013PiX/o=; b=iWd6+bivyRN9zyaJigA8E8OGXC3Bl5JBYHSJPRunEQ81v+JnoaTb/V9cwoudNAaaZB 97SFDBdbNYf5QLdz87y4An0nk/xOk1DUK7UC1D+jikwYdZNGDLrHphJ9xhyTtWDnbv/+ wOB9KzWqYELRzWZuU3wcK2Sv2xe9DrRMiD6uc4Ui4NUD/6CWK9amcdfyx2g2MicyQw5E u62X5CMuuwME8n1SkuWoQUIn5EWAgeGeEuevbPX50OOw5rH802/VcEfnF42mf8MVPi2r BfsaNnQJz1sEEgw2cQvJw+pklq5xbHjtxPGY3QXw+IfRu7ekKlf93jr3DizJleSF8suM LDPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Wd6gpeje; 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 d21si13806087ejk.498.2020.04.16.13.38.35; Thu, 16 Apr 2020 13:38:58 -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=Wd6gpeje; 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 S2409843AbgDPQBr (ORCPT + 99 others); Thu, 16 Apr 2020 12:01:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:37346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2636447AbgDPQBk (ORCPT ); Thu, 16 Apr 2020 12:01:40 -0400 Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (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 DC9E5214AF; Thu, 16 Apr 2020 16:01:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587052899; bh=GRMBxBlJT/dO0QD5MNbcBQeYW30XVAvGkRBTy11zOTs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Wd6gpejeL4CD8GUdf4YOdFd2JV29pdtKPe9SZek/dgSskzy/RLN+hLerzcN4Gv5CO oD4TsUO4ngAUFXYY0s4mZm09YALzZoiWP86TLZVs96jY+ONPtcqWPp7nC+Jilcwv5H WW+Z9SXGgiRB1gO+Qz7+Do1Xdahl8FxCmlT2Ytl4= Received: by mail-io1-f50.google.com with SMTP id n10so21551870iom.3; Thu, 16 Apr 2020 09:01:39 -0700 (PDT) X-Gm-Message-State: AGi0PubTzof1dhfBsJ00kt0jXm4DVcWJEgrUZTenTlmsKJAyA0tjYzvN 7qQg2Nl9R+KbjtcTvx/5KtOJixFlRfz3XetsbLw= X-Received: by 2002:a02:3341:: with SMTP id k1mr22768776jak.74.1587052899328; Thu, 16 Apr 2020 09:01:39 -0700 (PDT) MIME-Version: 1.0 References: <20200415221520.2692512-1-nivedita@alum.mit.edu> <20200416151227.3360778-1-nivedita@alum.mit.edu> In-Reply-To: <20200416151227.3360778-1-nivedita@alum.mit.edu> From: Ard Biesheuvel Date: Thu, 16 Apr 2020 18:01:27 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/3] efi: Remove __efistub_global annotation To: Arvind Sankar , Atish Patra Cc: linux-efi , Linux ARM , X86 ML , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Linux Kernel Mailing List 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, 16 Apr 2020 at 17:12, Arvind Sankar wrote: > > This patch series removes the need for annotating global data in the EFI > stub with __efistub_global for ARM32 and X86. > > This is done by renaming the .data and .bss sections in the object files > linked into the EFI stub to .data.efistub and .bss.efistub respectively, > and including those sections into the compressed kernel's .data section > using its linker script. > > Changes from v1: > - drop patch 2 and squash patches 3 and 5 for x86 > - fix R_X86 -> R_386 > - only check native relocation size (32-bit for R386 and 64-bit for > RX86_64) > Thanks Arvind. I have queued these up now. Atish, I have queued up the first 2 patches of your RISC-V EFI stbu series as well. Please base your next version on https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git/log/?h=next Thanks, Ard.