Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3745827pxj; Mon, 21 Jun 2021 05:47:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAfPpjaV970PmYYaoLstYlHCTLds5bHVGVVca1W0KLdI3wESiNXvno6OfiTu5nIg5ePmTE X-Received: by 2002:a92:1948:: with SMTP id e8mr17424387ilm.77.1624279636334; Mon, 21 Jun 2021 05:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624279636; cv=none; d=google.com; s=arc-20160816; b=WsVWg8NDzGIl0hXD81axFotbKH0lM+qeQIQAtLb04uCJZIh2MSMFaZqP5OEJQX7Mv3 nBijQO94ggVdCjF3Pyc7QZiCnLj91xlhumoO0coDq2hHylsEkReKubgTG3f1waPCTGMa hURMlx/XKQFDJT+K38JkuwgoHfwHN7+fD9ngc3aWIOEeLjD/CWzU/1OhxjbPIJhtdTh2 69574XZL9Odm+SFMfhnnNDwcLHqJ0YPUBVZg5lGTXBOYS9cPi/Lh1LJPDEoa3VI9PUrD oE0vRtw9cEycbD7xZVkIjTl6WP+EgFb2lJpR2dol9ap9vkU1LTnFqNTWGHcVMv9kjUZ/ EXdw== 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=O21GciyTpaxqmDgMZPyp7BhBIp+OaBFdrCDg/nqizCw=; b=Br7IwEl5ktj3H3DJA3wPQ53cmTD2+eFikiMB38I+Z7AqEAUPDstouujwWFt09Zo9ZF oyi6mmh7AWwk1JU6K5apRzAQWXc5hv8nrbHRySzxXGJIhIItoaN1fw/nZZL6dXNkjROe Kio3eTvXSZncUzpAvX4RKHtblfpdh5xK4zf9TDM4iKrTunEQT1uMZCtVpAgI/xJ8Z4ei 3NPGziuE38+0ihg1hD2ib3+EUghDjPOGsT6zNwrnc6bn9j4NiD9ccyL3mgaz6T84gKUY gG5BJpPuafrZBseS7DuAk214NfjDkJSFl0cVIuw0U3ghvhJpAsWFFfbKZvfJhTwyE9+E kw8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="CjH/y8Sa"; 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 q4si19280719jas.57.2021.06.21.05.47.04; Mon, 21 Jun 2021 05:47:16 -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="CjH/y8Sa"; 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 S230047AbhFUMrr (ORCPT + 99 others); Mon, 21 Jun 2021 08:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbhFUMrr (ORCPT ); Mon, 21 Jun 2021 08:47:47 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E7C0C061574 for ; Mon, 21 Jun 2021 05:45:33 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id 102-20020a9d0eef0000b02903fccc5b733fso17548188otj.4 for ; Mon, 21 Jun 2021 05:45:33 -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=O21GciyTpaxqmDgMZPyp7BhBIp+OaBFdrCDg/nqizCw=; b=CjH/y8SaoMXF3byYcObLTv0osehq88mbaxDpOhZs0Wde7MnJHOtQUe+kCASuohN8oG aOWjfAalOynXbrGRj/MB2LUyVcX9vr8SKfNkA6vR5F8unfVTmTYZtR49cCle1lEV11Xh Ej0cE2eP1kq4/I+8RSOKISdSP+5LyhiOFPyq9/3gcbEJQF0JV7o3XkzEI0ZvlwqsSBjm 1mTGYUNavnyfjgaO7A1ymewQLHi03NM0RPUjmuFWlioFGMBlH2hAjljmtBsJmO9pc7h4 RtUtfdeApE98KZ6pE/LExb0eKC8qA2+ShDr0eTtERUy9CEZRTeXGdg2uczBqW8+RnCuu J33Q== 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=O21GciyTpaxqmDgMZPyp7BhBIp+OaBFdrCDg/nqizCw=; b=LU3NGJUkFj+j4dFeF7rGcz299gygi/lNXDVZXDtptQnWK9EOB+Tnux3b5RYBHG2uUp HYCRKzaXdtViudgYhE/aXrcAJpK5jNJ7xB1u1J0EICQdogZ2l/0ykWyChGd9IXXwsVrB 7Zq9CPM6JRqSJQNlo8G5eisKOyUMz+buDjra36qrPPB33sB87+j8JvsOiR1pfapzbXI/ O09vAIj2d0uAX/85z794yU/mWJE3kXe5gKB9KQFBZHJGPDCj2zdnnNMwi7l0CeSnjPbt g8QJflb/bDHpXEFD4uun6eTldPLgGqAwE4negcA/pxhXmNEBESSnE8XxgYN8r4V1M0sR ctOw== X-Gm-Message-State: AOAM533m8zsH6umLjajpyyzk7x+OWr3v58eXGzxU4EdUXUi4pZ5PnNb0 DJ1FGj9vfNjUyfIFLO3w9jTF/R04PrzHmWl0A37OCg== X-Received: by 2002:a9d:4e7:: with SMTP id 94mr21273799otm.233.1624279532556; Mon, 21 Jun 2021 05:45:32 -0700 (PDT) MIME-Version: 1.0 References: <20210620114756.31304-1-Kuan-Ying.Lee@mediatek.com> In-Reply-To: <20210620114756.31304-1-Kuan-Ying.Lee@mediatek.com> From: Marco Elver Date: Mon, 21 Jun 2021 14:45:20 +0200 Message-ID: Subject: Re: [PATCH v3 0/3] kasan: add memory corruption identification support for hw tag-based kasan To: Kuan-Ying Lee Cc: Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Andrew Morton , Matthias Brugger , kasan-dev , LKML , Linux Memory Management List , Linux ARM , linux-mediatek@lists.infradead.org, wsd_upstream , chinwen.chang@mediatek.com, nicholas.tang@mediatek.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 20 Jun 2021 at 13:48, Kuan-Ying Lee wrote: > > Add memory corruption identification for hardware tag-based KASAN mode. > > Changes since v3: > - Preserve Copyright from hw_tags.c/sw_tags.c and > report_sw_tags.c/report_hw_tags.c > - Make non-trivial change in kasan sw tag-based mode > > Changes since v2: > - Thanks for Marco's Suggestion > - Rename the CONFIG_KASAN_SW_TAGS_IDENTIFY > - Integrate tag-based kasan common part > - Rebase to latest linux-next > > Kuan-Ying Lee (3): > kasan: rename CONFIG_KASAN_SW_TAGS_IDENTIFY to > CONFIG_KASAN_TAGS_IDENTIFY > kasan: integrate the common part of two KASAN tag-based modes > kasan: add memory corruption identification support for hardware > tag-based mode I think this looks fine, thank you for your efforts. How did you test this? Did you run the lib/test_kasan module with both SW_TAGS and HW_TAGS mode? I was about to run that before adding my Reviewed-by. Andrey, Alex, if you have time, please have a quick look at the series. Thanks, -- Marco