Skip to content

ASoC: SOF: amd: Fix for handling spurious interrupts from DSP#4147

Merged
ranj063 merged 1 commit intothesofproject:topic/sof-devfrom
reddysujith:topic/sof-dev
Feb 2, 2023
Merged

ASoC: SOF: amd: Fix for handling spurious interrupts from DSP#4147
ranj063 merged 1 commit intothesofproject:topic/sof-devfrom
reddysujith:topic/sof-dev

Conversation

@reddysujith
Copy link

As interrupts are Level-triggered,until unless we deassert the register the interrupts are generated which causes spurious interrupts unhandled.

Now we deasserted the interrupt at top half which solved the below warning nobody cared.

warning reported in dmesg:
irq 80: nobody cared (try booting with the "irqpoll" option)
CPU: 5 PID: 2735 Comm: irq/80-AudioDSP
Not tainted 5.15.86-15817-g4c19f3e06d49 #1 1bd3fd932cf58caacc95b0504d6ea1e3eab22289
Hardware name: Google Skyrim/Skyrim, BIOS Google_Skyrim.15303.0.0 01/03/2023
Call Trace:

dump_stack_lvl+0x69/0x97
__report_bad_irq+0x3a/0xae
note_interrupt+0x1a9/0x1e3
handle_irq_event_percpu+0x4b/0x6e
handle_irq_event+0x36/0x5b
handle_fasteoi_irq+0xae/0x171
__common_interrupt+0x48/0xc4

handlers:
acp_irq_handler [snd_sof_amd_acp] threaded [<000000007e089f34>] acp_irq_thread [snd_sof_amd_acp]
Disabling IRQ #80

Signed-off-by: V sujith kumar Reddy Vsujithkumar.Reddy@amd.com

@reddysujith reddysujith force-pushed the topic/sof-dev branch 2 times, most recently from fa9567e to ad09de9 Compare January 25, 2023 05:21
As interrupts are Level-triggered,unless and until we deassert the register
the interrupts are generated which causes spurious interrupts unhandled.

Now we deasserted the interrupt at top half which solved the below
"nobody cared" warning.

warning reported in dmesg:
	irq 80: nobody cared (try booting with the "irqpoll" option)
	CPU: 5 PID: 2735 Comm: irq/80-AudioDSP
		Not tainted 5.15.86-15817-g4c19f3e06d49 thesofproject#1 1bd3fd932cf58caacc95b0504d6ea1e3eab22289
	Hardware name: Google Skyrim/Skyrim, BIOS Google_Skyrim.15303.0.0 01/03/2023
	Call Trace:
	<IRQ>
	dump_stack_lvl+0x69/0x97
	 __report_bad_irq+0x3a/0xae
	note_interrupt+0x1a9/0x1e3
	handle_irq_event_percpu+0x4b/0x6e
	handle_irq_event+0x36/0x5b
	handle_fasteoi_irq+0xae/0x171
	 __common_interrupt+0x48/0xc4
	</IRQ>

	handlers:
	acp_irq_handler [snd_sof_amd_acp] threaded [<000000007e089f34>] acp_irq_thread [snd_sof_amd_acp]
	Disabling IRQ thesofproject#80

Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
@reddysujith
Copy link
Author

Hi,

@plbossart @ranj063 Can you please help to merge the patch

@ranj063 ranj063 merged commit aa9bd45 into thesofproject:topic/sof-dev Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants