forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'asoc-v5.9' of https://git.kernel.org/pub/scm/linux/kernel/…
…git/broonie/sound into for-linus ASoC: Updates for v5.9 The biggest changes here one again come from Mormioto-san who has continued his dilligent work cleaning up long standing issues in the APIs, it's particularly nice to see the transition from digital_mute() to mute_stream() finally completed. There's also been a lot of work on the x86 code again, this time a big focus has been on cleaning up some issues identified by various static tests, and on the Freescale systems. Otherwise the biggest thing has been a lot of driver additions: - Convert users of digital_mute() to mute_stream(). - Simplify I/O helper functions. - Add a helper for getting the RTD from a substream. - Many, many fixes and cleanups to the x86 code. - New drivers for Freescale MQS and i.MX6sx, Intel KeemBay I2S, Maxim MAX98360A and MAX98373 Soundwire, several Mediatek boards, nVidia Tegra 186 and 210, RealTek RL6231, Samsung Midas and Aries boards (some of the first phones I worked on!) and TI J721e EVM.
- Loading branch information
Showing
2,514 changed files
with
35,259 additions
and
16,838 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
What: /sys/bus/nd/devices/nmemX/papr/flags | ||
Date: Apr, 2020 | ||
KernelVersion: v5.8 | ||
Contact: linuxppc-dev <[email protected]>, [email protected], | ||
Description: | ||
(RO) Report flags indicating various states of a | ||
papr-pmem NVDIMM device. Each flag maps to a one or | ||
more bits set in the dimm-health-bitmap retrieved in | ||
response to H_SCM_HEALTH hcall. The details of the bit | ||
flags returned in response to this hcall is available | ||
at 'Documentation/powerpc/papr_hcalls.rst' . Below are | ||
the flags reported in this sysfs file: | ||
|
||
* "not_armed" : Indicates that NVDIMM contents will not | ||
survive a power cycle. | ||
* "flush_fail" : Indicates that NVDIMM contents | ||
couldn't be flushed during last | ||
shut-down event. | ||
* "restore_fail": Indicates that NVDIMM contents | ||
couldn't be restored during NVDIMM | ||
initialization. | ||
* "encrypted" : NVDIMM contents are encrypted. | ||
* "smart_notify": There is health event for the NVDIMM. | ||
* "scrubbed" : Indicating that contents of the | ||
NVDIMM have been scrubbed. | ||
* "locked" : Indicating that NVDIMM contents cant | ||
be modified until next power cycle. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ Device Mapper | |
dm-clone | ||
dm-crypt | ||
dm-dust | ||
dm-ebs | ||
dm-flakey | ||
dm-init | ||
dm-integrity | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,3 +61,43 @@ test, or an end-to-end test. | |
kernel by installing a production configuration of the kernel on production | ||
hardware with a production userspace and then trying to exercise some behavior | ||
that depends on interactions between the hardware, the kernel, and userspace. | ||
|
||
KUnit isn't working, what should I do? | ||
====================================== | ||
|
||
Unfortunately, there are a number of things which can break, but here are some | ||
things to try. | ||
|
||
1. Try running ``./tools/testing/kunit/kunit.py run`` with the ``--raw_output`` | ||
parameter. This might show details or error messages hidden by the kunit_tool | ||
parser. | ||
2. Instead of running ``kunit.py run``, try running ``kunit.py config``, | ||
``kunit.py build``, and ``kunit.py exec`` independently. This can help track | ||
down where an issue is occurring. (If you think the parser is at fault, you | ||
can run it manually against stdin or a file with ``kunit.py parse``.) | ||
3. Running the UML kernel directly can often reveal issues or error messages | ||
kunit_tool ignores. This should be as simple as running ``./vmlinux`` after | ||
building the UML kernel (e.g., by using ``kunit.py build``). Note that UML | ||
has some unusual requirements (such as the host having a tmpfs filesystem | ||
mounted), and has had issues in the past when built statically and the host | ||
has KASLR enabled. (On older host kernels, you may need to run ``setarch | ||
`uname -m` -R ./vmlinux`` to disable KASLR.) | ||
4. Make sure the kernel .config has ``CONFIG_KUNIT=y`` and at least one test | ||
(e.g. ``CONFIG_KUNIT_EXAMPLE_TEST=y``). kunit_tool will keep its .config | ||
around, so you can see what config was used after running ``kunit.py run``. | ||
It also preserves any config changes you might make, so you can | ||
enable/disable things with ``make ARCH=um menuconfig`` or similar, and then | ||
re-run kunit_tool. | ||
5. Try to run ``make ARCH=um defconfig`` before running ``kunit.py run``. This | ||
may help clean up any residual config items which could be causing problems. | ||
6. Finally, try running KUnit outside UML. KUnit and KUnit tests can run be | ||
built into any kernel, or can be built as a module and loaded at runtime. | ||
Doing so should allow you to determine if UML is causing the issue you're | ||
seeing. When tests are built-in, they will execute when the kernel boots, and | ||
modules will automatically execute associated tests when loaded. Test results | ||
can be collected from ``/sys/kernel/debug/kunit/<test suite>/results``, and | ||
can be parsed with ``kunit.py parse``. For more details, see "KUnit on | ||
non-UML architectures" in :doc:`usage`. | ||
|
||
If none of the above tricks help, you are always welcome to email any issues to | ||
[email protected]. |
Oops, something went wrong.