Received: by 10.223.185.116 with SMTP id b49csp1351936wrg; Fri, 23 Feb 2018 17:06:32 -0800 (PST) X-Google-Smtp-Source: AH8x225sNMhVAWcj9b4cl1TQt5V/7z0hhhz++POlR/CTl0KwTLXKN1N1YTp1LvTT5YHU+iuBAU/8 X-Received: by 10.99.186.22 with SMTP id k22mr2713420pgf.7.1519434391990; Fri, 23 Feb 2018 17:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519434391; cv=none; d=google.com; s=arc-20160816; b=JHhldO6wfC2MsGG804W19TYNHGb92Mv5yYmtHRBALTAz7MgYwyf6KS5NYxk/Uq/hus Qo0+xC8qO5hK2qEGsADgJ/BrCafdyc/Zzt+LLemWy/5ae/NNE+UzDhhReVRpFyi74fw/ +Je+KsSB6mHwt2fZbi4rMW+KmteuV0ytX8hwmXfZXQmkR6f7BWJ1TXSxwLTvgNKWw6zV 3nWH7hsyaBmY1NNmtkWtI/z7R+4Z0MvZc0V5hjIH16FwLf683yMXLl7FniGf8R9H63gK hNVSXz/homsU3CTep70nwb7jrwBtKp6OgH9s0FDPS2uU8QHhwIRVwakzygdF1zh/FYDA Mq8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=xLuI0cW/GjDdIXGY7CnCjd+CAQHpxwD3iQlJK8bbnYE=; b=lwIyzihG9D7uI5L5NnqVrJt8XTOX7OiLcGowMmhIQJIrwbHe1KPLH5vLY2wPTUh/Db V8ourrs78f2jkLqcIC1c9bJ1SspjK4rQjGMxgTjv6XcQXzRyuSPxU4A+74/IGj0S/837 0SPiJnzmuF8e1YW9j7fcwnpHsMfov10h8dU1TO/KpNtUzKNO5V3FJ2Zef4oZqcK3/GY7 gSht+P8QWnGLQeFAjMlLfwnkDQJyaY1EDroILp3B1qa4VffcTpFY23K3N+us8f+hfh5M tKKb6wOnIdbgw2ZdU7RuSpjqLnyI/sX3vbb3CsU0/NK432xfkPTlzxYRfiZ5YBEAFOb4 SvJQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8-v6si2600764pli.188.2018.02.23.17.06.17; Fri, 23 Feb 2018 17:06:31 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752433AbeBXBFc (ORCPT + 99 others); Fri, 23 Feb 2018 20:05:32 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45228 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbeBXBF3 (ORCPT ); Fri, 23 Feb 2018 20:05:29 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1O14Sf3000843 for ; Fri, 23 Feb 2018 20:05:29 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gaqr2vj79-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 23 Feb 2018 20:05:29 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 24 Feb 2018 01:05:26 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 24 Feb 2018 01:05:20 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1O15J9Y32702648; Sat, 24 Feb 2018 01:05:19 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E976911C05B; Sat, 24 Feb 2018 00:58:18 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A0A9511C052; Sat, 24 Feb 2018 00:58:13 +0000 (GMT) Received: from ram.oc3035372033.ibm.com (unknown [9.85.198.86]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Sat, 24 Feb 2018 00:58:13 +0000 (GMT) Date: Fri, 23 Feb 2018 17:05:11 -0800 From: Ram Pai To: kbuild test robot Cc: kbuild-all@01.org, mpe@ellerman.id.au, mingo@redhat.com, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, x86@kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com, benh@kernel.crashing.org, paulus@samba.org, khandual@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, bsingharora@gmail.com, hbabu@us.ibm.com, mhocko@kernel.org, bauerman@linux.vnet.ibm.com, ebiederm@xmission.com, corbet@lwn.net, arnd@arndb.de, fweimer@redhat.com, msuchanek@suse.com Subject: Re: [PATCH v12 1/3] mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled Reply-To: Ram Pai References: <1519257138-23797-2-git-send-email-linuxram@us.ibm.com> <201802231528.snWZIspR%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201802231528.snWZIspR%fengguang.wu@intel.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-TM-AS-GCONF: 00 x-cbid: 18022401-0040-0000-0000-0000043732BE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022401-0041-0000-0000-000020D95288 Message-Id: <20180224010511.GK5559@ram.oc3035372033.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-23_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802240012 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 23, 2018 at 03:11:45PM +0800, kbuild test robot wrote: > Hi Ram, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.16-rc2 next-20180222] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > chmod +x ~/bin/make.cross ...snip.. > # save the attached .config to linux build tree > make.cross ARCH=powerpc > > Note: the linux-review/Ram-Pai/mm-x86-powerpc-Enhancements-to-Memory-Protection-Keys/20180223-042743 HEAD c5692bca45543c242ffca15c811923e4c548ed19 builds fine. > It only hurts bisectibility. oops, it broke git-bisect on powerpc :-( The following change will fix it. This should nail it down. diff --git a/arch/powerpc/include/asm/pkeys.h b/arch/powerpc/include/asm/pkeys.h index 0409c80..0b3b669 100644 --- a/arch/powerpc/include/asm/pkeys.h +++ b/arch/powerpc/include/asm/pkeys.h @@ -25,6 +25,7 @@ # define VM_PKEY_BIT1 VM_HIGH_ARCH_1 # define VM_PKEY_BIT2 VM_HIGH_ARCH_2 # define VM_PKEY_BIT3 VM_HIGH_ARCH_3 # define VM_PKEY_BIT4 VM_HIGH_ARCH_4 +#elif !defined(VM_PKEY_BIT4) +# define VM_PKEY_BIT4 VM_HIGH_ARCH_4 #endif