From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by kanga.kvack.org (Postfix) with ESMTP id 394296B0003 for ; Mon, 5 Nov 2018 01:39:31 -0500 (EST) Received: by mail-oi1-f200.google.com with SMTP id l204-v6so5824878oia.17 for ; Sun, 04 Nov 2018 22:39:31 -0800 (PST) Received: from scalemp.com (www.scalemp.com. [169.44.78.149]) by mx.google.com with ESMTPS id h53si13366717otd.319.2018.11.04.22.39.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Nov 2018 22:39:30 -0800 (PST) Subject: Re: [PATCH v2] x86/build: Build VSMP support only if CONFIG_PCI is selected References: <2130cd90-2c8f-2fc4-0ac8-81a5aea153b2@scalemp.com> From: Eial Czerwacki Message-ID: Date: Mon, 5 Nov 2018 08:39:22 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner Cc: LKML , Juergen Gross , Randy Dunlap , "Shai Fultheim (Shai@ScaleMP.com)" , Andrew Morton , "broonie@kernel.org" , "mhocko@suse.cz" , Stephen Rothwell , "linux-next@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "mm-commits@vger.kernel.org" , X86 ML , Oren Twaig Greetings Thomas, On 11/04/2018 11:05 PM, Thomas Gleixner wrote: > Eial, > > On Thu, 1 Nov 2018, Eial Czerwacki wrote: > >> Subject: x86/build: Build VSMP support only if CONFIG_PCI is selected > > That's not what the patch does, right? > you are correct, I'll resend it with a more appropriate subject. >> vsmp dependency on pv_irq_ops removed some years ago, so now let's clean >> it up from vsmp_64.c. >> >> In short, "cap & ctl & (1 << 4)" was always returning 0, as such we can >> remove all the PARAVIRT/PARAVIRT_XXL code handling that. >> >> However, the rest of the code depends on CONFIG_PCI, so fix it accordingly. >> in addition, rename set_vsmp_pv_ops to set_vsmp_ctl. >> >> Signed-off-by: Eial Czerwacki >> Acked-by: Shai Fultheim > > Unfortunately that patch does not apply. It's white space damaged, i.e. all > tabs are converted to spaces. > > Thanks, > > tglx > weird, it got applied without any issues on latest git, I'll verify it applies well. Eial.