Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp499101pxj; Fri, 11 Jun 2021 04:40:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyASCRjh5Zqq8Jl6Zku4OZuWWMwbR7IkED8pCKdjjoPrwSBAgZJcf9oun3e4129TmN6p4XH X-Received: by 2002:a05:6402:b82:: with SMTP id cf2mr3298889edb.351.1623411605040; Fri, 11 Jun 2021 04:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623411605; cv=none; d=google.com; s=arc-20160816; b=Kvowb3fIH8sWjiERtWonA9glQFwVLqbK0bPMe3uoTp1jCjET8YCvXra766p82soxGG JlpohHeNFtCqURjPnZJLh2CFfv7yfzJ4mlXPRiaW0bWICLIjxenlkko+OgSGi/wlLrti x6+Z4ioeF0/kmsf67iRk5YkcLX6oKKnb0D0bYLc9ThD+9Q4HVKEL24W/cteJd+9OwTeb 6WsC53uS/3LMn9WiNzundl4KZ8zk9fIjLgJUNv0+2FLAERIFfNWWZqEePxKOYu/QwAf8 xQUtPf9IX0LreIH7Uu24a2LUSYYOdWO9fJwhwO+Eb2ie246VwcPds0Wl+465KnoYDzse 8xxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qhYV4dmRiRSpgYWOGzvvHoyogPprGMAPvN/EL3Ivaw4=; b=YNIOfVTmzESGjD+grpSM1Qle2H8GZp/UrBiP8VKxK7SvNJwGmlg/hb9o4kc8aKoRLG SrfevpNUKYfCjJvHOaoIvf8rPXkXO+AQN/HTggd3TuYMT0Vv8V3+y75tEFIf4NO6vy3s sH4Y+0aUskyXpUtmF9yyqzII7VG+BS0qDCFUMkSDCzEzIpoUV5/8Fqs+6VYeJoJ97UhB Nr+r9ED75zH5qyThEoZ3jb1qBCawxq9Su+XBsQtdSBlphd2VUJRoI8PF3OKvC1KErZcO DTCsc9HCEwnaSaakrJHM+m4jHI5YSBE4PWZtzRXX12e4yaBRwt0nUai+oO7bP0QvPo1m +vaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Jo3ruZFq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si4377376edc.382.2021.06.11.04.39.41; Fri, 11 Jun 2021 04:40:05 -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=@google.com header.s=20161025 header.b=Jo3ruZFq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231308AbhFKLk3 (ORCPT + 99 others); Fri, 11 Jun 2021 07:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230417AbhFKLk2 (ORCPT ); Fri, 11 Jun 2021 07:40:28 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 458EBC061574 for ; Fri, 11 Jun 2021 04:38:30 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id c18so15466801qkc.11 for ; Fri, 11 Jun 2021 04:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qhYV4dmRiRSpgYWOGzvvHoyogPprGMAPvN/EL3Ivaw4=; b=Jo3ruZFqwjcjNLkGQCyayLv+4DS3xQ3R9Pxg8NQ30pVYxW23D+HA6kVT+LHbVqzMVm 09KmjGNtlMrK2X3G9+i3urPLGOy4eVJxQsQMlkgHXCDXz6U9CIHwo0wPBf4u60EbdVTx r/vppEDFgiGl1n736YSaoy/tdFFPRAoWOgPaLe1VK2eDmNYPlOJ+HkN95I4I0X7Of0lo ksq88jWGAQqbQHRJDxe/QnCrth3VSmrbYJdtAAX0ufYgruNtTJH4uQK0MwD93tvzeeth ReeXRhcDk9VKMYNXe5cGn+R3RGBbVqsDWiSwMkrIkZdgVFJzvovQ1q6pUEC+8Jht25nX 4rGg== 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:from:date :message-id:subject:to:cc; bh=qhYV4dmRiRSpgYWOGzvvHoyogPprGMAPvN/EL3Ivaw4=; b=gIyUt0dkJ8D01CfaLrLVU8uzqcoPSrkSfcST+lRoOT+GbJWrb2FbR7QaY+xvhkawgs b3+XNCEhEgOZuQXGHSG/gqzepOI6SNmdEWIOdFYSXzwgcqphIIKM4sDhdRE7Bgj2ipj9 ISFys1RKh4Zt3jPeq+hL/sEX1YIPbECupiwAQUjUIY1IFfOnjmnC1v1wU3ix+1ESoCpV 0JQ2wUpHnbqnD+4UhnBjnokA+aI+MWm6s9rkZ/OeBsPmiBDQIlDqyL/dCFOE/+Pd3qEq AOgS+X53FKorjWsjJsn3pxLo479Mze9raklxhgxOk3A0eQ7Xvjnfx37+lkgR7Tb+xkdM nCAw== X-Gm-Message-State: AOAM5326VmuHxrxMWXscH1yoP7+h6mJVn44b3y44vPAmLwULqHY6ZkDj kGn0vp/fHzcVb3ZB8vkHhtZlTmax7zga07zhXOItyw== X-Received: by 2002:a37:a2d6:: with SMTP id l205mr3313686qke.326.1623411509230; Fri, 11 Jun 2021 04:38:29 -0700 (PDT) MIME-Version: 1.0 References: <20210529080340.2987212-1-liushixin2@huawei.com> In-Reply-To: <20210529080340.2987212-1-liushixin2@huawei.com> From: Alexander Potapenko Date: Fri, 11 Jun 2021 13:37:52 +0200 Message-ID: Subject: Re: [PATCH -next] riscv: Enable KFENCE for riscv64 To: Liu Shixin Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Marco Elver , Dmitry Vyukov , linux-riscv@lists.infradead.org, LKML , kasan-dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Liu, On Sat, May 29, 2021 at 9:31 AM Liu Shixin wrote: > > Add architecture specific implementation details for KFENCE and enable > KFENCE for the riscv64 architecture. In particular, this implements the > required interface in . > > KFENCE requires that attributes for pages from its memory pool can > individually be set. Therefore, force the kfence pool to be mapped at > page granularity. > > Testing this patch using the testcases in kfence_test.c and all passed. > > Signed-off-by: Liu Shixin Looks like you're missing the Acked-by: that Marco gave here: https://lkml.org/lkml/2021/5/14/588