From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D78717B500; Fri, 7 Mar 2025 19:04:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741374266; cv=none; b=NGF/ONOzf8nT5SBTEQoHr6DcFaB9eZVNrqPn9yxiqhdv5eV4zvdRz/f/YYJMpp5ZFW3ldWj043eeRU0vlZovyibKXown/wd4NhUm6P1ZBk7JLXD1h8SOXluq/38I0ICDPtTSHgqImfQknqMGpp13Bi4sass2nq000pi/O6/xMnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741374266; c=relaxed/simple; bh=LZxlQy480B8XB9W2bL3qE02TAbT/sG5jtfYMZ1zrq+o=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=sVZaL0wWv9myyG2AwWiD9IVO/RTGGMMxqClpEvVVoYSOEQ5oy7a2JlrTcHw4YXGKs+NL/kGDnD1GrQz1bmI4/eBa6orXpf0/8GLf3uky+AJIIZcDSQCJEHVXRG+aFv1AUv9kAFg2Hra2L1Uw1CvnzATiKTEUT1VNjfLGVaS1in8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RyXqhtQZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RyXqhtQZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93FC4C4CED1; Fri, 7 Mar 2025 19:04:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741374265; bh=LZxlQy480B8XB9W2bL3qE02TAbT/sG5jtfYMZ1zrq+o=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=RyXqhtQZ5KUWy0AhGDI964MIE339CWMEPxfiMElmViRFSYblTU12jNzw1zu3p6wY9 oHok6mKCkgxMWYDEEkRVkfAgVHLn3M4X8YvEpl1BysA7aCj164Mwv6b6VifZXNdDj/ GUWojKq1i3mhDolSUK9Hw+DzaI/kK20wmPa8ag+GD06/sP3BQRF68WOcSnrZKyBOSR mZe5N7gGZm5PZHQqaXu5PRJiGxTn8rxn3fxBdHcJJ5Mbb4qWfCX47CpWdW91GafZ72 icT+hCw9/wm4PcXL+HlmPF6OYT6GwOVUlytw/WkSJlP4eEFf0BaMhPmjXk4lrKoEUN 64eIPl4R+jWYw== Message-ID: <725811bfa06a86f47a90f84ade2d1461.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <01cdf3a68e120d30bdcf4fc225bb236dba47fdff.camel@linaro.org> References: <20250305-clk-samsung-ref-init-data-v1-0-a4e03a019306@linaro.org> <01cdf3a68e120d30bdcf4fc225bb236dba47fdff.camel@linaro.org> Subject: Re: [PATCH RFC/RFT 00/12] clk: samsung: Use platform_driver_probe() to avoid __refdata From: Stephen Boyd Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org To: Alim Akhtar , =?utf-8?q?Andr=C3=A9?= Draszik , Chanwoo Choi , Krzysztof Kozlowski , Krzysztof Kozlowski , Michael Turquette , Peter Griffin , Sam Protsenko , Sylwester Nawrocki , Tudor Ambarus Date: Fri, 07 Mar 2025 11:04:23 -0800 User-Agent: alot/0.12.dev1+gaa8c22fdeedb Quoting Andr=C3=A9 Draszik (2025-03-07 06:29:18) >=20 > I've tried this on top of next-20250225, and it doesn't work on gs101 > either and OOPSes several times during boot in different places, but > I can not dig deeper right now. >=20 > [ 11.502919][ T58] Unable to handle kernel paging request at virtual = address ffffbfe2ab25cc30 > [ 11.503128][ T58] Mem abort info: > [ 11.503202][ T58] ESR =3D 0x0000000096000007 > [ 11.503295][ T58] EC =3D 0x25: DABT (current EL), IL =3D 32 bits > [ 11.503419][ T58] SET =3D 0, FnV =3D 0 > [ 11.503498][ T58] EA =3D 0, S1PTW =3D 0 > [ 11.503579][ T58] FSC =3D 0x07: level 3 translation fault > [ 11.503695][ T58] Data abort info: > [ 11.503769][ T58] ISV =3D 0, ISS =3D 0x00000007, ISS2 =3D 0x000000= 00 > [ 11.503896][ T58] CM =3D 0, WnR =3D 0, TnD =3D 0, TagAccess =3D 0 > [ 11.504058][ T58] GCS =3D 0, Overlay =3D 0, DirtyBit =3D 0, Xs =3D= 0 > [ 11.504288][ T58] swapper pgtable: 4k pages, 48-bit VAs, pgdp=3D0000= 00008208c000 > [ 11.504570][ T58] [ffffbfe2ab25cc30] pgd=3D0000000000000000, p4d=3D1= 000000082a58003, pud=3D1000000082a59003, pmd=3D1000000082a5d003, > pte=3D0000000000000000 > [ 11.505079][ T58] Internal error: Oops: 0000000096000007 [#1] PREEMP= T SMP > [ 11.505346][ T58] Modules linked in: > [ 11.505495][ T58] CPU: 6 UID: 0 PID: 58 Comm: kworker/u32:1 Tainted:= G T 6.14.0-rc4-next-20250225+ #12 > [ 11.505902][ T58] Tainted: [T]=3DRANDSTRUCT > [ 11.506061][ T58] Hardware name: Raven (DT) > [ 11.506230][ T58] Workqueue: events_unbound deferred_probe_work_func > [ 11.506477][ T58] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -S= SBS BTYPE=3D--) > [ 11.506768][ T58] pc : __device_attach_driver+0x18/0x254 > [ 11.506978][ T58] lr : bus_for_each_drv+0xfc/0x154 > [ 11.507168][ T58] sp : ffff8000803abc00 > [ 11.507321][ T58] x29: ffff8000803abc10 x28: ffff00ed403363d0 x27: f= fff00ed40336400 > [ 11.507620][ T58] x26: 0000000000000000 x25: ffff00ed4002380d x24: f= fff00ed40028000 > [ 11.507919][ T58] x23: ffffbfe2aba26000 x22: 0000000000000000 x21: f= fff00ed409f8400 > [ 11.508219][ T58] x20: ffff8000803abca8 x19: ffffbfe2a9a4cf4c x18: 0= 000000000000040 > [ 11.508518][ T58] x17: 0000000000000001 x16: 0000000000000001 x15: 0= 000000000000010 > [ 11.508817][ T58] x14: 0000000000000010 x13: 0000000000000093 x12: 0= 000000000000002 > [ 11.509117][ T58] x11: ffffffffff6070d2 x10: 0000bef56a420260 x9 : 0= 000000100000000 > [ 11.509416][ T58] x8 : 0000000100000000 x7 : ff7f7f7f7f7f7f7f x6 : 4= 55242436f53531d > [ 11.509715][ T58] x5 : 1d53536f43425245 x4 : 0000000000000000 x3 : e= 8c6e6e4bec6c65a > [ 11.510015][ T58] x2 : 0000000000000062 x1 : ffff8000803abca8 x0 : f= fffbfe2ab25cc28 > [ 11.510315][ T58] Call trace: > [ 11.510436][ T58] __device_attach_driver+0x18/0x254 (P) > [ 11.510644][ T58] bus_for_each_drv+0xfc/0x154 > [ 11.510819][ T58] __device_attach+0x100/0x1cc > [ 11.510996][ T58] device_initial_probe+0x14/0x20 > [ 11.511182][ T58] bus_probe_device+0x94/0x100 > [ 11.511359][ T58] deferred_probe_work_func+0xa0/0xfc platform_driver_probe() is incompatible with deferred probe. It should have set drv->prevent_deferred_probe to true so the driver must have gotten onto the deferred probe list somehow when it shouldn't have.