From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 E70C8C12002 for ; Sat, 17 Jul 2021 02:41:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB164613DF for ; Sat, 17 Jul 2021 02:41:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232640AbhGQCnn (ORCPT ); Fri, 16 Jul 2021 22:43:43 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7022 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbhGQCnm (ORCPT ); Fri, 16 Jul 2021 22:43:42 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GRXJQ6H1gzYcrx; Sat, 17 Jul 2021 10:35:02 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 17 Jul 2021 10:40:44 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 17 Jul 2021 10:40:43 +0800 Subject: Re: [PATCH -next 3/3] kasan: arm64: Fix pcpu_page_first_chunk crash with KASAN_VMALLOC To: Marco Elver CC: Dmitry Vyukov , Catalin Marinas , Will Deacon , Andrey Ryabinin , Andrey Konovalov , , , , , Daniel Axtens References: <20210705111453.164230-1-wangkefeng.wang@huawei.com> <20210705111453.164230-4-wangkefeng.wang@huawei.com> <089f5187-9a4d-72dc-1767-8130434bfb3a@huawei.com> <5f760f6c-dcbd-b28a-2116-a2fb233fc534@huawei.com> From: Kefeng Wang Message-ID: Date: Sat, 17 Jul 2021 10:40:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/7/16 15:41, Marco Elver wrote: > On Fri, 16 Jul 2021 at 07:06, Kefeng Wang wrote: >> Hi Marco and Dmitry, any comments about the following replay, thanks. > Can you clarify the question? I've been waiting for v2. > > I think you said that this will remain arm64 specific and the existing > generic kasan_populate_early_shadow() doesn't work. Yes, I can't find a generic way to solve the issue, if there is no better way, I will send a new version(fix the build error and the wrong __weak comment) > > If there's nothing else that needs resolving, please go ahead and send > v2 (the __weak comment still needs resolving). Thanks. will do. > > Thanks, > -- Marco > . > From mboxrd@z Thu Jan 1 00:00:00 1970 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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 7E018C12002 for ; Sat, 17 Jul 2021 02:42:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4264B613AF for ; Sat, 17 Jul 2021 02:42:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4264B613AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+j5TuEFNQFz6OIOehLX/b3WSbwV+3n6bph9IHzIUgHg=; b=j+UCT+JFtEwgzMvfjyxv/FxBbO hHpDffaxK1YtMIlTHwx5q9KUHLw6YrJp7UJIOHaOS4n3a/ZG0qy/YzuKsnBhNWlWpjKV4UKtZa/1r TuNIaCBZPaYJps8sQLUz+jzTkpNkkIGVHa+RBP4NxiGA9wJzA8LeAN6NsJEyIaI4V3gB1b1kHPFV7 84uLi0pP++CoKVEkxuqaFWj7dqvN+YR/Xc6vSmoof0jyd4oSFL6FB0jtWRMI+3FQDIBn9RI3dIYMH Px9xYKZf/3TQko9AcFUGCx7BTuiVWrPdvCZQs0y9hXJeB3MZLTxHQLqh+EK6YDUfXC0xAOpp4qD93 d9bxQdWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4aG4-005p1g-7U; Sat, 17 Jul 2021 02:40:52 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4aG0-005p0v-Gr for linux-arm-kernel@lists.infradead.org; Sat, 17 Jul 2021 02:40:50 +0000 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GRXJQ6H1gzYcrx; Sat, 17 Jul 2021 10:35:02 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 17 Jul 2021 10:40:44 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 17 Jul 2021 10:40:43 +0800 Subject: Re: [PATCH -next 3/3] kasan: arm64: Fix pcpu_page_first_chunk crash with KASAN_VMALLOC To: Marco Elver CC: Dmitry Vyukov , Catalin Marinas , Will Deacon , Andrey Ryabinin , Andrey Konovalov , , , , , Daniel Axtens References: <20210705111453.164230-1-wangkefeng.wang@huawei.com> <20210705111453.164230-4-wangkefeng.wang@huawei.com> <089f5187-9a4d-72dc-1767-8130434bfb3a@huawei.com> <5f760f6c-dcbd-b28a-2116-a2fb233fc534@huawei.com> From: Kefeng Wang Message-ID: Date: Sat, 17 Jul 2021 10:40:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210716_194048_823981_DA2C5DA8 X-CRM114-Status: GOOD ( 12.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021/7/16 15:41, Marco Elver wrote: > On Fri, 16 Jul 2021 at 07:06, Kefeng Wang wrote: >> Hi Marco and Dmitry, any comments about the following replay, thanks. > Can you clarify the question? I've been waiting for v2. > > I think you said that this will remain arm64 specific and the existing > generic kasan_populate_early_shadow() doesn't work. Yes, I can't find a generic way to solve the issue, if there is no better way, I will send a new version(fix the build error and the wrong __weak comment) > > If there's nothing else that needs resolving, please go ahead and send > v2 (the __weak comment still needs resolving). Thanks. will do. > > Thanks, > -- Marco > . > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel