Revision tags: release/13.0.0, release/12.2.0 |
|
#
cd3d0f8c |
| 15-Oct-2020 |
Alexander Motin <mav@FreeBSD.org> |
Drop unsolicited responses to the still attaching CODECs.
It is reported to fix kernel panics when early unsolicited responses delivered to the CODEC device not having driver attached yet.
PR: 250
Drop unsolicited responses to the still attaching CODECs.
It is reported to fix kernel panics when early unsolicited responses delivered to the CODEC device not having driver attached yet.
PR: 250248 Reported by: Rajeev Pillai <rajeev_v_pillai@yahoo.com> Reviewed by: avg MFC after: 2 weeks
show more ...
|
#
378503af |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
sound: clean up empty lines in .c and .h files
|
#
43022083 |
| 26-Jun-2020 |
Andriy Gapon <avg@FreeBSD.org> |
sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged. Specifically, bits in STATESTS (aka WAKESTS) were left set.
The fix is t
sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged. Specifically, bits in STATESTS (aka WAKESTS) were left set.
The fix is to disable WAKEEN and clear STATESTS bits before the HDA interrupt is enabled. This way we should never get any STATESTS bits.
I also added placeholders for all event bits that we currently do not enable, do not handle and do not clear. This might get useful when / if we enable any of them.
Reported by: kib (Apollo Lake hardware) Tested by: kib (earlier, different change) MFC after: 2 weeks X-MFC with: r362294
show more ...
|
#
4c7d1ab0 |
| 18-Jun-2020 |
Andriy Gapon <avg@FreeBSD.org> |
hdac_intr_handler: keep working until global interrupt status clears
It is plausible that the hardware interrupts a host only when GIS goes from zero to one. GIS is formed by OR-ing multiple hardwa
hdac_intr_handler: keep working until global interrupt status clears
It is plausible that the hardware interrupts a host only when GIS goes from zero to one. GIS is formed by OR-ing multiple hardware statuses, so it's possible that a previously cleared status gets set again while another status has not been cleared yet. Thus, there will be no new interrupt as GIS always stayed set. If we don't re-examine GIS then we can leave it set and never get another interrupt again.
Without this change I frequently saw a problem where snd_hda would stop working. Setting dev.hdac.1.polling=1 would bring it back to life and afterwards I could set polling back to zero. Sometimes the problem started right after a boot, sometimes it happened after resuming from S3, frequently it would occur when sound output and input are active concurrently (such as during conferencing). I looked at HDAC_INTSTS while the sound was not working and I saw that both HDAC_INTSTS_GIS and HDAC_INTSTS_CIS were set, but there were no interrupts.
I have collected some statistics over a period of several days about how many loops (calls to hdac_one_intr) the new code did for a single interrupt: +--------+--------------+ |Loops |Times Happened| +--------+--------------+ |0 |301 | |1 |12857746 | |2 |280 | |3 |2 | |4+ |0 | +--------+--------------+ I believe that previously the sound would get stuck each time we had to loop more than once.
The tested hardware is: hdac1: <AMD (0x15e3) HDA Controller> mem 0xfe680000-0xfe687fff at device 0.6 on pci4 hdacc1: <Realtek ALC269 HDA CODEC> at cad 0 on hdac1
No objections: mav MFC after: 5 weeks Differential Revision: https://reviews.freebsd.org/D25128
show more ...
|
Revision tags: release/11.4.0 |
|
#
fc68af79 |
| 05-Jun-2020 |
Alexander Motin <mav@FreeBSD.org> |
Add bunch of HDA controller and codec IDs.
MFC after: 2 weeks
|
#
5c96a7b2 |
| 13-May-2020 |
Andriy Gapon <avg@FreeBSD.org> |
snd_hda: fix typos related to quirks set via 'config' tunable
One wrong quirk bit, one wrong variable name.
MFC after: 1 week
|
#
317cb280 |
| 13-May-2020 |
Andriy Gapon <avg@FreeBSD.org> |
sound/hda: newer AMD devices still require the same PCIe snoop
So, replicate the ATI vendor snoop configuration for the AMD vendor. I think that this should fix a number of cases where users current
sound/hda: newer AMD devices still require the same PCIe snoop
So, replicate the ATI vendor snoop configuration for the AMD vendor. I think that this should fix a number of cases where users currently have to resort to polling or disabling MSI.
MFC after: 1 week
show more ...
|
#
258ba4c0 |
| 27-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
snd_hda: use bool for hdac_reset's boolean wakeup param
|
#
0ae64ae4 |
| 20-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hdac: remove unused macro
|
#
944a6408 |
| 19-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
snd_hda: whitespace and style(9) cleanups
|
#
cdf17038 |
| 18-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hda: remove hda*_lockowned macros
These are not used anywhere.
|
#
f6448524 |
| 18-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hdac: replace printf for unowned lock with a lock assertion
Reviewed by: markj, mav Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24479
|
#
a449a1eb |
| 17-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hdac: update comment to match function name
snd_hda was rewritten in r230130; one function retained a comment referencing the previous name.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
|
#
b75e561a |
| 10-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hda: if a CODEC is not responding, report which one
PR: 229190 MFC after: 1 week
|
#
8fe63c2a |
| 10-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hdac: show which command timed out
There are several reports of "hdac0: Command timeout on address 2" messages emitted during playback on a variety of contemporary machines. Show the command that ti
hdac: show which command timed out
There are several reports of "hdac0: Command timeout on address 2" messages emitted during playback on a variety of contemporary machines. Show the command that timed out in case it might provide a clue in finding the cause.
PR: 229190 MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
#
e41841f0 |
| 10-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hdac: update comment on reset duration
The comment previously stated the delay must be at least 250us but that was insufficient and so should be doubled, but the delay was actually 1000. The HDA sp
hdac: update comment on reset duration
The comment previously stated the delay must be at least 250us but that was insufficient and so should be doubled, but the delay was actually 1000. The HDA spec actually says the delay must be 521 us (25 frames) so update the comment to match.
show more ...
|
#
f30cf558 |
| 28-Mar-2020 |
Konstantin Belousov <kib@FreeBSD.org> |
hdaa: remove verbosity from the normal driver operations.
If hdaa is used in polling mode, it logs each change to the poll interval under bootverbose, which makes it unusable (slow). These messages
hdaa: remove verbosity from the normal driver operations.
If hdaa is used in polling mode, it logs each change to the poll interval under bootverbose, which makes it unusable (slow). These messages are arguably useless or are a debugging leftovers at best.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
#
75dfc66c |
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
#
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Mark all obvious cases as MPSAFE. All entries that haven't been marked as MPSAFE before are by default marked as NEEDGIANT
Approved by: kib (mentor, blanket) Commented by: kib, gallatin, melifaro Differential Revision: https://reviews.freebsd.org/D23718
show more ...
|
#
35228417 |
| 05-Dec-2019 |
Scott Long <scottl@FreeBSD.org> |
Add support for new sound HDA hardware
Sponsored by: Intel
|
Revision tags: release/12.1.0 |
|
#
a6c2525c |
| 29-Oct-2019 |
Scott Long <scottl@FreeBSD.org> |
Add device IDs for the next generation of Intel HDA audio.
MFC after: 3 days
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
c314e2af |
| 26-Sep-2019 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
snd_hda: Add Intel Cannon Lake support
Add PCI ids for Intel Cannon Lake PCH
Tested on: HP Spectre x360 13-p0043dx PR: 240574 Submitted by: Neel Chauhan <neel@neelc.org> Reviewed by: imp, mizhka,
snd_hda: Add Intel Cannon Lake support
Add PCI ids for Intel Cannon Lake PCH
Tested on: HP Spectre x360 13-p0043dx PR: 240574 Submitted by: Neel Chauhan <neel@neelc.org> Reviewed by: imp, mizhka, ray MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D21789
show more ...
|
Revision tags: release/11.3.0 |
|
#
f9856d08 |
| 21-Mar-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @345353
|
#
ce829184 |
| 20-Mar-2019 |
Alexander Motin <mav@FreeBSD.org> |
Tune chipset naming.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 2 weeks
|