Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4175803pxj; Tue, 15 Jun 2021 17:31:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsetFk4q9fdfWxQ5aHEbutbVYikGEuvYO+UzVuzKVmE5z6Fsi68iZDGbvlqQQrOKzrjtEY X-Received: by 2002:a17:907:2642:: with SMTP id ar2mr564640ejc.391.1623803468038; Tue, 15 Jun 2021 17:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623803468; cv=none; d=google.com; s=arc-20160816; b=ILn1H9g7ElyRYAprYoOCZXvV+XyiTsS6QzwI7mb1eUunQg0zOmmi7+GENGI5HdXhk/ bsuaR9Cw5WzolD1pzlYg5yHhhIx7kmhPx/4BzlyB2wFUEzdKSzf972x+8uU7XF2y98Cl 9DcqQs5tgdnh6yG9jpk03i51SXmwCreLfHkbCFoX5MxVwyMQYuMLiv2cPpGfUUOaV6FP oeofhzrIXWwghxjhWt97WJGN+RVFJoekYYoZALh5OvFKm91T9dpjlvwr959YjW2b8DYG L8+I3BxeZ3J+4o+bwj5F9ZX8tlbOQ3PPx9n8fNTPmGjnT/faaKbSiVXI5Y6K22N/tRrm 1RaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=T+5dG9Zv3Son1yPsM21G3NCtpvIaSc9W4NcOU1b0ap8=; b=EtvDDzEXx0va+2rssoHaekSXQODlhzh9zrExlktal769QIC4nTo85DlGtl5KPr1P8g ajF5wt5YyN7hSTe96b+2POZPaQ3IGBT+LJh3lYXGaBFeOsS+As/UGzJWX1CM8XnnNvsG 4wERczhbDFo3qMMuDp15Np/gcOwnNNYLhFzwwMhrQhtYEwtY2hYhGpzy1k0FZ1eImynn 6oYCvIT5YYaIvlquKy81RNqgIqODxD/kobKZa+Y6BgLFXGH6msTh0BeIW0yJCwiF7oor BkoUt8WLPSWRjK+lBNpYm9D9gwOfi8ry9uNCmb2/atxrOKM+SsB4dBZobAtKD/AuNuUz l6og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="A/M8CcBs"; 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=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si566973ejs.220.2021.06.15.17.30.44; Tue, 15 Jun 2021 17:31:08 -0700 (PDT) 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=@mediatek.com header.s=dk header.b="A/M8CcBs"; 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=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231453AbhFPAbk (ORCPT + 99 others); Tue, 15 Jun 2021 20:31:40 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:50283 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230244AbhFPAbj (ORCPT ); Tue, 15 Jun 2021 20:31:39 -0400 X-UUID: 984ab5af4c354bbd8baaac5e24331982-20210616 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=T+5dG9Zv3Son1yPsM21G3NCtpvIaSc9W4NcOU1b0ap8=; b=A/M8CcBsaspkfLvwl4LLMyVLrnChT7TZz9WJFzQXnew+58mmrl/Q5SBAuQ3sG5tmagQwU1OF3WUGZydurtgdh9EGVN8rWA2MxjPmAZyuDZOZtUdrpd43n3vVDQeg3vrnFNF3edcc3JipoU1B4SAEqrtSXD+lIZyZhuRTIbAILuo=; X-UUID: 984ab5af4c354bbd8baaac5e24331982-20210616 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 354707355; Wed, 16 Jun 2021 08:29:31 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 16 Jun 2021 08:29:29 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 16 Jun 2021 08:29:29 +0800 Message-ID: <1623803369.8887.9.camel@mtkswgap22> Subject: Re: [next] [arm64] kernel BUG at arch/arm64/mm/physaddr.c From: Miles Chen To: Mark Rutland CC: Naresh Kamboju , Mike Rapoport , Andrew Morton , "Linux-Next Mailing List" , linux-mm , Linux ARM , open list , Will Deacon , , , Stephen Rothwell , Arnd Bergmann , Ard Biesheuvel , Catalin Marinas , "Christophe Leroy" Date: Wed, 16 Jun 2021 08:29:29 +0800 In-Reply-To: <20210615131902.GB47121@C02TD0UTHF1T.local> References: <20210615124745.GA47121@C02TD0UTHF1T.local> <20210615131902.GB47121@C02TD0UTHF1T.local> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIxLTA2LTE1IGF0IDE0OjE5ICswMTAwLCBNYXJrIFJ1dGxhbmQgd3JvdGU6DQo+ IE9uIFR1ZSwgSnVuIDE1L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