Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1998745pxb; Fri, 29 Jan 2021 10:16:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4CF2f8Zk+GorCS7oGjLff8aqRG/nafhUDVS+40+UlgksZMkCxTqgnAyilq2TNYmW/cTzi X-Received: by 2002:a05:6402:ca9:: with SMTP id cn9mr6753062edb.208.1611944206954; Fri, 29 Jan 2021 10:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611944206; cv=none; d=google.com; s=arc-20160816; b=dAaX5qVUS5rtbnf4gywn05XddYP9kY2Z/1WWXm3a1Zvm6ZKZPu4vvla7tV+6OnDa66 jcwGAb7fmxIFCqeoGL2ILH/FzCITqCx57zjvoGGbD8vJV0gbBXGJkB0hdX08ujO0xUDA EnGBFKN7LyPFbAxT0fRlwp31WQ+UFJkDnOXuYjIbVBN53lfpLMFaZ803N9eQM2XrbbBx yw8fFDatSZXAxTrbU+X+g54L4PAFrOgaCs1ANK3hdx9ouZAPa66ob4EMhARbKFrPRQif C8lh1jupVv/J7mvd+h2VxqmaQOOgmXN/OM9ahzyRCi2huIlvJISVHt0pVTbIQ1JmVJyJ RfiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=PQF/VBmuZyAmkyQEbTFq8RZ3AqbukEsAbWpwb1fb3QM=; b=Cqc7miXpDGwRT2dEHyl3xsiuLZY9FU4siJdiW2AcA4BHf/YpmaB6yKW5qKsQPwz+QG Vgrbb33XxWPINl7rgGBineTNqro9h8YKfpqPIBKXrtms+N2GBM5mFYwIG8Z54Fxm+z+v NsX77yBIvDQVdVsQLYlzcE4drN973+7wiHoOQId3IZ6ztimeDQ4m7akpLlyi1MbvNWzE s1ydLr6BCjxJnqFFT7ZhqiNaqLPS6VkRR2rxXriYStugZoypkn4T2Ue9gk1xRQ0Pb5yQ fE4efDXwEft9F4YGFD+qwxbkYQ6g7fKHnmpfsQ+34GmzcK8ZX/WTUwjvCtKMOb4Bj4a/ 64Bg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk14si5937160edb.128.2021.01.29.10.16.22; Fri, 29 Jan 2021 10:16:46 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232570AbhA2SPJ (ORCPT + 99 others); Fri, 29 Jan 2021 13:15:09 -0500 Received: from foss.arm.com ([217.140.110.172]:52546 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbhA2SPH (ORCPT ); Fri, 29 Jan 2021 13:15:07 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 26ECA13A1; Fri, 29 Jan 2021 10:14:22 -0800 (PST) Received: from [10.37.12.11] (unknown [10.37.12.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0FF9F3F885; Fri, 29 Jan 2021 10:14:19 -0800 (PST) Subject: Re: [PATCH v9 3/4] kasan: Add report for async mode To: Andrey Konovalov Cc: Linux ARM , LKML , kasan-dev , Andrew Morton , Catalin Marinas , Will Deacon , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , Marco Elver , Evgenii Stepanov , Branislav Rankov References: <20210126134603.49759-1-vincenzo.frascino@arm.com> <20210126134603.49759-4-vincenzo.frascino@arm.com> <77de8e48-6f68-bf27-0bed-02e49b69a12d@arm.com> <7da762df-6df3-e526-bec1-dc770709c00c@arm.com> From: Vincenzo Frascino Message-ID: Date: Fri, 29 Jan 2021 18:18:15 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/29/21 6:10 PM, Andrey Konovalov wrote: > On Fri, Jan 29, 2021 at 6:57 PM Vincenzo Frascino > wrote: >>>>>> +#ifdef CONFIG_KASAN_HW_TAGS >>>>>> +void kasan_report_async(void) >>>>>> +{ >>>>>> + unsigned long flags; >>>>>> + >>>>>> + start_report(&flags); >>>>>> + pr_err("BUG: KASAN: invalid-access\n"); >>>>>> + pr_err("Asynchronous mode enabled: no access details available\n"); >>> >>> Could you also add an empty line here before the stack trace while at it? >>> >> >> Sure no problem. > > Just to be clear: I mean adding an empty line into the report itself > via pr_err("\n") :) > Yes I got it ;) It is late here but I am not completely asleep yet ;) -- Regards, Vincenzo