FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

pkg/arch: Do not build in serial drivers by qzed · Pull Request #1430 · linux-surface/linux-surface · GitHub

pkg/arch: Do not build in serial drivers - #1430

Closed
qzed wants to merge 2 commits into
masterfrom
arch-builtins
Closed

pkg/arch: Do not build in serial drivers#1430
qzed wants to merge 2 commits into
masterfrom
arch-builtins

Conversation

qzed commented Apr 30, 2024

Copy link
Copy Markdown
Member

Since linux-surface/kernel#152 we should not require the serial drivers to be built in any more. In essence, the PR causes the SAM driver to return EPROBE_DEFER when the serial device is not ready.

Specifics on how to best handle this (i.e., which function should actually return EPROBE_DEFER) are still to be determined, but for now linux-surface/kernel#152 should provide a better workaround that (at least in theory and based on limited testing) fixes this problem as well. So let's test if this holds up in practice.

Since [1] we should not require the serial drivers to be built in any
more. In essence, the PR causes the SAM driver to return EPROBE_DEFER
when the serial device is not ready.

Specifics on how to best handle this (i.e., which function should
actually return EPROBE_DEFER) are still to be discussed, but for now
this should provide a better workaround that hopefully fixes this
problem as well. So let's test it.

[1]: linux-surface/kernel#152

StollD left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you also add the new patch to the patchset? So that they are merged at the same time and we don't forget?

Changes:
 - Fix SAM driver probe failure when UART is not ready yet (@phreer).

Links:
 - kernel: linux-surface/kernel@43ef589
 - PR: linux-surface/kernel#152

qzed commented Apr 30, 2024

Copy link
Copy Markdown
Member Author

Good idea. Done.

qzed commented Jun 11, 2024

Copy link
Copy Markdown
Member Author

Superseded by https://lore.kernel.org/all/20240509141549.63704-1-hdegoede@redhat.com/ (integrated into our v6.9 patches) and commit 312dae7.

qzed closed this Jun 11, 2024
qzed deleted the arch-builtins branch January 18, 2026 13:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL