Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2007976pxa; Fri, 7 Aug 2020 00:08:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuooyS0g0IN2sO+PqT6HkirwWQ5GTI/io03DV2p4zUL9L6T8R+CzB4jsCXUiSXMZlx5XWl X-Received: by 2002:a05:6402:2031:: with SMTP id ay17mr7393159edb.46.1596784094331; Fri, 07 Aug 2020 00:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596784094; cv=none; d=google.com; s=arc-20160816; b=NP2yTg8KGM8xiMX85sVjZuy/GZ4udkbI+azDcYKnYQ4rhosvCGWmQXgLd478s02yYB 7ZDnJMhpUmAXqvE2tkPU5ZgseLIzZSY4ttE7uNoMtiewUjtxA34Zva7xWiuvprVqKvGG U4qyvMuLiE4Fya2bgP7876KiU/2BI6LbPjPav7CxeJwfevuxhB2LayyXarSVCpaAoqJy pTeL4J601JimOCISo/OyHPofd+7jFLeWwUGVn5yUlRf21TmsLcVe1eVM5jUElldzUeuR TfGWhwJq72DUVmcz1f5AZWi8FNOCe3QIPzIMO4MZL9mzjGGre+XbIh8mixtyeJClP5oB CS3A== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=oYWNp/GpuNpaVK72kwx0orN+HBmw3zsxbuspfgdgQAw=; b=sR+jv46QFQKF+qh9OWLd/JkfzJC31Aooto40mdam4H39MYIjOkK5GuneakvS0rt5yM ehiIFl5uibKlZvBLWKUTIK6oiD2ThOIWYYQ0Ct7PGgNcipH/zDw42mpMXdy4E/IZYfpQ 3y4zsa93Fv6IU2eGuQNaSVMH/q14iXHdUhNrleBjFp1DeUyFYSliJFW6LvHtpNEO0JIm Y8vx6tt7Z5Jd72SuVBulrajlHPov1upykSXGvWLuJ693RSSgYiSiJTTy75OfaW5FpGzu oJAbpXPYcD7meevD44po73rO5xlAS9D+Yy9i04X6j3a+oJ5MNrJFfOkye7d/Y68H4yuh Vvzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="vG0VER3/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si4733085ejb.283.2020.08.07.00.07.50; Fri, 07 Aug 2020 00:08:14 -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=@gmail.com header.s=20161025 header.b="vG0VER3/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726511AbgHGHEO (ORCPT + 99 others); Fri, 7 Aug 2020 03:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgHGHEM (ORCPT ); Fri, 7 Aug 2020 03:04:12 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A80C4C061574 for ; Fri, 7 Aug 2020 00:04:11 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id u24so1064106oiv.7 for ; Fri, 07 Aug 2020 00:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=oYWNp/GpuNpaVK72kwx0orN+HBmw3zsxbuspfgdgQAw=; b=vG0VER3/fpNDvr9mnd1+MncBPnDmbCH2YpAigdAFgnMGZc8mrbbOr7jFYmHBWwvC8R Y+myxpR5y2JQbZX5ykV19khJ3+KHjaZm/LFm431GzGPvUljPvBkgRiDu7yv/zndyam4W kBqs/xJhZQHVUqjJ9oSlA6oZ45LJhyHUya/jdoSEZIw9XoBKKG7Oxmo04nTK1darbxqA VgVmNRwcVDxc8Q4CtGy1Fh0cPxVE15vcrnq66hJRnxhQ9ha8ArkaerlkfIpXbqaRLzj1 ZLAByKo8qYsy7RyhtSxicVC+O6udeWYzRh4DxTes1TOLl40aKfZvGKUv7xEH3W6CZG6X Q5Wg== 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:reply-to :from:date:message-id:subject:to:cc; bh=oYWNp/GpuNpaVK72kwx0orN+HBmw3zsxbuspfgdgQAw=; b=s84mg7T98JDoylRLbHdOe+GaznhNwZkRsJ/t0hNXM4dRwKN3/csCoWraaOZJwy6enE z2kr5weclcYz1afp87ZWr5zVRIfxL0GOI88uJb2/0SUV3fk5tPviqgwgoFp76xKxLCBp RqTKvz6mIdPWsl2GMt2qLnZwuzc8nrFtGYDDMzolMoOSe3hjFPHhFdrRQxUdJx4Wk16j WG4Xqv5Z6Asg6LdJDrhV1HoWnKwJX1NyQ0Kxo32HbzHcKCtJx1r4J+x26Ngxp9ITkZYE XZPqxSeMWenGiWED83BBm2+NCt7waWScS5/N92C9Dj2zugcA3Gc26xbm6wcPhpvbyiqn Q5LA== X-Gm-Message-State: AOAM533p3oV1AQKtHOCCrGjfyiLC1rzYdUVJdjdYrLt+G3OPFZVn7Ay6 /YOXQC307sxcFzaQndxt70mKw5/NI1Q6SAqMOf8= X-Received: by 2002:aca:724f:: with SMTP id p76mr10105390oic.35.1596783851057; Fri, 07 Aug 2020 00:04:11 -0700 (PDT) MIME-Version: 1.0 References: <20200527135329.1172644-1-arnd@arndb.de> <875z9vh18a.fsf@nanos.tec.linutronix.de> In-Reply-To: <875z9vh18a.fsf@nanos.tec.linutronix.de> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Fri, 7 Aug 2020 09:03:59 +0200 Message-ID: Subject: Re: [PATCH] x86: work around clang IAS bug referencing __force_order To: Thomas Gleixner Cc: Arnd Bergmann , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "Kirill A. Shutemov" , Zhenzhong Duan , Kees Cook , Peter Zijlstra , Juergen Gross , Andy Lutomirski , Andrew Cooper , linux-kernel@vger.kernel.org, Clang-Built-Linux ML 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 Fri, Aug 7, 2020 at 12:13 AM Thomas Gleixner wrote: > > Sedat Dilek writes: > > what is the status of this patch? > > Just looked at it. > > > I needed this one to be able to build VirtualBox via DKMS as an > > out-of-tree kernel-module. > > Not being able to build the vbox rootkit is a feature, not a bug. > It must be a funny job to work for Linux/x86. Keep your humour :-). We have a second issue hitting this problem when CONFIG_LKDTM=m. There are more details in CBL issue #1120. Especially see comments from Nick [2] and user pcc [3]. Thanks. - Sedat - [1] https://github.com/ClangBuiltLinux/linux/issues/1120 [2] https://github.com/ClangBuiltLinux/linux/issues/1120#issuecomment-668736160 [3] https://github.com/ClangBuiltLinux/linux/issues/1120#issuecomment-668746486