From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754669AbbINIyj (ORCPT ); Mon, 14 Sep 2015 04:54:39 -0400 Received: from casper.infradead.org ([85.118.1.10]:35086 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753824AbbINIyh (ORCPT ); Mon, 14 Sep 2015 04:54:37 -0400 Date: Mon, 14 Sep 2015 10:54:25 +0200 From: Peter Zijlstra To: Sedat Dilek Cc: Baoquan He , Denys Vlasenko , Tejun Heo , Christoph Lameter , LKML , Andrew Morton , David Rientjes , Linus Torvalds , Thomas Gleixner , Thomas Graf , Ingo Molnar , the arch/x86 maintainers , llvmlinux@lists.linuxfoundation.org Subject: Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Message-ID: <20150914085425.GN18489@twins.programming.kicks-ass.net> References: <20150909071410.GD1998@dhcp-17-102.nay.redhat.com> <20150909125424.GP3644@twins.programming.kicks-ass.net> <20150914071231.GM18489@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 14, 2015 at 09:35:04AM +0200, Sedat Dilek wrote: > > /me goes back to ignoring LLVM for the time being. > The issue was reported as LLVM PR #9457 [1] and the bug-history [2] says... > > Reported: 2011-03-11 07:27 CST by PaX Team > > ...so it is a known and old issue. > Beyond "fixing" or implementing missing (GCC) features on the LLVM-Clang-side... > People there have some discussion and ideas on a "workaround" or fix > it on the Linux-kernel-side. Barring LLVM implementing the relevant function call attributes, you could look at either generating the required thunks (as mentioned earlier as a work-around) or at the very least validating that all required thunks are present. > I invite you to join the discussion at LLVMLinux... > As I know... "YES, you can." Linux x86/x86_64 (assembler) Kung-Fu. > ( I admit I have not these skillz. ) Its a matter of time for me; I simply do not have enough time as it is so I have to make choices.