Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3248946pxb; Fri, 12 Feb 2021 13:12:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxS2+mU6LNOru0mNd/hCigDHrZpkkn0ngrCxvGj7+dEZ0oUzkdQulNWdB4XxWL9IpWOlaJW X-Received: by 2002:a05:6402:323:: with SMTP id q3mr5296791edw.115.1613164349823; Fri, 12 Feb 2021 13:12:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613164349; cv=none; d=google.com; s=arc-20160816; b=X5kkxmYgUh3iALK2gSjIm06g5i/EQPWn+1phfaCVMeKmXjfhN6PlB/3rEC+4bzhtYF 5MhCYCjiw+RPN84TIz0KN5rbdRm/0wYgEEOOtTI5RfacW/Jyk4dQ6NCCXPp4SAElu10c dSLfs29sZaAkfTLIRDMGu1vKMOErsJyBu82SZ5pvyd0YgcwxtghyeF7YHUoIMH5F/gYM zYmCGZyEOmk3fC7r2Fi283wPwTdPb67ZlpkwsV9ACm2K6hOfzOvFRPUzIFkOd7GD7psq 9+5qSB6lFNLX9MtcgXLCiIRtouoF+DLpB/QmjJzMMGm27LRTr/waWlvYmu+4dlJSLgr6 gqkQ== 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=bmK+2FrtXJ1N8kjX/gksPRqXGNz83KFxwR+0lffrQZo=; b=P9ni/hjECQNHqFllov6aZ2QcgBBKE6T48pi8+vgrYcGLgmES+iVQ24fd8vrZfP4w6A pa8GFa5Pa2KulrHyJcmwrDqU0znVFZa3A54WpZvueylcfBPmHBfb9ArLTr29l8G6RyKq 4hRLUEaWK9op8cFq4XNSYOH5Lb9yIhW5//eZqz3a+0JCcpJTNRo+qHqrp5BFqtwlL/qd /Sina5lp7V3bFWoyCjJj9/ULjshUX2psF8Sn6laSDjlM5zaPgykVltGmFI5laX/Wq7QU rK4zE5wN5JewaFFJPJBvKMGtOA7QOoqPjepKqLOroUUsIT6q37E//eXzDVO8Z1m/VnJe j8iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XXg0m272; 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 i21si2291503edj.478.2021.02.12.13.12.05; Fri, 12 Feb 2021 13:12:29 -0800 (PST) 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=XXg0m272; 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 S231613AbhBLVLT (ORCPT + 99 others); Fri, 12 Feb 2021 16:11:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231289AbhBLVLR (ORCPT ); Fri, 12 Feb 2021 16:11:17 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4049C061574 for ; Fri, 12 Feb 2021 13:10:36 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id n10so450345pgl.10 for ; Fri, 12 Feb 2021 13:10:36 -0800 (PST) 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=bmK+2FrtXJ1N8kjX/gksPRqXGNz83KFxwR+0lffrQZo=; b=XXg0m272x1WI56bZ8GIw9LVpCXloxCywCAK6XXcGhREYdrMQVY/aa3YrTBqZkHVVxr F25JDtkf47Tw4yT4y/XEkQFQ+lC3+cxeKX4T8Xy5BtMzQ63tRrkELL1wT8SyV9fJJEFf bBATruXfXRJM3CElB1sw8DoOIBohZX3caXzNrLZDEMX+4zk9ezrlE0sMiI3DQ+gIcT20 jy55JIl1OhhzYxwNjmUT0fJaHHEQB5AXJtshiF/Tc+927lEvBv2wLeuDpFVFdzYM4uvD 3MkBuzB/3K+gGjGIrd+Aj/wmRM1jKl6Lb2/LrV5Q/8wSdhaQMHw1JXGkHqWk8U7sYCrc l+Ww== 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=bmK+2FrtXJ1N8kjX/gksPRqXGNz83KFxwR+0lffrQZo=; b=qW5y8qhtnCYokcxRUqIw6KxhJnj1LFibBjTODQjd4xBmwCeCsCAsbzm5VQ/umRKQsy G9KwbncWyJJphaWcXrjucySMmKEpLHrt1sAht0mLHVm7y5X051WpXhnbVaFdqhSZCOWg fxZnAljfOmirky4COG9shewyIiVXwD2EBSkhjyv06llWF7Y9XEbeuILB3Cky22afCa2j caPFh/JydzLdibfCiq51T8t6Ly00LvvXUysZxUQ1qIhMTXdbqw8GAgONEHMOam0DW00t YBjNblPVEIfjZ2lbOqlddZj9wzA5OT8+MtPro/Qq8+N5FVej05NbyW4c1MnCiSVW+QJ5 hBFw== X-Gm-Message-State: AOAM532O0PGepToMNlTfPU0kW9xJwZw/PPG8FD+EuD7xzADyQerGcDaS a9cOuvZXdrJxJNwl7zHNo1HScLuoptJntJE9KaCiTQ== X-Received: by 2002:a62:8cd7:0:b029:1d9:447c:e21a with SMTP id m206-20020a628cd70000b02901d9447ce21amr4821819pfd.2.1613164235762; Fri, 12 Feb 2021 13:10:35 -0800 (PST) MIME-Version: 1.0 References: <20210212121610.ff05a7bb37f97caef97dc924@linux-foundation.org> <20210212125454.b660a3bf3e9945515f530066@linux-foundation.org> <20210212130816.cde26643a6b9b24007be4e54@linux-foundation.org> In-Reply-To: <20210212130816.cde26643a6b9b24007be4e54@linux-foundation.org> From: Andrey Konovalov Date: Fri, 12 Feb 2021 22:10:24 +0100 Message-ID: Subject: Re: [PATCH mm] kasan: export HW_TAGS symbols for KUnit tests To: Andrew Morton Cc: Catalin Marinas , Vincenzo Frascino , Will Deacon , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , Marco Elver , Peter Collingbourne , Evgenii Stepanov , Branislav Rankov , Kevin Brodsky , Christoph Hellwig , kasan-dev , Linux ARM , Linux Memory Management List , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 12, 2021 at 10:08 PM Andrew Morton wrote: > > On Fri, 12 Feb 2021 22:01:38 +0100 Andrey Konovalov wrote: > > > On Fri, Feb 12, 2021 at 9:54 PM Andrew Morton wrote: > > > > > > On Fri, 12 Feb 2021 21:21:39 +0100 Andrey Konovalov wrote: > > > > > > > > > The wrappers aren't defined when tests aren't enabled to avoid misuse. > > > > > > The mte_() functions aren't exported directly to avoid having low-level > > > > > > KASAN ifdefs in the arch code. > > > > > > > > > > > > > > > > Please confirm that this is applicable to current Linus mainline? > > > > > > > > It's not applicable. KUnit tests for HW_TAGS aren't supported there, > > > > the patches for that are in mm only. So no need to put it into 5.11. > > > > > > So... which -mm patch does this patch fix? > > > > "kasan, arm64: allow using KUnit tests with HW_TAGS mode". > > > > There will be some minor adjacent-line-changed conflicts if you decide > > to squash it. > > > > Alternatively, this can go as a separate patch after the tests series > > (after "kasan: don't run tests when KASAN is not enabled"). > > Thanks - it wasn't obvious. > > I staged it as a fix against "kasan, arm64: allow using KUnit tests > with HW_TAGS mode". To make the series as nice as we can, and to avoid > bisection holes. Sounds good, thank you!