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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 7472DC11F73 for ; Mon, 12 Jul 2021 08:24:39 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id ED76A61206 for ; Mon, 12 Jul 2021 08:24:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED76A61206 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 009986B008A; Mon, 12 Jul 2021 04:24:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EFBAD8D0002; Mon, 12 Jul 2021 04:24:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DAA6F8D0001; Mon, 12 Jul 2021 04:24:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0071.hostedemail.com [216.40.44.71]) by kanga.kvack.org (Postfix) with ESMTP id B21C56B008A for ; Mon, 12 Jul 2021 04:24:38 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id C5CB1181DF754 for ; Mon, 12 Jul 2021 08:24:37 +0000 (UTC) X-FDA: 78353249394.10.8B42808 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf23.hostedemail.com (Postfix) with ESMTP id 5907B90000AD for ; Mon, 12 Jul 2021 08:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626078276; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tDK3ySbMS0SPjg0Ubws18Afu1lnic0msgKS6DH4MdFE=; b=d+5sxNe6zKvxyWpgG+1qjdBfqVWQab+qitzkhIHV75GzRmUgrKXrWXaUl1wQVX3HApPBE8 buU59qx1BcYD77Nkgpfd1mEtzKrntzAvX2qhun4DnrWmTa3X6oWrKiBjjpmUb990jfVxpT c7bvcnpznmd3cT3okI8YR1LPf+7q5Rw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-182-JAkLXTFRNnGryeeNn1qMjw-1; Mon, 12 Jul 2021 04:24:35 -0400 X-MC-Unique: JAkLXTFRNnGryeeNn1qMjw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C3AB710C1ADC; Mon, 12 Jul 2021 08:24:33 +0000 (UTC) Received: from [10.64.54.119] (vpn2-54-119.bne.redhat.com [10.64.54.119]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A730160BD8; Mon, 12 Jul 2021 08:24:28 +0000 (UTC) Reply-To: Gavin Shan Subject: Re: [PATCH] mm/debug_vm_pgtable: Fix corrupted PG_arch_1 by set_pmd_at() To: Anshuman Khandual , kernel test robot , linux-mm@kvack.org Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, shan.gavin@gmail.com References: <20210702103225.51448-1-gshan@redhat.com> <202107080820.IwV1NKBI-lkp@intel.com> <0a232c69-ae9f-8431-22c7-74513f87c018@arm.com> From: Gavin Shan Message-ID: <4da06097-6f27-34b2-38b5-834b267ed62d@redhat.com> Date: Mon, 12 Jul 2021 18:24:25 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <0a232c69-ae9f-8431-22c7-74513f87c018@arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=d+5sxNe6; spf=none (imf23.hostedemail.com: domain of gshan@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=gshan@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspamd-Server: rspam05 X-Stat-Signature: 7gzs43aa835bbtj1zqyx77b7u5gm5usx X-Rspamd-Queue-Id: 5907B90000AD X-HE-Tag: 1626078277-382336 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 7/12/21 1:21 PM, Anshuman Khandual wrote: > > > On 7/8/21 6:05 AM, kernel test robot wrote: >> Hi Gavin, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on linus/master] >> [cannot apply to hnaz-linux-mm/master linux/master v5.13 next-20210707] >> [If your patch is applied to the wrong git tree, kindly drop us a note. >> And when submitting patch, we suggest to use '--base' as documented in >> https://git-scm.com/docs/git-format-patch] >> >> url: https://github.com/0day-ci/linux/commits/Gavin-Shan/mm-debug_vm_pgtable-Fix-corrupted-PG_arch_1-by-set_pmd_at/20210702-183310 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3dbdb38e286903ec220aaf1fb29a8d94297da246 >> config: x86_64-allyesconfig (attached as .config) >> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 >> reproduce (this is a W=1 build): >> # https://github.com/0day-ci/linux/commit/414db1c0feb54b545b3df56bc19ffff27580deb5 >> git remote add linux-review https://github.com/0day-ci/linux >> git fetch --no-tags linux-review Gavin-Shan/mm-debug_vm_pgtable-Fix-corrupted-PG_arch_1-by-set_pmd_at/20210702-183310 >> git checkout 414db1c0feb54b545b3df56bc19ffff27580deb5 >> # save the attached .config to linux build tree >> make W=1 ARCH=x86_64 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >> In file included from arch/x86/include/asm/page.h:76, >> from arch/x86/include/asm/thread_info.h:12, >> from include/linux/thread_info.h:59, >> from arch/x86/include/asm/preempt.h:7, >> from include/linux/preempt.h:78, >> from include/linux/spinlock.h:51, >> from include/linux/mmzone.h:8, >> from include/linux/gfp.h:6, >> from mm/debug_vm_pgtable.c:13: >> mm/debug_vm_pgtable.c: In function 'pud_advanced_tests': >>>> include/asm-generic/memory_model.h:25:37: error: invalid operands to binary + (have 'struct page *' and 'struct page *') > > > So this problem has been fixed in the other series (which now > includes this patch) you have posted ? > Yes, Anshuman. Please ignore this one. The fix has been included into the following series. The last patch [12/12] of that series fixes the issue. [PATCH 00/12] mm/debug_vm_pgtable: Enhancements Thanks, Gavin