Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2123549pxj; Thu, 20 May 2021 00:11:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypId5FaI1BTJcIXdxouaVDwjLBX58zJji+be2Q1ORwbpwnGAkxBKLVQU2/nyUEcbqITYB0 X-Received: by 2002:a05:6e02:1567:: with SMTP id k7mr3641574ilu.269.1621494709703; Thu, 20 May 2021 00:11:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621494709; cv=none; d=google.com; s=arc-20160816; b=rs5uGctWLwgGVA/r879OESgFRswRLQkFZkLf2uforOMurn+4CDsr5hBUnPgNUZ0VBs IJQZppcxJDcHY+pdse+RHSCM9Fspi5Lk62E1cV+/fsvmLMmzg1fkRQicfQKTZ6oqlT2/ B2xFNorL/4S9NDvB3qft+hrjbGNhOoqO05/ULHNMkHVX+DG8TiP4jMGKZ6EPYY8WvOvT tuApqII0jueoTFp4ULHzYFmI+F8plrLF1w4PD67NE7gVIXhkwUAuURCzhRmugsIMEAV5 jI1oxMZVln+40ryI6GR0UpRYTI90YNPCO8o3vJrCd0/iQzGHrbcclItxF3TVwZ1JcRMU 1Pfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7jvIi3wJH6aGtwuNj6cLtQE3suQcTsdkLDmCsiPLGm8=; b=ycaoeel3D5j2NUlqI5K1Z7GF7jT2uTcDneebp90yrhnbVWkOlE2xfYaqHaoKVdNdvj 3OIv58azcCm6ryurAs/hJp69BJZ2TRKMUqDgYYEl15Yh0Uc9gZqmGel/ECP07WzcSVBK aetrDduNbFyeZQupjZkNA+gic6eGVvVeBDQJ2GTZUfJUgOHtrEQuJ/xopfT0ZcGOAyI5 MVu5BgZ4xYsKa7LvgBXTd12ExD6/4MNiMi5qHuAReBAJZP9l8zu7pd5Tw4cj6s9unj1p 7YJaFM4FVZh2EYmYZqg3Tvg2RxCxXleFKdYY41dFqx25KdLOPx0grEdMsDsTb/4qeBkJ Pagw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lkeswFyI; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b2si1623213ioz.27.2021.05.20.00.11.13; Thu, 20 May 2021 00:11:49 -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=@linaro.org header.s=google header.b=lkeswFyI; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbhETHLq (ORCPT + 99 others); Thu, 20 May 2021 03:11:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbhETHLp (ORCPT ); Thu, 20 May 2021 03:11:45 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACC7AC061574 for ; Thu, 20 May 2021 00:10:24 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id i13so18133408edb.9 for ; Thu, 20 May 2021 00:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7jvIi3wJH6aGtwuNj6cLtQE3suQcTsdkLDmCsiPLGm8=; b=lkeswFyIFf+61kYjG/yOgV6xPtRoZfGz9caJ5KbHOvbk3TqMXgIHUrsKUdZPRbHj4g I2k12rVhOQx08m3fa3uWMf1vDEz1RGJPBAOZryuAiuGOlQBCmGUtAnVErVMPxabt4p+g vP39LpOo+gYIxG0BMNPfTxTYMSJwUlJAfqPxwMJT45bP7xv6lmFUhtkc9hTBOlwp/9QV p1xjadZJYYoRwhhyAWYu4MDoCYd0nONIqUAwnaGMUPnT88Hbzg9kV/anwCigXP3rEDdY uKfoyEcX77gEtAUZXr8RYidIseObno3g1jvuYaFAel3B1Qna/zxGGV1Fv2MEjax0KU98 PGDw== 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=7jvIi3wJH6aGtwuNj6cLtQE3suQcTsdkLDmCsiPLGm8=; b=a/SuZCzRUGXfXZw+dcf2e1RCZNVxRsF0th8TDgXHxqw1E48z3Z2ifOMSxnMwb/jhmE 9Y+EQbDnTTcSBD2u5DSU9XGbl8amr5+sk8KdGKOnf8lfG6mC+xgBUB41ifrl7kUnm/z6 cN8dyKTjS22TSoDDaLBSxJgFmxjankLbnpjN36TaXGdUy0yGw4Sl3FhTBT2zc+NnFJu8 r+xjcYiYRX07XWit/2Jn4aeL/z6MQfOvr99r3UnFgrK04NxWVqNeQqsuOQnHAEAr0GKB H8GQyrUPWFVoWOZ+PcX9XBCn2vyA3T+hXFmCInRkIXvsbhHFb99yQeADpBJkaoAhZULy pIww== X-Gm-Message-State: AOAM5310WYmcirRPBgSIqH2CZPseIuVKIgOkNgvDF4a3I3HWPYjeSwOT E1CY/Ckzn9rHnOPOAFgDUvzAMok68LBAJkwNS5JJHA== X-Received: by 2002:aa7:c485:: with SMTP id m5mr3342964edq.230.1621494623130; Thu, 20 May 2021 00:10:23 -0700 (PDT) MIME-Version: 1.0 References: <87mtsqd0c1.ffs@nanos.tec.linutronix.de> In-Reply-To: <87mtsqd0c1.ffs@nanos.tec.linutronix.de> From: Naresh Kamboju Date: Thu, 20 May 2021 12:40:11 +0530 Message-ID: Subject: Re: BUG: unable to handle page fault for address - EIP: __kmap_local_page_prot To: Thomas Gleixner Cc: LKML , linux-mm , lkft-triage@lists.linaro.org, Andrew Morton , Ira Weiny , Oliver Sang , Chaitanya Kulkarni , X86 ML , Kalesh Singh Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 May 2021 at 00:20, Thomas Gleixner wrote: > > On Wed, May 19 2021 at 20:38, Naresh Kamboju wrote: > > While running LTP mm test suite on i386 kernel the following warning and BUG > > reported on linux next 5.13.0-rc2-next-20210519. > > > > The warning is not regression, We have been noticing these warnings often on > > i386 > > Noticing? Did you report them? I have reported this, https://lore.kernel.org/linux-mm/CA+G9fYt+6OeibZMD0fP=O3nqFbcN3O4xcLkjq0mpQbZJ2uxB9w@mail.gmail.com/ > > > but kernel BUG: looks to be a new crash. > > It's just the consequence of the problem which is pointed out by the > warning. Fix below. The below patch did not solve the reported problem. after applying this patch CONFIG_HAVE_MOVE_PUD disappeared from the config. but still i see WARNING: and BUG: when running LTP mm tests. Test log link, FYI, i386 kernel Image running on x86_64 machine. https://lkft.validation.linaro.org/scheduler/job/2749690#L10139 > Thanks, > > tglx > --- > Subject: x86: Don't enable CONFIG_MOVE_PUD for 32bit and !PAE > From: Thomas Gleixner > Date: Wed, 19 May 2021 20:37:34 +0200 > > MOVE_PUD cannot work for 2-level paging obviously. > > Fixes: be37c98d1134 ("x86: mremap speedup - Enable HAVE_MOVE_PUD") > Signed-off-by: Thomas Gleixner > Cc: Kalesh Singh > Cc: stable@vger.kernel.org > --- > arch/x86/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -219,7 +219,7 @@ config X86 > select HAVE_MIXED_BREAKPOINTS_REGS > select HAVE_MOD_ARCH_SPECIFIC > select HAVE_MOVE_PMD > - select HAVE_MOVE_PUD > + select HAVE_MOVE_PUD if PGTABLE_LEVELS > 2 > select HAVE_NMI > select HAVE_OPTPROBES > select HAVE_PCSPKR_PLATFORM - Naresh