Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp35025imm; Tue, 5 Jun 2018 14:32:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJlmyKudmldauIqQzJEstKvlvXoPIgxFCYwLe/0hbz+m5WM0pdRJUjX2AeUypT0yJggd+N6 X-Received: by 2002:a17:902:6903:: with SMTP id j3-v6mr291303plk.313.1528234339433; Tue, 05 Jun 2018 14:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528234339; cv=none; d=google.com; s=arc-20160816; b=KHJn7iVHpN6J3Ppof5+9r24d1fak/UO75A40L48pOqCm3k5kbp6bms0DDEAAe0qiRJ MJDEyQNPM/97noqro3RqGO96QxovdRtbB5Ff6T79eGjlDSNxH5tBT2mZRF7BO4kCz/Cs 4oUT0uzSkVn0H8Gj8k6lwU+k5jmPCAQLJlzWuhLL+TmBhO8y7UG41+fpdlWWjlNc9NVG TfhpBmeorFckIAOOsy5yf1w5g8cCtdi/pIGPIZHWp7BOVQcQjUzRMGhlku6NeqOEMBdI 4phyXyYhrv4NjLHi7zCm87S7Eqn1UdOzkhkK9MQqtwZsHCfWxJs0KP+mI3hT/v6XWAxE wdbg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=/qJQ0xK0WCgd100I9HEmFpA++UrT3URSb5ewXjKCW6k=; b=luKh1jz3Vzdnf838Ztbll1oofN3STGxdPMKrdmnifISexNXBNEX6tIxBHkZmgnLs63 Q1FWORj5U4WdqRfgV0e1/1W7uFvdK+CcceAhj6AjaBahvdeSNnuXULouOoepTmAKa3rw pWjTpqleyNqg0b9uImPkaNlU7wMqM9GMtBFUACq31kS28uqkX6gyMm/0l1lzKh9NM+v1 ZaolExZQ0I9azfICf4nA4g1VD+owQ+bxBISOpCgbxGnIug5EC+5TVhddcoKFUYRDaD+F mBBddo7zTuSbprvzwfQ40Vla0hDNwjiNvkFly2Cu5s5C/Kqbj0L3lBwIZwQEP4lbnZOo kaNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UQouJppU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9-v6si39270354pgc.601.2018.06.05.14.32.04; Tue, 05 Jun 2018 14:32:19 -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=fail header.i=@gmail.com header.s=20161025 header.b=UQouJppU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751941AbeFEVbj (ORCPT + 99 others); Tue, 5 Jun 2018 17:31:39 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:43630 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600AbeFEVbg (ORCPT ); Tue, 5 Jun 2018 17:31:36 -0400 Received: by mail-io0-f195.google.com with SMTP id t6-v6so5162260iob.10; Tue, 05 Jun 2018 14:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/qJQ0xK0WCgd100I9HEmFpA++UrT3URSb5ewXjKCW6k=; b=UQouJppUvd8cCAhb3iwqXlKZuEA8UGe5nM19YYHdl4pcFEZKBxzH29ivcIcRHX5izZ TZETuIQAygSSk0G6mYYR/B4tPII8S6E6YojnDStSVQe8XCKhyK7JfUzGuSTc8A+GPYQL RG0PQM2sPPlRS/d/sMGvkmr7E1hEdqUkmJFtSR8M8LXZDkHettuJL5A2WSiGM7mh/eh3 ER8EDjRi0zYSMVrZsOA4A4bc4FkpdDKZYVbaWWXsY5XgBPcTczhYOJjbDlaWkoM0l/IJ ulyLxbBwPvlZ1ulNrMhOZmXmLhDhLyG3Jed8Fgr3m+Eyf5pkwIIRfchbqQwffPzBkfkw 2Ycg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/qJQ0xK0WCgd100I9HEmFpA++UrT3URSb5ewXjKCW6k=; b=L4ZaS/MSkPVhbvxwe94bjh2UDHuNaxHgm5w9NALHYDaHlDCAWIgx65ejQXHnkRAMeN MtCu0OCmVdL0KcmgX7ATdGGJN75K+DpGRfB9238fs3T5RWCh86acduqdD7D5TN4jZlbr aG9pWCe3MjJqRgy4bgSeivWLWXhn1pTaCBfNSn0gU6BHLUas1qzWtHYGTAb9uY3SR895 olgoPWSEwkzcz+lxdKOfijbBygNO2pC+pPT/OIckkxX1h+qpERQyFRzG6OS0tJN3DE5d FAYjG/u+mPAoR2hFPpPhf6nrFWJ95Pd63DFRobxlJyYtW/J7oqtmTtzEr3RKQrabzKlz 7/4g== X-Gm-Message-State: APt69E27uO4Vxk4qoUEzTpHzglgduCo5Mpqi79ehgHCk0s7Bpmixe/dC lb9EXSYVR+6VMP6XzQIDVhFyD1R4RQoaIMTtDU4= X-Received: by 2002:a6b:9c95:: with SMTP id f143-v6mr380763ioe.22.1528234296057; Tue, 05 Jun 2018 14:31:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:7515:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 14:31:35 -0700 (PDT) In-Reply-To: References: <20180605170532.170361-1-ndesaulniers@google.com> <20180605170532.170361-3-ndesaulniers@google.com> From: Arnd Bergmann Date: Tue, 5 Jun 2018 23:31:35 +0200 X-Google-Sender-Auth: IUVe0cpAn_tLcUbnK-Vas7qebm4 Message-ID: Subject: Re: [PATCH v2 2/2] x86: paravirt: make native_save_fl extern inline To: Nick Desaulniers Cc: Andrew Morton , Ard Biesheuvel , Andrey Ryabinin , akataria@vmware.com, Boris Ostrovsky , Brijesh Singh , Cao jin , gregkh , "H. Peter Anvin" , Jan Kiszka , Jarkko Sakkinen , Juergen Gross , Josh Poimboeuf , "Kirill A . Shutemov" , Ingo Molnar , mjg59@google.com, Matthias Kaehlcke , Philippe Ombredanne , Steven Rostedt , Thomas Gleixner , "Lendacky, Thomas" , tweek@google.com, linux-efi@vger.kernel.org, Linux Kernel Mailing List , "the arch/x86 maintainers" , virtualization@lists.linux-foundation.org, astrachan@google.com, manojgupta@google.com, Greg Hackmann , sedat.dilek@gmail.com, tstellar@redhat.com, Kees Cook , Masahiro Yamada , Michal Marek , Linux Kbuild mailing list , Geert Uytterhoeven , Will Deacon , mawilcox@microsoft.com, David Rientjes 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 Tue, Jun 5, 2018 at 11:28 PM, Arnd Bergmann wrote: > On Tue, Jun 5, 2018 at 7:05 PM, Nick Desaulniers > wrote: >> >> The semantics of extern inline has changed since gnu89. This means that >> folks using GCC versions >= 5.1 may see symbol redefinition errors at >> link time for subdirs that override KBUILD_CFLAGS (making the C standard >> used implicit) regardless of this patch. This has been cleaned up >> earlier in the patch set, but is left as a note in the commit message >> for future travelers. > > I think the keyword you are missing is > > __attribute__((gnu_inline)) > > which forces the gnu89 behavior on all compiler versions. It's been supported > since gcc-4.2, so it should not cause problems on any compiler that is able > to build an x86 kernel. Nevermind, I just saw you already posted that. Arnd