Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp257955imw; Thu, 14 Jul 2022 00:52:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uUF6Y/ebbEgdH24SzzP0zORibMmxn8HYt/EcHZSA/wpLCSEAon853UO0BHXmIuBA/Za5Mb X-Received: by 2002:a17:90b:4b8a:b0:1ef:9e43:3791 with SMTP id lr10-20020a17090b4b8a00b001ef9e433791mr8476539pjb.38.1657785167338; Thu, 14 Jul 2022 00:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657785167; cv=none; d=google.com; s=arc-20160816; b=Tf0osoPsqA17o5MsP45N5zWCaFqpMDbPqgEujtnMGtdAMkwVmCBu0ho2fWGxABW4Th rMuvQJLjk8lF5/KlTiK4tmbdaCasaEZjnT5Wi/L8o3n9NhvyOJVyEf3EekpczxJhuA7x 4faJyyeib6AsocPYAKRLijuWeCJ9Dt9yIwYS+tidN9KoshBsM4vyH7SaOUBJrsyQHtp7 sUJuid9RBSdvecE1W86x/J0dOmd1dn+GcFacNCgl6Rms6JS3MIA0I9uP04SlNxzApha/ kx77Mg/MtrFZdPY1ihCTn89MkDyDW/rnOD6sVAARBdc67Ad1K/eqN3fNNXEGDEbyTPVB maPQ== 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:mime-version :dkim-signature; bh=j4QfK2iQAnum2nLeQTWlegafxzZD5NZOg4pgJLg01dE=; b=0mJ+znKN4qvnbw5no+MxTrTmFrkoqG9k4kmnFixd5PitOH5cuZMdFs/xufPWQemRGZ utrRYf43V67G2LquugtNLOi67asfudaCjqFvMqQj5y6SPQu0XyQDfuZDwS0BLn25ICTZ TMrY5EAySCWkXFbKOiwVPVkmt+FPaCLULlEqw7hComRnwAjOZFHPRdcLMfWywSpSJr4e 7p2Wln75RGTs3qwQ3vbFDmDcS+ZEb0+v3kzGU3Ezi3T3nupzdlAkpYUHYI+Og4Cqc0yo U7nt2usruRVJ8Q6ddPBnPHxIn+cDTz0OnGAoECjo3FT/hPc7qy7XEkuCw84E1welXQeS c8tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ob/iDl7s"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l190-20020a633ec7000000b00419b27d0a83si1003971pga.476.2022.07.14.00.52.35; Thu, 14 Jul 2022 00:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ob/iDl7s"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230494AbiGNHti (ORCPT + 99 others); Thu, 14 Jul 2022 03:49:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237797AbiGNHtL (ORCPT ); Thu, 14 Jul 2022 03:49:11 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AEF63D5BD for ; Thu, 14 Jul 2022 00:47:49 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id w12so1294678edd.13 for ; Thu, 14 Jul 2022 00:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=j4QfK2iQAnum2nLeQTWlegafxzZD5NZOg4pgJLg01dE=; b=Ob/iDl7slzxs6s1Nb24Ut1I908w4BBEZs3y45dQIbbgQRW2Bchged3fvN70UJ+fyWa VI7tpv0BXfNCh4vxB8vUl++0/hQclfaaGz6EZN71BRZam77903CT2hFzVAJ0yRN3mhJW O32U9HZ+kpLGobXtM3iBZgHBIAl0ME2xRb9uaNjN7UmxuBSbylu2heXjW2zF6ZUjw/b1 wCfHNXH9+Fl2Ub65sYkqbFd32O8V2UX26XELw47ntiFYJN4/kV1FsaHBJoRLtwPbyH00 CIG5gPaobIxJR9q7lzP+He4mAC2SQbJ/fmC/Guau+FgzWfunLqMXAZ/yw4X7H1sM97Tz QNiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=j4QfK2iQAnum2nLeQTWlegafxzZD5NZOg4pgJLg01dE=; b=TLk7cKo5NQzBsMIOYFiXViPLXxm28rELIMo5UNvKVYw6RnRwr2H2mHs038RIm8J4/z M5KT5G8pCLrZCKW35Px1W18vdlgCyEwHGXNY5nKK2a1GQvEyGyd2tt8ymMdcs0lDCAxK Ugr+6wk4VM5sVnSV5RQSeRkzL7dbpAPJV06A43J+bd76u9EcQbuksWc+NoWnbLHWo6WT H5UBQZrlx4FFUozaKcRzPNHzQY87jY1T/sxNuuhz6jdkR9SmmULX4x7XLz7tkX+wMxsa /5cZSI0KEs8AZdyzAqeK1ceP1O70fRoT1vuFJ/yY2eYsYq8P/2Frei/5fHu4hEW3VqMg l32w== X-Gm-Message-State: AJIora8lCXa5q0RQx45QT+JnjzTnESzsHOus9gHu2bShQlgU7SFs4fZ+ E+rh8zhqtxNC+PhhC0LnY05jN9zDesTrKsW+/jpGkQ== X-Received: by 2002:a05:6402:2812:b0:43a:9041:d5db with SMTP id h18-20020a056402281200b0043a9041d5dbmr10342886ede.208.1657784867856; Thu, 14 Jul 2022 00:47:47 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 14 Jul 2022 13:17:36 +0530 Message-ID: Subject: [next] Kernel panic - not syncing: swiotlb_init_remap: nslabs = 0 too small To: Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, linux-mm Cc: Andrew Morton , Stephen Rothwell , Christoph Hellwig , "open list:IOMMU DRIVERS" , Anshuman Khandual , Tom Lendacky , conor@kernel.org, Marek Szyprowski , Robin Murphy Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Please ignore this email if it is already reported] Linux next-20220713 boot failed on arm, arm64, x86_64 and i386 [1]. Reported-by: Linux Kernel Functional Testing Reported-by: Naresh Kamboju metadata: git_ref: master git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_sha: 4662b7adea50bb62e993a67f611f3be625d3df0d git_describe: next-20220713 kernel_version: 5.19.0-rc6 kernel-config: https://builds.tuxbuild.com/2BtFIR2DegCrbRCCTSZF93YVeiO/config build-url: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/pipelines/586982028 artifact-location: https://builds.tuxbuild.com/2BtFIR2DegCrbRCCTSZF93YVeiO vmlinux.xz: https://builds.tuxbuild.com/2BtFIR2DegCrbRCCTSZF93YVeiO/vmlinux.xz System.map: https://builds.tuxbuild.com/2BtFIR2DegCrbRCCTSZF93YVeiO/System.map toolchain: gcc-11 Here is the boot log output from arm64 juno-r2 device. [ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd033] [ 0.000000] Linux version 5.19.0-rc6-next-20220713 (tuxmake@tuxmake) (aarch64-linux-gnu-gcc (Debian 11.3.0-3) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT @1657717522 [ 0.000000] Machine model: ARM Juno development board (r2) [ 0.000000] earlycon: pl11 at MMIO 0x000000007ff80000 (options '') [ 0.000000] printk: bootconsole [pl11] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000009ffffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x9fefd1b40-0x9fefd3fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000009ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x00000000feffffff] [ 0.000000] node 0: [mem 0x0000000880000000-0x00000009ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000009ffffffff] [ 0.000000] On node 0, zone Normal: 4096 pages in unavailable ranges [ 0.000000] cma: Reserved 32 MiB at 0x00000000fd000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 30 pages/cpu s82856 r8192 d31832 u122880 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 843419 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2060288 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: console=ttyAMA0,115200n8 root=/dev/nfs rw nfsroot=10.66.16.120:/var/lib/lava/dispatcher/tmp/5283518/extract-nfsrootfs-ulkeoqdy,tcp,hard,vers=3,wsize=65536 earlycon=pl011,0x7ff80000 console_msg_format=syslog earlycon default_hugepagesz=2M hugepages=256 sky2.mac_address=0x00,0x02,0xF7,0x00,0x68,0x51 ip=dhcp <6>[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) <6>[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) <6>[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off <0>[ 0.000000] Kernel panic - not syncing: swiotlb_init_remap: nslabs = 0 too small <4>[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.19.0-rc6-next-20220713 #1 <4>[ 0.000000] Hardware name: ARM Juno development board (r2) (DT) <4>[ 0.000000] Call trace: <4>[ 0.000000] dump_backtrace+0xe8/0x130 <4>[ 0.000000] show_stack+0x24/0x60 <4>[ 0.000000] dump_stack_lvl+0x8c/0xb8 <4>[ 0.000000] dump_stack+0x18/0x34 <4>[ 0.000000] panic+0x188/0x38c <4>[ 0.000000] swiotlb_init_remap+0x50/0x54 <4>[ 0.000000] swiotlb_init+0x20/0x2c <4>[ 0.000000] mem_init+0x38/0x48 <4>[ 0.000000] start_kernel+0x448/0x738 <4>[ 0.000000] __primary_switched+0xb8/0xc0 <0>[ 0.000000] ---[ end Kernel panic - not syncing: swiotlb_init_remap: nslabs = 0 too small ]--- Full test log link, [1] https://lkft.validation.linaro.org/scheduler/job/5283518#L582 Best regards Naresh Kamboju -- Linaro LKFT https://lkft.linaro.org