Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2561919lqz; Wed, 3 Apr 2024 01:29:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCwU9jxH94gH8V+mG4C2UEWrrW9WWSWz0yKoB9e/sSMZMOkj8eqBABHlILuq0KA9SBBSAmwJLdR5w1hIifW2zweL7WreaNpTdDH6GjXw== X-Google-Smtp-Source: AGHT+IEf2/KbvHdzMbLHEC4t9MeY15SFBWFhf7NBi9gG083WqxSDLzt7uPRp5Dzsnea4OVefeEw/ X-Received: by 2002:a05:6a00:9a4:b0:6ea:8898:39cc with SMTP id u36-20020a056a0009a400b006ea889839ccmr2801777pfg.0.1712132954828; Wed, 03 Apr 2024 01:29:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712132954; cv=pass; d=google.com; s=arc-20160816; b=QP9Sx602gwRCdalUXSIkE0cgcbGbdzWcgdM4dTuBP7TP7FCGYNCWAyWTsCjz9R9oQT FnXd8rHkGnSxk39BdYVKfg9MNsK7MBAuFEJyc+McSDG7KTUwAVsWwBZyGX+00ET4/3j+ e2K5eMNfjXoXrOIQ/DtaqQhuUvc/yNXNGzpFK+9ZSblvtGqy08OyxRCN+ISZsq1usWet bYEpNtJdSCKLKe290m+TNKCvutyGa+x56s9HCRcB3+Cygi0DYXb8hB/X4EC2oHYz32ra 1Ty811S3qZUIzW5Ca9Pfh2BaGGWueZRH+RxDXq6KkCeOghN0PLAw7mA0e42XBNukrGB6 o9LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=/fGVkRIkK0leUxxqB9ifBy0sWbMDHQsnxMmGARr2Dxs=; fh=FiwqXH668o76rLEK1+ElP8EazezEmXWbRQZOCwZqhOs=; b=KT+PPvt4exP7IlwGcZD/Q/6AwxMXcKi/fBfznvxoU85LKNsI7pNdkPu5ovNeIb5qZh zmqcjQCmISkzxoaeeAdMtgxnttl+2UWauuQtM7RzwCSi/FX3921gkh+HHUDxksN4gtgO TfOrVHSIfHum/II1lqBoO1nhuvB54ZJ4g4w4o7QiXtgqjm1aMlM2SXoqz+02e+Dh/sP2 GJggHxBMpuBa8Bg0XkgmAeGYUS/KpverufLCf2RGLG5/fZYLeqFpaNubPn4nZ0RiiXD6 VhyStKzyRQMxgj/+BLIJXYD11ysnlG8nFI/W8TS3TOp7i8ixrty0J/fjA4khlISvuPqx qF7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-129310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p13-20020a056a000b4d00b006eb3c2c337bsi6219885pfo.192.2024.04.03.01.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 01:29:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-129310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A0F43284E73 for ; Wed, 3 Apr 2024 08:24:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C29CD1339A5; Wed, 3 Apr 2024 08:12:21 +0000 (UTC) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A923D6FE0A; Wed, 3 Apr 2024 08:12:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712131940; cv=none; b=lvglwFz4IC3Osb+89Kty1qdj/CrW1NBhOjwayA6K341KthGTzG2JGZIpocR4s4kDSEpmtU/ns3EthoGsDt6K2M6Q4BkrTiakS4lEBoipzWwfhDXZaSg1DtXh1+9UV0yysDZ9cwdNiMkOfuC/a1lNob7zxzzHauKfEBHi5l9jV+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712131940; c=relaxed/simple; bh=1StINLJ1bmPYgPcrEp6tfQKDPdb8awXvACAlwcy0L9I=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZG5OerQReEI3d9yO5ZxqkUg3LSFMUZ4UHk5fdP+Ky3nrY1iuNaTkxJnJSVqECu6RL04U1ZwrseXgwP1edAGzHiqTwC+IHqn5fUSp5qaKZTjHl9Tk+aG+Qnnz8jqUgzXolfowDUYUYsmjcm1mexZaoBoLkYvjEf7ZmkgdHk5ZLYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.128.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-615053a5252so6338007b3.1; Wed, 03 Apr 2024 01:12:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712131936; x=1712736736; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/fGVkRIkK0leUxxqB9ifBy0sWbMDHQsnxMmGARr2Dxs=; b=SgB2M66QrRg8G8+10a+Dvi4yILF4190S3xXRg68oqB4hSO6pvGlRDslsdS+JKgM1Bt 9+7iYCuIGFAC/Pytd4wQNmppi0MRqEgkcJDFLa3DfMwI3DBwVoHpFsxnjQrHKK4kOHEh Kn+goxw+QxoFFcHVs4J+ZC3QhdZ9u5jheVp06Pqzzam+0OhVc3ff297I2p20/JpfPlYZ 38IwgPnXkoHTCPSzp7OseU0EP8xY2rgE0zFyPpjgfs/BDsqId2yJmHTByfCsGQZHEL4h eyYPBEiyms0shyc/0lv6eFRyfBmjVYkmuoa6qCnlMZVhKHc+16O3L5ZmMuUygr5ts3/v PkzA== X-Forwarded-Encrypted: i=1; AJvYcCU2GYoNRtA6c4v7T6ZcZeMUJYSNL2TmbNoY95tzF+y4jfrkIcYNwQvnu+y1p6/Y01ZqWnIE696u3VG9ykvLuyEj7x4EIKwddOx33HtuTBqmmojfkhfMA8V/a6ExSH2qPb9BGUhHuS5dVdr6xdRyw0GvZOegC/hgZRa5Z0Lzfq+xzM7+kQ== X-Gm-Message-State: AOJu0YzolNBtTuL7T3UkJSsokuW8J4ryfcBeq8lgfFg4VmnGnV7V78Ic V85JEcVBYdSWhijmST3FszfJuZwqZQuq1KBDX0TtOeAHpyN785mCe714YFXRpM0ivQ== X-Received: by 2002:a81:6cc2:0:b0:610:b545:6605 with SMTP id h185-20020a816cc2000000b00610b5456605mr1079251ywc.26.1712131935293; Wed, 03 Apr 2024 01:12:15 -0700 (PDT) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com. [209.85.128.174]) by smtp.gmail.com with ESMTPSA id r4-20020a815d04000000b00610fbbce06dsm3235299ywb.107.2024.04.03.01.12.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 01:12:14 -0700 (PDT) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-615053a5252so6337677b3.1; Wed, 03 Apr 2024 01:12:14 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVg2qwu41J3M0N/Qb/7kO5ymeq65iokxaq4O8VORRq987KtGqX+MXUZYJBlnpsnYlc/R11AfDtzBAuzlWLnW7k+2O8RWziaSDtVg7EMaDelMi4pSXEX0Qr7v1V7+biVJyA8loVWrDxe4nghSuQicxRFCybQkKmgmLrMw6IardK/dO4K9A== X-Received: by 2002:a0d:dd50:0:b0:614:35a7:4c40 with SMTP id g77-20020a0ddd50000000b0061435a74c40mr1262377ywe.22.1712131934151; Wed, 03 Apr 2024 01:12:14 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240318114346.112935-1-tanure@linux.com> <1e6ce146-ebf6-4200-be8b-a4ec78675d40@amlogic.com> In-Reply-To: <1e6ce146-ebf6-4200-be8b-a4ec78675d40@amlogic.com> Reply-To: tanure@linux.com From: Lucas Tanure Date: Wed, 3 Apr 2024 09:12:01 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC][PATCH 0/2] Amlogic T7 (A113D2) Clock Driver To: Xianwei Zhao Cc: Yu Tu , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Michael Turquette , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 3, 2024 at 7:44=E2=80=AFAM Xianwei Zhao wrote: > > Hi Lucas, > As we are preparing the T7 clock patchset, we would like to your > purpose and plan of this RFC patches. Are you going to submit these > patches at last? Hi Xianwei, I made some progress, and now the SD card controller probes but fails to read blocks from the SD card. I do think my port of the clock driver is okay, but I will not send my clock driver until the SD card fully works, so I am sure the clocking driver is tested. But if you have something already done, please send it, and I will test and review it from my side. Any help with the sdcard controller is also much appreciated. Thanks Lucas > On 2024/3/18 19:43, Lucas Tanure wrote: > > [ EXTERNAL EMAIL ] > > > > I am trying to port the T7 clock driver from Khadas 5.4 kernel for Vim4 > > to mainline, but I am encountering some issues in the path. > > > > The kernel panics at clk_mux_val_to_index, but I believe that all the > > needed clocks are registered. > > > > If anyone from Amlogic or the community could help me understand what > > my driver is missing, that would be great. > > I will continue to try to figure out, but it has been some weeks > > without progress =3D/. > > > > Lucas Tanure (2): > > clk: meson: T7: add support for Amlogic T7 SoC PLL clock driver > > arm64: dts: amlogic: t7: SDCard, Ethernet and Clocking > > > > .../amlogic/amlogic-t7-a311d2-khadas-vim4.dts | 66 + > > arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 189 + > > drivers/clk/meson/Kconfig | 25 + > > drivers/clk/meson/Makefile | 2 + > > drivers/clk/meson/t7-peripherals.c | 6368 ++++++++++++++++= + > > drivers/clk/meson/t7-peripherals.h | 131 + > > drivers/clk/meson/t7-pll.c | 1543 ++++ > > drivers/clk/meson/t7-pll.h | 83 + > > .../clock/amlogic,t7-peripherals-clkc.h | 410 ++ > > .../dt-bindings/clock/amlogic,t7-pll-clkc.h | 69 + > > 10 files changed, 8886 insertions(+) > > create mode 100644 drivers/clk/meson/t7-peripherals.c > > create mode 100644 drivers/clk/meson/t7-peripherals.h > > create mode 100644 drivers/clk/meson/t7-pll.c > > create mode 100644 drivers/clk/meson/t7-pll.h > > create mode 100644 include/dt-bindings/clock/amlogic,t7-peripherals-c= lkc.h > > create mode 100644 include/dt-bindings/clock/amlogic,t7-pll-clkc.h > > > > Starting kernel ... > > > > uboot time: 14277917 us > > boot 64bit kernel > > [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd092] > > [ 0.000000] Linux version 6.8.0-09793-gda876e5b54b3-dirty (tanureal@= ryzen) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Archite= cture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for = the A-pr4 > > [ 0.000000] KASLR disabled due to lack of seed > > [ 0.000000] Machine model: Khadas vim4 > > [ 0.000000] efi: UEFI not found. > > [ 0.000000] OF: reserved mem: 0x0000000005000000..0x00000000052fffff= (3072 KiB) nomap non-reusable secmon@5000000 > > [ 0.000000] OF: reserved mem: 0x0000000005300000..0x00000000072fffff= (32768 KiB) nomap non-reusable secmon@5300000 > > [ 0.000000] NUMA: No NUMA configuration found > > [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x0000000= 0df7fffff] > > [ 0.000000] NUMA: NODE_DATA [mem 0xdf10c9c0-0xdf10efff] > > [ 0.000000] Zone ranges: > > [ 0.000000] DMA [mem 0x0000000000000000-0x00000000df7fffff] > > [ 0.000000] DMA32 empty > > [ 0.000000] Normal empty > > [ 0.000000] Movable zone start for each node > > [ 0.000000] Early memory node ranges > > [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000004ffffff] > > [ 0.000000] node 0: [mem 0x0000000005000000-0x00000000072fffff] > > [ 0.000000] node 0: [mem 0x0000000007300000-0x00000000df7fffff] > > [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000d= f7fffff] > > [ 0.000000] On node 0, zone DMA: 2048 pages in unavailable ranges > > [ 0.000000] cma: Reserved 32 MiB at 0x00000000d9800000 on node -1 > > [ 0.000000] psci: probing for conduit method from DT. > > [ 0.000000] psci: PSCIv1.0 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.1 > > [ 0.000000] percpu: Embedded 24 pages/cpu s58152 r8192 d31960 u98304 > > [ 0.000000] Detected VIPT I-cache on CPU0 > > [ 0.000000] CPU features: detected: Spectre-v2 > > [ 0.000000] CPU features: detected: Spectre-v4 > > [ 0.000000] CPU features: detected: Spectre-BHB > > [ 0.000000] CPU features: detected: ARM erratum 858921 > > [ 0.000000] alternatives: applying boot alternatives > > [ 0.000000] Kernel command line: root=3DUUID=3Da91e7bfe-4263-4e53-86= 7d-7824e7c6a992 rw rootfstype=3Dext4 console=3DttyS0,921600 no_console_susp= end earlycon=3DttyS0,0xfe078000 khadas_board=3DVIM4 androidboot.selinux=3Dp= ermissive androidboot.0 > > [ 0.000000] Unknown kernel command line parameters "khadas_board=3DV= IM4", will be passed to user space. > > [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194= 304 bytes, linear) > > [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 209715= 2 bytes, linear) > > [ 0.000000] Fallback order for Node 0: 0 > > [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 9= 01152 > > [ 0.000000] Policy zone: DMA > > [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off > > [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to = 3MB > > [ 0.000000] software IO TLB: area num 8. > > [ 0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 4= MB > > [ 0.000000] software IO TLB: mapped [mem 0x00000000d8e00000-0x000000= 00d9200000] (4MB) > > [ 0.000000] Memory: 3445944K/3661824K available (16896K kernel code,= 4426K rwdata, 9184K rodata, 9728K init, 611K bss, 183112K reserved, 32768K= cma-reserved) > > [ 0.000000] SLUB: HWalign=3D64, Order=3D0-3, MinObjects=3D0, CPUs=3D= 8, Nodes=3D1 > > [ 0.000000] rcu: Preemptible hierarchical RCU implementation. > > [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=3D256 to nr_c= pu_ids=3D8. > > [ 0.000000] Trampoline variant of Tasks RCU enabled. > > [ 0.000000] Tracing variant of Tasks RCU enabled. > > [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay = is 25 jiffies. > > [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=3D16, nr_cpu= _ids=3D8 > > [ 0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_a= djust=3D1. > > [ 0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_tas= k_cb_adjust=3D1. > > [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 > > [ 0.000000] GIC: GICv2 detected, but range too small and irqchip.gic= v2_force_probe not set > > [ 0.000000] Root IRQ handler: gic_handle_irq > > [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on conte= ntion. > > [ 0.000000] arch_timer: Enabling local workaround for ARM erratum 85= 8921 > > [ 0.000000] arch_timer: CPU0: Trapping CNTVCT access > > [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). > > [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff ma= x_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns > > [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps ev= ery 4398046511097ns > > [ 0.000210] Console: colour dummy device 80x25 > > [ 0.000253] Calibrating delay loop (skipped), value calculated using= timer frequency.. 48.00 BogoMIPS (lpj=3D96000) > > [ 0.000261] pid_max: default: 32768 minimum: 301 > > [ 0.000300] LSM: initializing lsm=3Dcapability > > [ 0.000358] Mount-cache hash table entries: 8192 (order: 4, 65536 by= tes, linear) > > [ 0.000371] Mountpoint-cache hash table entries: 8192 (order: 4, 655= 36 bytes, linear) > > [ 0.000920] cacheinfo: Unable to detect cache hierarchy for CPU 0 > > [ 0.001389] rcu: Hierarchical SRCU implementation. > > [ 0.001391] rcu: Max phase no-delay instances is 1000. > > [ 0.001834] EFI services will not be available. > > [ 0.001999] smp: Bringing up secondary CPUs ... > > [ 0.002408] CPU features: detected: ARM erratum 845719 > > [ 0.002426] Detected VIPT I-cache on CPU1 > > [ 0.002516] CPU1: Booted secondary processor 0x0000000100 [0x410fd03= 4] > > [ 0.003007] Detected VIPT I-cache on CPU2 > > [ 0.003054] CPU2: Booted secondary processor 0x0000000101 [0x410fd03= 4] > > [ 0.003497] Detected VIPT I-cache on CPU3 > > [ 0.003546] CPU3: Booted secondary processor 0x0000000102 [0x410fd03= 4] > > [ 0.003988] Detected VIPT I-cache on CPU4 > > [ 0.004038] CPU4: Booted secondary processor 0x0000000103 [0x410fd03= 4] > > [ 0.004472] Detected VIPT I-cache on CPU5 > > [ 0.004509] arch_timer: Enabling local workaround for ARM erratum 85= 8921 > > [ 0.004519] arch_timer: CPU5: Trapping CNTVCT access > > [ 0.004527] CPU5: Booted secondary processor 0x0000000001 [0x410fd09= 2] > > [ 0.004915] Detected VIPT I-cache on CPU6 > > [ 0.004940] arch_timer: Enabling local workaround for ARM erratum 85= 8921 > > [ 0.004946] arch_timer: CPU6: Trapping CNTVCT access > > [ 0.004951] CPU6: Booted secondary processor 0x0000000002 [0x410fd09= 2] > > [ 0.005333] Detected VIPT I-cache on CPU7 > > [ 0.005358] arch_timer: Enabling local workaround for ARM erratum 85= 8921 > > [ 0.005364] arch_timer: CPU7: Trapping CNTVCT access > > [ 0.005369] CPU7: Booted secondary processor 0x0000000003 [0x410fd09= 2] > > [ 0.005414] smp: Brought up 1 node, 8 CPUs > > [ 0.005419] SMP: Total of 8 processors activated. > > [ 0.005421] CPU: All CPU(s) started at EL2 > > [ 0.005434] CPU features: detected: 32-bit EL0 Support > > [ 0.005437] CPU features: detected: 32-bit EL1 Support > > [ 0.005440] CPU features: detected: CRC32 instructions > > [ 0.005485] alternatives: applying system-wide alternatives > > [ 0.006730] devtmpfs: initialized > > [ 0.008534] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfff= fffff, max_idle_ns: 7645041785100000 ns > > [ 0.008545] futex hash table entries: 2048 (order: 5, 131072 bytes, = linear) > > [ 0.008989] pinctrl core: initialized pinctrl subsystem > > [ 0.009581] DMI not present or invalid. > > [ 0.011290] NET: Registered PF_NETLINK/PF_ROUTE protocol family > > [ 0.011944] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic all= ocations > > [ 0.012293] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for at= omic allocations > > [ 0.012711] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for = atomic allocations > > [ 0.012832] audit: initializing netlink subsys (disabled) > > [ 0.013075] audit: type=3D2000 audit(0.012:1): state=3Dinitialized a= udit_enabled=3D0 res=3D1 > > [ 0.013508] thermal_sys: Registered thermal governor 'step_wise' > > [ 0.013512] thermal_sys: Registered thermal governor 'power_allocato= r' > > [ 0.013557] cpuidle: using governor menu > > [ 0.013675] hw-breakpoint: found 6 breakpoint and 4 watchpoint regis= ters. > > [ 0.013784] ASID allocator initialised with 65536 entries > > [ 0.014630] Serial: AMBA PL011 UART driver > > [ 0.017553] Modules: 22496 pages in range for non-PLT usage > > [ 0.017556] Modules: 514016 pages in range for PLT usage > > [ 0.017980] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 = pages > > [ 0.017984] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page > > [ 0.017988] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 = pages > > [ 0.017990] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page > > [ 0.017993] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 = pages > > [ 0.017995] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page > > [ 0.017997] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 = pages > > [ 0.018000] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page > > [ 0.018247] Demotion targets for Node 0: null > > [ 0.018884] ACPI: Interpreter disabled. > > [ 0.019584] iommu: Default domain type: Translated > > [ 0.019587] iommu: DMA domain TLB invalidation policy: strict mode > > [ 0.019979] SCSI subsystem initialized > > [ 0.020174] usbcore: registered new interface driver usbfs > > [ 0.020187] usbcore: registered new interface driver hub > > [ 0.020200] usbcore: registered new device driver usb > > [ 0.020434] pps_core: LinuxPPS API ver. 1 registered > > [ 0.020437] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo= lfo Giometti > > [ 0.020443] PTP clock support registered > > [ 0.020487] EDAC MC: Ver: 3.0.0 > > [ 0.020717] scmi_core: SCMI protocol bus registered > > [ 0.021039] FPGA manager framework > > [ 0.021076] Advanced Linux Sound Architecture Driver Initialized. > > [ 0.021612] vgaarb: loaded > > [ 0.021857] clocksource: Switched to clocksource arch_sys_counter > > [ 0.021967] VFS: Disk quotas dquot_6.6.0 > > [ 0.021984] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 = bytes) > > [ 0.022062] pnp: PnP ACPI: disabled > > [ 0.026651] NET: Registered PF_INET protocol family > > [ 0.026781] IP idents hash table entries: 65536 (order: 7, 524288 by= tes, linear) > > [ 0.028598] tcp_listen_portaddr_hash hash table entries: 2048 (order= : 3, 32768 bytes, linear) > > [ 0.028615] Table-perturb hash table entries: 65536 (order: 6, 26214= 4 bytes, linear) > > [ 0.028622] TCP established hash table entries: 32768 (order: 6, 262= 144 bytes, linear) > > [ 0.028750] TCP bind hash table entries: 32768 (order: 8, 1048576 by= tes, linear) > > [ 0.029019] TCP: Hash tables configured (established 32768 bind 3276= 8) > > [ 0.029096] UDP hash table entries: 2048 (order: 4, 65536 bytes, lin= ear) > > [ 0.029124] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes= , linear) > > [ 0.029225] NET: Registered PF_UNIX/PF_LOCAL protocol family > > [ 0.029506] RPC: Registered named UNIX socket transport module. > > [ 0.029510] RPC: Registered udp transport module. > > [ 0.029512] RPC: Registered tcp transport module. > > [ 0.029513] RPC: Registered tcp-with-tls transport module. > > [ 0.029515] RPC: Registered tcp NFSv4.1 backchannel transport module= . > > [ 0.029524] PCI: CLS 0 bytes, default 64 > > [ 0.029649] Unpacking initramfs... > > [ 0.033933] kvm [1]: IPA Size Limit: 40 bits > > [ 0.034713] kvm [1]: Hyp mode initialized successfully > > [ 0.035476] Initialise system trusted keyrings > > [ 0.035582] workingset: timestamp_bits=3D42 max_order=3D20 bucket_or= der=3D0 > > [ 0.035747] squashfs: version 4.0 (2009/01/31) Phillip Lougher > > [ 0.035906] NFS: Registering the id_resolver key type > > [ 0.035919] Key type id_resolver registered > > [ 0.035922] Key type id_legacy registered > > [ 0.035933] nfs4filelayout_init: NFSv4 File Layout Driver Registerin= g... > > [ 0.035935] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re= gistering... > > [ 0.036031] 9p: Installing v9fs 9p2000 file system support > > [ 0.062587] Key type asymmetric registered > > [ 0.062596] Asymmetric key parser 'x509' registered > > [ 0.062657] Block layer SCSI generic (bsg) driver version 0.4 loaded= (major 245) > > [ 0.062661] io scheduler mq-deadline registered > > [ 0.062664] io scheduler kyber registered > > [ 0.062688] io scheduler bfq registered > > [ 0.063318] irq_meson_gpio: 157 to 12 gpio interrupt mux initialized > > [ 0.068061] EINJ: ACPI disabled. > > [ 0.072570] amlogic_t7_pll_probe > > [ 0.072855] amlogic_t7_pll_probe ret 0 > > [ 0.072943] amlogic_a1_periphs_probe > > [ 0.078155] amlogic_a1_periphs_probe ret 0 > > [ 0.084876] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > > [ 0.086691] fe078000.serial: ttyS0 at MMIO 0xfe078000 (irq =3D 14, b= ase_baud =3D 1500000) is a meson_uart > > [ 0.086710] printk: legacy console [ttyS0] enabled > > [ 0.229167] sysfs: cannot create duplicate filename '/class/tty/ttyS= 0' > > [ 0.229669] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 6.8.0-09793-gd= a876e5b54b3-dirty #15 > > [ 0.230684] Hardware name: Khadas vim4 (DT) > > [ 0.231205] Call trace: > > [ 0.231509] dump_backtrace+0x94/0xec > > [ 0.231963] show_stack+0x18/0x24 > > [ 0.232374] dump_stack_lvl+0x78/0x90 > > [ 0.232829] dump_stack+0x18/0x24 > > [ 0.233241] sysfs_warn_dup+0x64/0x80 > > [ 0.233696] sysfs_do_create_link_sd+0xf0/0xf8 > > [ 0.234248] sysfs_create_link+0x20/0x40 > > [ 0.234736] device_add+0x27c/0x77c > > [ 0.235169] device_register+0x20/0x30 > > [ 0.235635] tty_register_device_attr+0xfc/0x240 > > [ 0.236209] tty_port_register_device_attr_serdev+0x8c/0xac > > [ 0.236902] serial_core_register_port+0x318/0x658 > > [ 0.237498] serial_ctrl_register_port+0x10/0x1c > > [ 0.238072] uart_add_one_port+0x10/0x1c > > [ 0.238560] meson_uart_probe+0x2c0/0x3b4 > > [ 0.239058] platform_probe+0x68/0xd8 > > [ 0.239513] really_probe+0x148/0x2b4 > > [ 0.239968] __driver_probe_device+0x78/0x12c > > [ 0.240510] driver_probe_device+0xdc/0x160 > > [ 0.241030] __driver_attach+0x94/0x19c > > [ 0.241507] bus_for_each_dev+0x74/0xd4 > > [ 0.241983] driver_attach+0x24/0x30 > > [ 0.242428] bus_add_driver+0xe4/0x1e8 > > [ 0.242893] driver_register+0x60/0x128 > > [ 0.243370] __platform_driver_register+0x28/0x34 > > [ 0.243955] meson_uart_platform_driver_init+0x1c/0x28 > > [ 0.244594] do_one_initcall+0x6c/0x1b0 > > [ 0.245071] kernel_init_freeable+0x1cc/0x294 > > [ 0.245613] kernel_init+0x20/0x1dc > > [ 0.246046] ret_from_fork+0x10/0x20 > > [ 0.246555] meson_uart fe078000.serial: Cannot register tty device o= n line 0 > > [ 0.247729] msm_serial: driver initialized > > [ 0.248150] SuperH (H)SCI(F) driver initialized > > [ 0.248544] STM32 USART driver initialized > > [ 0.263927] loop: module loaded > > [ 0.264952] megasas: 07.727.03.00-rc1 > > [ 0.271065] tun: Universal TUN/TAP device driver, 1.6 > > [ 0.271824] thunder_xcv, ver 1.0 > > [ 0.271878] thunder_bgx, ver 1.0 > > [ 0.271956] nicpf, ver 1.0 > > [ 0.273230] hns3: Hisilicon Ethernet Network Driver for Hip08 Family= - version > > [ 0.273437] hns3: Copyright (c) 2017 Huawei Corporation. > > [ 0.274148] hclge is initializing > > [ 0.274541] e1000: Intel(R) PRO/1000 Network Driver > > [ 0.275116] e1000: Copyright (c) 1999-2006 Intel Corporation. > > [ 0.275860] e1000e: Intel(R) PRO/1000 Network Driver > > [ 0.276449] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. > > [ 0.277209] igb: Intel(R) Gigabit Ethernet Network Driver > > [ 0.277867] igb: Copyright (c) 2007-2014 Intel Corporation. > > [ 0.278576] igbvf: Intel(R) Gigabit Virtual Function Network Driver > > [ 0.279330] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. > > [ 0.280319] sky2: driver version 1.30 > > [ 0.281597] VFIO - User Level meta-driver version: 0.3 > > [ 0.283859] usbcore: registered new interface driver usb-storage > > [ 0.286328] i2c_dev: i2c /dev entries driver > > [ 0.292404] sdhci: Secure Digital Host Controller Interface driver > > [ 0.292481] sdhci: Copyright(c) Pierre Ossman > > [ 0.293577] Synopsys Designware Multimedia Card Interface Driver > > [ 0.294572] sdhci-pltfm: SDHCI platform and OF driver helper > > [ 0.296259] ledtrig-cpu: registered to indicate activity on CPUs > > [ 0.298966] meson-sm: secure-monitor enabled > > [ 0.299963] usbcore: registered new interface driver usbhid > > [ 0.299997] usbhid: USB HID core driver > > [ 0.306803] NET: Registered PF_PACKET protocol family > > [ 0.306919] 9pnet: Installing 9P2000 support > > [ 0.307331] Key type dns_resolver registered > > [ 0.318926] Timer migration: 1 hierarchy levels; 8 children per grou= p; 1 crossnode level > > [ 0.319462] registered taskstats version 1 > > [ 0.319968] Loading compiled-in X.509 certificates > > [ 0.362771] clk: Disabling unused clocks > > [ 0.363100] PM: genpd: Disabling unused power domains > > [ 0.363383] ALSA device list: > > [ 0.363580] No soundcards found. > > [ 0.368194] meson-gx-mmc fe08a000.sd: Got CD GPIO > > [ 0.368524] SError Interrupt on CPU6, code 0x00000000bf000002 -- SEr= ror > > [ 0.368531] CPU: 6 PID: 87 Comm: kworker/u32:3 Not tainted 6.8.0-097= 93-gda876e5b54b3-dirty #15 > > [ 0.368537] Hardware name: Khadas vim4 (DT) > > [ 0.368540] Workqueue: async async_run_entry_fn > > [ 0.368552] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BT= YPE=3D--) > > [ 0.368556] pc : clk_mux_val_to_index+0x0/0xc0 > > [ 0.368565] lr : clk_mux_get_parent+0x4c/0x84 > > [ 0.368571] sp : ffff800082efba10 > > [ 0.368572] x29: ffff800082efba10 x28: ffff8000823279c0 x27: ffff800= 082327000 > > [ 0.368578] x26: ffff000004c361c0 x25: 0000000000000000 x24: 0000000= 000000002 > > [ 0.368584] x23: ffff000003f1d300 x22: ffff000003f1d2a0 x21: ffff000= 004c37280 > > [ 0.368589] x20: ffff000004c36ec0 x19: ffff000004bba800 x18: 0000000= 000000020 > > [ 0.368594] x17: ffff000000022000 x16: 0000000000000003 x15: fffffff= fffffffff > > [ 0.368599] x14: ffffffffffffffff x13: 0078756d2364732e x12: 3030306= 138306566 > > [ 0.368604] x11: 7f7f7f7f7f7f7f7f x10: ffff7fff83438910 x9 : 0000000= 000000005 > > [ 0.368609] x8 : 0101010101010101 x7 : 0000000000000000 x6 : 0511436= 7045e5359 > > [ 0.368613] x5 : 0000000000000006 x4 : 0000000000000000 x3 : 0000000= 000000000 > > [ 0.368618] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000= 004c36ec0 > > [ 0.368624] Kernel panic - not syncing: Asynchronous SError Interrup= t > > [ 0.368626] CPU: 6 PID: 87 Comm: kworker/u32:3 Not tainted 6.8.0-097= 93-gda876e5b54b3-dirty #15 > > [ 0.368630] Hardware name: Khadas vim4 (DT) > > [ 0.368631] Workqueue: async async_run_entry_fn > > [ 0.368635] Call trace: > > [ 0.368637] dump_backtrace+0x94/0xec > > [ 0.368644] show_stack+0x18/0x24 > > [ 0.368649] dump_stack_lvl+0x38/0x90 > > [ 0.368656] dump_stack+0x18/0x24 > > [ 0.368661] panic+0x388/0x3c8 > > [ 0.368666] nmi_panic+0x48/0x94 > > [ 0.368670] arm64_serror_panic+0x6c/0x78 > > [ 0.368674] do_serror+0x3c/0x78 > > [ 0.368677] el1h_64_error_handler+0x30/0x48 > > [ 0.368681] el1h_64_error+0x64/0x68 > > [ 0.368684] clk_mux_val_to_index+0x0/0xc0 > > [ 0.368689] __clk_register+0x440/0x82c > > [ 0.368693] devm_clk_register+0x5c/0xbc > > [ 0.368697] meson_mmc_clk_init+0x11c/0x2a8 > > [ 0.368702] meson_mmc_probe+0x18c/0x3c0 > > [ 0.368705] platform_probe+0x68/0xd8 > > [ 0.368711] really_probe+0x148/0x2b4 > > [ 0.368714] __driver_probe_device+0x78/0x12c > > [ 0.368718] driver_probe_device+0xdc/0x160 > > [ 0.368721] __device_attach_driver+0xb8/0x134 > > [ 0.368724] bus_for_each_drv+0x84/0xe0 > > [ 0.368727] __device_attach_async_helper+0xac/0xd0 > > [ 0.368730] async_run_entry_fn+0x34/0xe0 > > [ 0.368734] process_one_work+0x150/0x294 > > [ 0.368740] worker_thread+0x304/0x408 > > [ 0.368744] kthread+0x118/0x11c > > [ 0.368748] ret_from_fork+0x10/0x20 > > [ 0.368753] SMP: stopping secondary CPUs > > [ 0.368760] Kernel Offset: disabled > > [ 0.368761] CPU features: 0x0,00000060,d0080000,0200421b > > [ 0.368765] Memory Limit: none > > [ 0.400328] ---[ end Kernel panic - not syncing: Asynchronous SError= Interrupt ]--- > > > > > > -- > > 2.44.0 > >