From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH v3 1/4] x86/mm: declare check_la57_support() as inline Date: Fri, 2 Nov 2018 12:27:29 +0100 Message-ID: <20181102112728.GC14602@zn.tnic> References: <20181028130945.23581-1-changbin.du@gmail.com> <20181028130945.23581-2-changbin.du@gmail.com> <20181028140911.21d49629@vmware.local.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Masahiro Yamada Cc: Steven Rostedt , Changbin Du , Michal Marek , Thomas Gleixner , Ingo Molnar , Russell King , Andrew Morton , Greg Kroah-Hartman , X86 ML , Linux Kbuild mailing list , Linux Kernel Mailing List , linux-arm-kernel , linux-sparse@vger.kernel.org, Robin Murphy List-Id: linux-sparse@vger.kernel.org On Mon, Oct 29, 2018 at 10:04:46PM +0900, Masahiro Yamada wrote: > On Mon, Oct 29, 2018 at 3:09 AM Steven Rostedt wrote: > > > > On Sun, 28 Oct 2018 13:09:42 +0000 > > Changbin Du wrote: > > > > > The level4_kernel_pgt is only defined when X86_5LEVEL is enabled. > > > So declare check_la57_support() as inline to make sure the code > > > referring to level4_kernel_pgt is optimized out. This is a preparation > > > for CONFIG_CC_OPTIMIZE_FOR_DEBUGGING. > > > > > > Signed-off-by: Changbin Du > > > > Reviewed-by: Steven Rostedt (VMware) > > > > -- Steve > > > > Applied to linux-kbuild. Next time, before you route a patch through your tree, please get an x86 maintainer's ACK first. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.