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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 B70C4C07E95 for ; Fri, 16 Jul 2021 07:41:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1A08613DF for ; Fri, 16 Jul 2021 07:41:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235806AbhGPHoP (ORCPT ); Fri, 16 Jul 2021 03:44:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbhGPHoL (ORCPT ); Fri, 16 Jul 2021 03:44:11 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD278C06175F for ; Fri, 16 Jul 2021 00:41:16 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id s23so9965094oij.0 for ; Fri, 16 Jul 2021 00:41:16 -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=Ca6CcvN4gIl6bM0OQN4a/p1N8Quw1yYHoBlszGmTDtE=; b=cJEwK2QZoEZVNRqMgFxuAMHjjr7LvTj5v11fSzSXH2VZPZmb2hUeSjnN7cV0bAvNWk jJw4AaFssxttPPh9VwQnLrmiOGFgTWoEU1BdGl1KV5PAoOKy9dDi2Zbi7z02JbIjoAhK bf3qJve9Q8u7N4d/ESrdxOqPlv5deUPC690mwtSW02mV5dON8BBw2WNkms6TaTKio+ZF a6hKmgaiDadaxV5NHWpw5OJKQge2EL8T+qBg2+8o4NpdE58FuAOrggNaQ8FzkIsiOWy5 sguytO782IJ/XyTpuGL0pkBeflviTjXs0R1j31HCf40NnfshpUL+m/qWnF6+rqXnSiUR 0Uag== 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=Ca6CcvN4gIl6bM0OQN4a/p1N8Quw1yYHoBlszGmTDtE=; b=hsCpk52RIE8Lt0l1YiqixW4D0H0fIe13YJQSsfRmKOLgjzgxZadcOGSQdSDguvQl3z i4/VIYOjUFDKAt1IEZSdxtnivaEUQKNBYvaZJgdXzvWMP+sMPdNYXbNgED2728KDqwkv JAek4Bys09KhYFxQ3LqYY1Fr+vII0dCSbi7SaVMn/HmNxT/Uk3bzCp/mhoUFfeBVvzqf 5sTLNmeF03WQtY/BC4mErRVm3C88/r5twbfXnO8kHVdgMiXpwlhcF/N3q75I3N56HnkA 7KoDu05vwmGC5ahbRWcP9tGvifQUT4/XFggdTa8jXVgISkJCwAvLLtId9FQLOvo5foe1 xznA== X-Gm-Message-State: AOAM533tZGp9yD+b+cvkfHNtGudpeBs0jTu07aqL69J88KGD1DsvZByv Z9OZRP3MyMxU9m4HjnKOT9gq9ZVXgke13BYqZ62AeA== X-Google-Smtp-Source: ABdhPJxBWTmGlDkF7S1AqiTmH9Cd+D/mTMI4k9X8kqeRo356YrvpiRZDCXLjYWwaF16sDCvsMXzX8cafSQosjBHRUOU= X-Received: by 2002:aca:fd44:: with SMTP id b65mr6942794oii.172.1626421275836; Fri, 16 Jul 2021 00:41:15 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <5f760f6c-dcbd-b28a-2116-a2fb233fc534@huawei.com> From: Marco Elver Date: Fri, 16 Jul 2021 09:41:04 +0200 Message-ID: Subject: Re: [PATCH -next 3/3] kasan: arm64: Fix pcpu_page_first_chunk crash with KASAN_VMALLOC To: Kefeng Wang Cc: Dmitry Vyukov , Catalin Marinas , Will Deacon , Andrey Ryabinin , Andrey Konovalov , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, Daniel Axtens Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. If there's nothing else that needs resolving, please go ahead and send v2 (the __weak comment still needs resolving). 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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 B6A4CC636CA for ; Fri, 16 Jul 2021 07:41:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 57AEC613F5 for ; Fri, 16 Jul 2021 07:41:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57AEC613F5 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id AAE2B8D00F5; Fri, 16 Jul 2021 03:41:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A83B68D00EC; Fri, 16 Jul 2021 03:41:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 926208D00F5; Fri, 16 Jul 2021 03:41:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0122.hostedemail.com [216.40.44.122]) by kanga.kvack.org (Postfix) with ESMTP id 6EC798D00EC for ; Fri, 16 Jul 2021 03:41:18 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 1CA4C1851216A for ; Fri, 16 Jul 2021 07:41:17 +0000 (UTC) X-FDA: 78367655394.30.F4E273B Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by imf09.hostedemail.com (Postfix) with ESMTP id C3DD83000105 for ; Fri, 16 Jul 2021 07:41:16 +0000 (UTC) Received: by mail-oi1-f171.google.com with SMTP id p67so9930889oig.2 for ; Fri, 16 Jul 2021 00:41:16 -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=Ca6CcvN4gIl6bM0OQN4a/p1N8Quw1yYHoBlszGmTDtE=; b=cJEwK2QZoEZVNRqMgFxuAMHjjr7LvTj5v11fSzSXH2VZPZmb2hUeSjnN7cV0bAvNWk jJw4AaFssxttPPh9VwQnLrmiOGFgTWoEU1BdGl1KV5PAoOKy9dDi2Zbi7z02JbIjoAhK bf3qJve9Q8u7N4d/ESrdxOqPlv5deUPC690mwtSW02mV5dON8BBw2WNkms6TaTKio+ZF a6hKmgaiDadaxV5NHWpw5OJKQge2EL8T+qBg2+8o4NpdE58FuAOrggNaQ8FzkIsiOWy5 sguytO782IJ/XyTpuGL0pkBeflviTjXs0R1j31HCf40NnfshpUL+m/qWnF6+rqXnSiUR 0Uag== 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=Ca6CcvN4gIl6bM0OQN4a/p1N8Quw1yYHoBlszGmTDtE=; b=qsaKugxPMUR+FD9AUJhZuKikxsAgFADiVU6QhOsJo0f1wsDvR4w13R6pXCSGI85g2j wtwYPHhE7o/o6fXkVPOjwOg3vEtqSDUUBunVKoj4pGy925SW5zdVBlqTyrPwHA2bwPcH WZPBb7m2pV7qO1Dbc72b/UHwvFq3H7BIDU2orDm+Kh6vy80Yly4gKNiuWv3jYA84Wh8G JM4RV2L8XbHmtfJhZy9kgKMruH5mQl6hcxJj8mv+uLq7hR3++t428ioYJo/oXLI4Zthl quK1zwDOoC4RyrGqxYnvjvhwpjSqig67Xq86JzA06UlSVeO2yjL/SMaBvzXfCUo0W3CY i/nw== X-Gm-Message-State: AOAM533JNOsB8w/Ri3xplshGy2c/g0l44AbHx16yCbYPtxnIiC/ZEFA9 EvL783gKpwJ6+mLyqXEatZYjZJks14xM+kszhqfyzg== X-Google-Smtp-Source: ABdhPJxBWTmGlDkF7S1AqiTmH9Cd+D/mTMI4k9X8kqeRo356YrvpiRZDCXLjYWwaF16sDCvsMXzX8cafSQosjBHRUOU= X-Received: by 2002:aca:fd44:: with SMTP id b65mr6942794oii.172.1626421275836; Fri, 16 Jul 2021 00:41:15 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <5f760f6c-dcbd-b28a-2116-a2fb233fc534@huawei.com> From: Marco Elver Date: Fri, 16 Jul 2021 09:41:04 +0200 Message-ID: Subject: Re: [PATCH -next 3/3] kasan: arm64: Fix pcpu_page_first_chunk crash with KASAN_VMALLOC To: Kefeng Wang Cc: Dmitry Vyukov , Catalin Marinas , Will Deacon , Andrey Ryabinin , Andrey Konovalov , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, Daniel Axtens Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: C3DD83000105 X-Stat-Signature: 6kbqmha4p1347sx8wghyoydcb8o6s4by Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=google.com header.s=20161025 header.b=cJEwK2QZ; spf=pass (imf09.hostedemail.com: domain of elver@google.com designates 209.85.167.171 as permitted sender) smtp.mailfrom=elver@google.com; dmarc=pass (policy=reject) header.from=google.com X-HE-Tag: 1626421276-643046 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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. If there's nothing else that needs resolving, please go ahead and send v2 (the __weak comment still needs resolving). 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=-4.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 1F209C07E95 for ; Fri, 16 Jul 2021 07:42:59 +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 D3715613BB for ; Fri, 16 Jul 2021 07:42:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D3715613BB Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dfSYJf5tPtyRPH47mKi2V/pOznwUbOGjJmO+PPcAVg4=; b=loYmYde5dfY9sq A3q/0ZqOS0JLw0DJIuXjZvejtTk0isOCpuQqGa2cJ2hSWHqgxR04TzOBa79i5CvAW+17Uax+YxY/5 5hydKdeMeM85OirSvXf5Gccen85JOAU/krrXvzahZvU4k4szX0Bmx4mzGiegpjAjzAH4vfQhneIFu kvkw2f1NO9yabfihkQ13w01nfhoucjfwu/n92jm9HvNYaX23nMg7UACQ/FYD2UwwgHG60yvQ1flDX 3QaGQnZoXJbo6EwsJZtAIJs3cW2n4JAnzLOhkf9mf863Dr8oeOHcNHj0I0RdEDaN5oaWMSSm97DVY JBlHgVtwGpD8+QOK5kqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4ITJ-003Yq1-Pg; Fri, 16 Jul 2021 07:41:21 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4ITF-003YoW-Ry for linux-arm-kernel@lists.infradead.org; Fri, 16 Jul 2021 07:41:19 +0000 Received: by mail-oi1-x232.google.com with SMTP id e11so6869991oii.9 for ; Fri, 16 Jul 2021 00:41:16 -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=Ca6CcvN4gIl6bM0OQN4a/p1N8Quw1yYHoBlszGmTDtE=; b=cJEwK2QZoEZVNRqMgFxuAMHjjr7LvTj5v11fSzSXH2VZPZmb2hUeSjnN7cV0bAvNWk jJw4AaFssxttPPh9VwQnLrmiOGFgTWoEU1BdGl1KV5PAoOKy9dDi2Zbi7z02JbIjoAhK bf3qJve9Q8u7N4d/ESrdxOqPlv5deUPC690mwtSW02mV5dON8BBw2WNkms6TaTKio+ZF a6hKmgaiDadaxV5NHWpw5OJKQge2EL8T+qBg2+8o4NpdE58FuAOrggNaQ8FzkIsiOWy5 sguytO782IJ/XyTpuGL0pkBeflviTjXs0R1j31HCf40NnfshpUL+m/qWnF6+rqXnSiUR 0Uag== 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=Ca6CcvN4gIl6bM0OQN4a/p1N8Quw1yYHoBlszGmTDtE=; b=UQ8hfl8/ZLXu37ar1tB54TFa30kRS0TMJulBYvEOkTADVXsVCfDkwqz+nNOnuOsSmD Y2CC7voA7jfCZwFrjrEMCawZPsW1TaPYQasq/xiXeQSWTMw7ORdlY3G9mP/RbPu9Mrm6 +oBmGt2H6fKHgMXLCjYUBmyQJnhfmjh2aEdVNSFlUMRPOuKeFwlb/gtnn/u8W89tlbpF fcX/WR1v+qjTTyMLDH09RGwlvfCm/fxcnsMf3uFDVduqx51sUwMlgEzJyuQchx9lr9Je 5R9Rev5wqxOcci4pdoj9D+iyX2CJ8UadnmUFDEE81Zi03wDmfzFXoFXs4gnCn9Ui+gkB tLxg== X-Gm-Message-State: AOAM531DanK1ReT+iCjiXxQB++rGRsVPBUIgSUOvJ++3LQChmL3WkDRx FbZBt8ZpmJehvLnSXTgYF46gKiGDe+uruJjgKvXO7g== X-Google-Smtp-Source: ABdhPJxBWTmGlDkF7S1AqiTmH9Cd+D/mTMI4k9X8kqeRo356YrvpiRZDCXLjYWwaF16sDCvsMXzX8cafSQosjBHRUOU= X-Received: by 2002:aca:fd44:: with SMTP id b65mr6942794oii.172.1626421275836; Fri, 16 Jul 2021 00:41:15 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <5f760f6c-dcbd-b28a-2116-a2fb233fc534@huawei.com> From: Marco Elver Date: Fri, 16 Jul 2021 09:41:04 +0200 Message-ID: Subject: Re: [PATCH -next 3/3] kasan: arm64: Fix pcpu_page_first_chunk crash with KASAN_VMALLOC To: Kefeng Wang Cc: Dmitry Vyukov , Catalin Marinas , Will Deacon , Andrey Ryabinin , Andrey Konovalov , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, Daniel Axtens X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210716_004117_986477_1DC0B1F1 X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. If there's nothing else that needs resolving, please go ahead and send v2 (the __weak comment still needs resolving). Thanks, -- Marco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel