Skip to content

Conversation

@richlowe
Copy link
Owner

@richlowe richlowe commented Dec 5, 2023

This takes Patrick's fix for illumos#16088 and puts it into ns16550 as well (which is an almost direct copy of asy for mysterious reasons, remember).

@hadfl @citrus-it It seems best to double check this on raspberry pi, though I still wish we knew why this wasn't just asy(4D) in the first place

@pfmooney can you confirm you're ok with my putting your name on this, since it's directly taken out of your fix?

Copy link

@pfmooney pfmooney left a comment

Choose a reason for hiding this comment

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

One small nit, but yeah, looks fine for the commit to bear my name. Thanks for checking.

struct nsasyncline *nsasync = ns16550->ns16550_priv;
int ret_status = DDI_INTR_UNCLAIMED;
uchar_t interrupt_id, lsr;
uchar_t lsr;
Copy link

Choose a reason for hiding this comment

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

Move this inside the for loop and make it const there like in upstream?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Sure, updated.

Copy link

Choose a reason for hiding this comment

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

Thanks.

@pfmooney
Copy link

pfmooney commented Dec 5, 2023

Might want to wait until the 16107 fix lands

(includes the later fix for 16107 asy VERIFY too strong in face of polledio)
@richlowe
Copy link
Owner Author

richlowe commented Dec 5, 2023

Might want to wait until the 16107 fix lands

Done

@pfmooney
Copy link

pfmooney commented Dec 5, 2023

Thanks for waiting. Sorry about the extra trouble.

@richlowe
Copy link
Owner Author

richlowe commented Dec 6, 2023

@hadfl says this gets stally on rpi (though it doesn't seem to on qemu). That said, it seems to be stalling for interrupts, which we've seen go ok on qemu and not raspberry pi before.

I don't immediately see anything I did wrong merging with Patrick, though?

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.

3 participants