From: Tor Vic <torvic9@mailbox.org>
To: Erhard Furtner <erhard_f@mailbox.org>, linux-i2c@vger.kernel.org
Cc: mwalle@kernel.org, linuxppc-dev@lists.ozlabs.org,
benjamin.bara@skidata.com,
Dmitry Osipenko <dmitry.osipenko@collabora.com>
Subject: Re: WARNING: No atomic I2C transfer handler for 'i2c-4' at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x178/0x190 (kernel 6.6.X, 6.7-rcX, PowerMac G5 11,2)
Date: Wed, 3 Jan 2024 10:33:42 +0100 [thread overview]
Message-ID: <8cdba1ac-701f-40d4-ade9-e429da4a0794@mailbox.org> (raw)
In-Reply-To: <20231222230106.73f030a5@yea>
On 12/22/23 23:01, Erhard Furtner wrote:
> Greetings!
>
> I am getting this on my PowerMac G5 11,2 at reboot on kernels 6.6.X and 6.7-rcX:
>
Hi,
this seems to be the same issue as [1], and also referenced in [2].
For now, I have reverted the patch [3] as the huge splats on reboot are
really annoying.
[1]
https://lore.kernel.org/linux-i2c/13271b9b-4132-46ef-abf8-2c311967bb46@mailbox.org/
[2]
https://lore.kernel.org/linux-i2c/20230327-tegra-pmic-reboot-v7-2-18699d5dcd76@skidata.com/T/#m22d00b913f150b4d80623162c5b0c79b338774f0
[3] (3473cf43b) i2c: core: Run atomic i2c xfer when !preemptible
Cheers,
Tor Vic
> [...]
> reboot: Restarting system
> ------------[ cut here ]------------
> No atomic I2C transfer handler for 'i2c-4'
> WARNING: CPU: 1 PID: 362 at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x178/0x190
> Modules linked in: windfarm_cpufreq_clamp windfarm_smu_sensors windfarm_smu_controls windfarm_pm112 snd_aoa_codec_onyx windfarm_pid snd_aoa_fabric_layout snd_aoa nouveau windfarm_smu_sat snd_aoa_i2sbus windfarm_lm75_sensor snd_aoa_soundbus windfarm_max6690_sensor firewire_ohci snd_pcm windfarm_core drm_exec snd_timer firewire_core crc_itu_t gpu_sched snd i2c_algo_bit backlight drm_ttm_helper ttm soundcore ohci_pci rack_meter tg3 drm_display_helper hwmon cfg80211 rfkill zram zsmalloc loop dm_mod configfs
> CPU: 1 PID: 362 Comm: kwindfarm Not tainted 6.6.7-gentoo-PMacG5 #1
> Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
> NIP: c000000000b03f68 LR: c000000000b03f64 CTR: 0000000000000000
> REGS: c00000001fddf930 TRAP: 0700 Not tainted (6.6.7-gentoo-PMacG5)
> MSR: 9000000000029032 <SF,HV,EE,ME,IR,DR,RI> CR: 24002842 XER: 00000000
> IRQMASK: 0
> GPR00: 0000000000000000 c00000001fddfbd0 c0000000010dd900 0000000000000000
> GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR12: 0000000000000000 c00000000ffff700 c000000000101558 c00000001be361c0
> GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR20: 0000000000000000 0000000000000000 0000000000000000 c0003d0000348258
> GPR24: 0000000051eb851f 000000000000004c 0000000000000000 0000000000000001
> GPR28: 0000000000000001 0000000000000002 c00000001fddfc96 c0000000040c8828
> NIP [c000000000b03f68] i2c_smbus_xfer+0x178/0x190
> LR [c000000000b03f64] i2c_smbus_xfer+0x174/0x190
> Call Trace:
> [c00000001fddfbd0] [c000000000b03f64] i2c_smbus_xfer+0x174/0x190 (unreliable)
> [c00000001fddfc70] [c000000000b040d4] i2c_smbus_read_byte_data+0x64/0xd0
> [c00000001fddfcd0] [c0003d00003290c8] wf_max6690_get+0x30/0x90 [windfarm_max6690_sensor]
> [c00000001fddfd00] [c0003d000006878c] pm112_wf_notify+0x564/0x118c [windfarm_pm112]
> [c00000001fddfe00] [c000000000103364] notifier_call_chain+0xa4/0x190
> [c00000001fddfea0] [c00000000010387c] blocking_notifier_call_chain+0x5c/0xb0
> [c00000001fddfee0] [c0003d000034ebe0] wf_thread_func+0xe8/0x190 [windfarm_core]
> [c00000001fddff90] [c000000000101680] kthread+0x130/0x140
> [c00000001fddffe0] [c00000000000bfb0] start_kernel_thread+0x14/0x18
> Code: 39800000 4e800020 e9290018 2c290000 4082ff1c e88300e0 2c240000 4182001c 3c62fff4 3863f2b0 4b5bf379 60000000 <0fe00000> 4bfffef8 e8830090 4bffffe4
> ---[ end trace 0000000000000000 ]---
> ------------[ cut here ]------------
> No atomic I2C transfer handler for 'i2c-4'
> WARNING: CPU: 1 PID: 362 at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x178/0x190
> Modules linked in: windfarm_cpufreq_clamp windfarm_smu_sensors windfarm_smu_controls windfarm_pm112 snd_aoa_codec_onyx windfarm_pid snd_aoa_fabric_layout snd_aoa nouveau windfarm_smu_sat snd_aoa_i2sbus windfarm_lm75_sensor snd_aoa_soundbus windfarm_max6690_sensor firewire_ohci snd_pcm windfarm_core drm_exec snd_timer firewire_core crc_itu_t gpu_sched snd i2c_algo_bit backlight drm_ttm_helper ttm soundcore ohci_pci rack_meter tg3 drm_display_helper hwmon cfg80211 rfkill zram zsmalloc loop dm_mod configfs
> CPU: 1 PID: 362 Comm: kwindfarm Tainted: G W 6.6.7-gentoo-PMacG5 #1
> Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
> NIP: c000000000b03f68 LR: c000000000b03f64 CTR: 0000000000000000
> REGS: c00000001fddf930 TRAP: 0700 Tainted: G W (6.6.7-gentoo-PMacG5)
> MSR: 9000000000029032 <SF,HV,EE,ME,IR,DR,RI> CR: 24002842 XER: 00000000
> IRQMASK: 0
> GPR00: 0000000000000000 c00000001fddfbd0 c0000000010dd900 0000000000000000
> GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR12: 0000000000000000 c00000000ffff700 c000000000101558 c00000001be361c0
> GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR20: 0000000000000000 0000000000000000 0000000000000000 c0003d0000348258
> GPR24: 0000000051eb851f 000000000000004a 0000000000000000 0000000000000001
> GPR28: 0000000000000000 0000000000000003 c00000001fddfc96 c0000000040c8828
> NIP [c000000000b03f68] i2c_smbus_xfer+0x178/0x190
> LR [c000000000b03f64] i2c_smbus_xfer+0x174/0x190
> Call Trace:
> [c00000001fddfbd0] [c000000000b03f64] i2c_smbus_xfer+0x174/0x190 (unreliable)
> [c00000001fddfc70] [c000000000b04274] i2c_smbus_read_word_data+0x64/0xd0
> [c00000001fddfcd0] [c0003d00003bc0dc] wf_lm75_get+0x44/0xf0 [windfarm_lm75_sensor]
> [c00000001fddfd00] [c0003d00000688ac] pm112_wf_notify+0x684/0x118c [windfarm_pm112]
> [c00000001fddfe00] [c000000000103364] notifier_call_chain+0xa4/0x190
> [c00000001fddfea0] [c00000000010387c] blocking_notifier_call_chain+0x5c/0xb0
> [c00000001fddfee0] [c0003d000034ebe0] wf_thread_func+0xe8/0x190 [windfarm_core]
> [c00000001fddff90] [c000000000101680] kthread+0x130/0x140
> [c00000001fddffe0] [c00000000000bfb0] start_kernel_thread+0x14/0x18
> Code: 39800000 4e800020 e9290018 2c290000 4082ff1c e88300e0 2c240000 4182001c 3c62fff4 3863f2b0 4b5bf379 60000000 <0fe00000> 4bfffef8 e8830090 4bffffe4
> ---[ end trace 0000000000000000 ]---
> ------------[ cut here ]------------
> No atomic I2C transfer handler for 'i2c-1'
> WARNING: CPU: 1 PID: 362 at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x178/0x190
> Modules linked in: windfarm_cpufreq_clamp windfarm_smu_sensors windfarm_smu_controls windfarm_pm112 snd_aoa_codec_onyx windfarm_pid snd_aoa_fabric_layout snd_aoa nouveau windfarm_smu_sat snd_aoa_i2sbus windfarm_lm75_sensor snd_aoa_soundbus windfarm_max6690_sensor firewire_ohci snd_pcm windfarm_core drm_exec snd_timer firewire_core crc_itu_t gpu_sched snd i2c_algo_bit backlight drm_ttm_helper ttm soundcore ohci_pci rack_meter tg3 drm_display_helper hwmon cfg80211 rfkill zram zsmalloc loop dm_mod configfs
> CPU: 1 PID: 362 Comm: kwindfarm Tainted: G W 6.6.7-gentoo-PMacG5 #1
> Hardware name: PowerMac11,2 PPC970MP 0x440101 PowerMac
> NIP: c000000000b03f68 LR: c000000000b03f64 CTR: 0000000000000000
> REGS: c00000001fddf8f0 TRAP: 0700 Tainted: G W (6.6.7-gentoo-PMacG5)
> MSR: 9000000000029032 <SF,HV,EE,ME,IR,DR,RI> CR: 24002842 XER: 00000000
> IRQMASK: 0
> GPR00: 0000000000000000 c00000001fddfb90 c0000000010dd900 0000000000000000
> GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR12: 0000000000000000 c00000000ffff700 c000000000101558 c00000001be361c0
> GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR20: 0000000000000000 0000000000000000 c0003d0000348840 c0003d0000348858
> GPR24: 0000000000000000 0000000000000058 0000000000000000 0000000000000001
> GPR28: 000000000000003f 0000000000000008 c00000001fddfc56 c0000000040ca028
> NIP [c000000000b03f68] i2c_smbus_xfer+0x178/0x190
> LR [c000000000b03f64] i2c_smbus_xfer+0x174/0x190
> Call Trace:
> [c00000001fddfb90] [c000000000b03f64] i2c_smbus_xfer+0x174/0x190 (unreliable)
> [c00000001fddfc30] [c000000000b04644] i2c_smbus_read_i2c_block_data+0x84/0x120
> [c00000001fddfca0] [c0003d00003374a4] wf_sat_sensor_get+0x16c/0x1a0 [windfarm_smu_sat]
> [c00000001fddfd00] [c0003d00000684e8] pm112_wf_notify+0x2c0/0x118c [windfarm_pm112]
> [c00000001fddfe00] [c000000000103364] notifier_call_chain+0xa4/0x190
> [c00000001fddfea0] [c00000000010387c] blocking_notifier_call_chain+0x5c/0xb0
> [c00000001fddfee0] [c0003d000034ebe0] wf_thread_func+0xe8/0x190 [windfarm_core]
> [c00000001fddff90] [c000000000101680] kthread+0x130/0x140
> [c00000001fddffe0] [c00000000000bfb0] start_kernel_thread+0x14/0x18
> Code: 39800000 4e800020 e9290018 2c290000 4082ff1c e88300e0 2c240000 4182001c 3c62fff4 3863f2b0 4b5bf379 60000000 <0fe00000> 4bfffef8 e8830090 4bffffe4
> ---[ end trace 0000000000000000 ]---
>
>
> Kernel .config and full dmesg attached.
>
> Regards,
> Erhard
prev parent reply other threads:[~2024-01-03 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-22 22:01 WARNING: No atomic I2C transfer handler for 'i2c-4' at drivers/i2c/i2c-core.h:40 i2c_smbus_xfer+0x178/0x190 (kernel 6.6.X, 6.7-rcX, PowerMac G5 11,2) Erhard Furtner
2024-01-03 9:33 ` Tor Vic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8cdba1ac-701f-40d4-ade9-e429da4a0794@mailbox.org \
--to=torvic9@mailbox.org \
--cc=benjamin.bara@skidata.com \
--cc=dmitry.osipenko@collabora.com \
--cc=erhard_f@mailbox.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mwalle@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).