ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] CONFLICT: sound/soc/dwc/dwc-i2s.c: dwc-i2s: support Baikal-M SoC
@ 2023-06-09 14:26 Vitaly Chikunov
  2023-06-09 14:54 ` Konstantin Lepikhov
  0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Chikunov @ 2023-06-09 14:26 UTC (permalink / raw)
  To: ALT Linux kernel development

Alexey,

Случился merge conflict апстримного кода (stable/linux-5.15.y):

  e9d167c 2023-05-05 09:28 Maxim Kochetkov   ∙ ASoC: dwc: limit the number of overrun messages

с нашим (std-def/sisyphus):

  843884b 2022-05-23 19:35 Alexey Sheplyakov ∙ (BROKEN) dwc-i2s: support Baikal-M SoC

Как лучше это решить?

> + git merge --no-edit v6.1.33
> Auto-merging sound/soc/dwc/dwc-i2s.c
> CONFLICT (content): Merge conflict in sound/soc/dwc/dwc-i2s.c
> Auto-merging drivers/firmware/efi/libstub/arm64-stub.c
> Recorded preimage for 'sound/soc/dwc/dwc-i2s.c'
> Automatic merge failed; fix conflicts and then commit the result.
> diff --cc sound/soc/dwc/dwc-i2s.c
> index 1568d82166f3,3496301582b2..000000000000
> --- a/sound/soc/dwc/dwc-i2s.c
> +++ b/sound/soc/dwc/dwc-i2s.c
> @@@ -137,13 -136,9 +137,19 @@@ static irqreturn_t i2s_irq_handler(int 
>   			irq_valid = true;
>   		}
>   
>  -		/* Error Handling: TX */
>  +		/* Error Handling: RX */
>   		if (isr[i] & ISR_RXFO) {
> ++<<<<<<< HEAD
>  +			rxor_count = READ_ONCE(dev->rx_overrun_count);
>  +			if (!(rxor_count & 0x3ff))
>  +				dev_dbg(dev->dev, "RX overrun (ch_id=%d)\n", i);

Замена dev_dbg на dev_dbg_ratelimited или отказываемся от апстримных
изменений?

>  +			rxor_count++;
>  +			WRITE_ONCE(dev->rx_overrun_count, rxor_count);
> ++||||||| 76ba310227d2
> ++			dev_err(dev->dev, "RX overrun (ch_id=%d)\n", i);
> ++=======
> + 			dev_err_ratelimited(dev->dev, "RX overrun (ch_id=%d)\n", i);
> ++>>>>>>> v6.1.33
>   			irq_valid = true;
>   		}
>   	}



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [d-kernel] CONFLICT: sound/soc/dwc/dwc-i2s.c: dwc-i2s: support Baikal-M SoC
  2023-06-09 14:26 [d-kernel] CONFLICT: sound/soc/dwc/dwc-i2s.c: dwc-i2s: support Baikal-M SoC Vitaly Chikunov
@ 2023-06-09 14:54 ` Konstantin Lepikhov
  0 siblings, 0 replies; 2+ messages in thread
From: Konstantin Lepikhov @ 2023-06-09 14:54 UTC (permalink / raw)
  To: devel-kernel

Hi Vitaly!

On 06/09/2023, at 05:26:09 PM you wrote:

> Alexey,
> 
> Случился merge conflict апстримного кода (stable/linux-5.15.y):
> 
>   e9d167c 2023-05-05 09:28 Maxim Kochetkov   ∙ ASoC: dwc: limit the number of overrun messages
> 
> с нашим (std-def/sisyphus):
> 
>   843884b 2022-05-23 19:35 Alexey Sheplyakov ∙ (BROKEN) dwc-i2s: support Baikal-M SoC
> 
> Как лучше это решить?
> 
Если это действительно overrun messages то лучше делать ratelimit (не
заглядывая в логику драйвера байкала).

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-09 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 14:26 [d-kernel] CONFLICT: sound/soc/dwc/dwc-i2s.c: dwc-i2s: support Baikal-M SoC Vitaly Chikunov
2023-06-09 14:54 ` Konstantin Lepikhov

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git