Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 747C7C433E1 for ; Mon, 20 Jul 2020 06:07:44 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A683D2080D for ; Mon, 20 Jul 2020 06:07:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="aETQsTd0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A683D2080D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4B9B8s64tVzDqN2 for ; Mon, 20 Jul 2020 16:07:41 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4B9B6q4xdwzDqTJ for ; Mon, 20 Jul 2020 16:05:55 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=aETQsTd0; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4B9B6q0qKSz9sR4; Mon, 20 Jul 2020 16:05:55 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1595225155; bh=zU+qiLwLcNmQZhQfJxLAEcRnO/3oGFVMAZjQzLcLmVM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aETQsTd0lEC+9xIjhMmhABXHlbVCtRKo7N35xbJcnQzs3865+D9sKvArX/rJYUoRl 0PX4G0zKTnXc7ujIltCqzD2GtaC29U4eG5JPVnqGW2WXTk2xQu3FySINdZB67EX72m JYOOxjlZBWr3t75vGCG4p4dSFCN4wWYCMGn5mc3TbcC41AKFHLDci7wT5s5TkhV9kB R3HE46TAQnFBhAl06fB2ZNeuQde2teIlu4YZvPX7ozK9KbERqnORLZ2RAe/zaxrbiy m3pCUhmFTrfvr3NtM0DyKeOJJPTwKfR1PbL9FnuEvSOI7LwGEy/RVzu31Vm5wcGGaF rgz2Bd0mNFe9A== From: Michael Ellerman To: "Aneesh Kumar K.V" , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v6 03/23] powerpc/book3s64/pkeys: pkeys are supported only on hash on book3s. In-Reply-To: <20200709032946.881753-4-aneesh.kumar@linux.ibm.com> References: <20200709032946.881753-1-aneesh.kumar@linux.ibm.com> <20200709032946.881753-4-aneesh.kumar@linux.ibm.com> Date: Mon, 20 Jul 2020 16:05:50 +1000 Message-ID: <87h7u2u3ep.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Aneesh Kumar K.V" , linuxram@us.ibm.com, bauerman@linux.ibm.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" "Aneesh Kumar K.V" writes: > Move them to hash specific file and add BUG() for radix path. > --- > .../powerpc/include/asm/book3s/64/hash-pkey.h | 32 ++++++++++++++++ > arch/powerpc/include/asm/book3s/64/pkeys.h | 25 +++++++++++++ > arch/powerpc/include/asm/pkeys.h | 37 ++++--------------- > 3 files changed, 64 insertions(+), 30 deletions(-) > create mode 100644 arch/powerpc/include/asm/book3s/64/hash-pkey.h > create mode 100644 arch/powerpc/include/asm/book3s/64/pkeys.h This isn't signed-off. I assume you meant to, so I added it. cheers > diff --git a/arch/powerpc/include/asm/book3s/64/hash-pkey.h b/arch/powerpc/include/asm/book3s/64/hash-pkey.h > new file mode 100644 > index 000000000000..795010897e5d