At higher sampling rate (e.g. 192.0 kHz), Alesis iO26 transfers 4 data
channels per data block in CIP.
Both iO14 and iO26 have the same contents in their configuration ROM.
For this reason, ALSA Dice driver attempts to distinguish them according
to the value of TX0_AUDIO register at probe callback. Although the way is
valid at lower and middle sampling rate, it's lastly invalid at higher
sampling rate because because the two models returns the same value for
read transaction to the register.
In the most cases, users just plug-in the device and ALSA dice driver
detects it. In the case, the device runs at lower sampling rate and
the driver detects expectedly. For this reason, this commit leaves the
way to detect as is.
Fixes: 28b208f600a3 ("ALSA: dice: add parameters of stream formats for models produced by Alesis")
Cc: <stable(a)vger.kernel.org> # v4.18+
Signed-off-by: Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
---
sound/firewire/dice/dice-alesis.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/firewire/dice/dice-alesis.c b/sound/firewire/dice/dice-alesis.c
index 218292bdace6..f5b325263b67 100644
--- a/sound/firewire/dice/dice-alesis.c
+++ b/sound/firewire/dice/dice-alesis.c
@@ -15,7 +15,7 @@ alesis_io14_tx_pcm_chs[MAX_STREAMS][SND_DICE_RATE_MODE_COUNT] = {
static const unsigned int
alesis_io26_tx_pcm_chs[MAX_STREAMS][SND_DICE_RATE_MODE_COUNT] = {
- {10, 10, 8}, /* Tx0 = Analog + S/PDIF. */
+ {10, 10, 4}, /* Tx0 = Analog + S/PDIF. */
{16, 8, 0}, /* Tx1 = ADAT1 + ADAT2. */
};
--
2.20.1
It is preferrable to reject unknown flags within rseq unregistration
rather than to ignore them. It is an oversight caused by the fact that
the check for unknown flags is after the rseq unregister flag check.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers(a)efficios.com>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Cc: "Paul E. McKenney" <paulmck(a)linux.ibm.com>
Cc: Boqun Feng <boqun.feng(a)gmail.com>
Cc: "H . Peter Anvin" <hpa(a)zytor.com>
Cc: Paul Turner <pjt(a)google.com>
Cc: linux-api(a)vger.kernel.org
Cc: <stable(a)vger.kernel.org>
---
kernel/rseq.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/rseq.c b/kernel/rseq.c
index 27c48eb7de40..a4f86a9d6937 100644
--- a/kernel/rseq.c
+++ b/kernel/rseq.c
@@ -310,6 +310,8 @@ SYSCALL_DEFINE4(rseq, struct rseq __user *, rseq, u32, rseq_len,
int ret;
if (flags & RSEQ_FLAG_UNREGISTER) {
+ if (flags & ~RSEQ_FLAG_UNREGISTER)
+ return -EINVAL;
/* Unregister rseq for current thread. */
if (current->rseq != rseq || !current->rseq)
return -EINVAL;
--
2.17.1
Hello,
We ran automated tests on a patchset that was proposed for merging into this
kernel tree. The patches were applied to:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 6e282ba6ff6b - Linux 5.2.15
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
All kernel binaries, config files, and logs are available for download here:
https://artifacts.cki-project.org/pipelines/168287
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Merge testing
-------------
We cloned this repository and checked out the following commit:
Repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 6e282ba6ff6b - Linux 5.2.15
We grabbed the b3793b83d825 commit of the stable queue repository.
We then merged the patchset with `git am`:
bridge-mdb-remove-wrong-use-of-nlm_f_multi.patch
cdc_ether-fix-rndis-support-for-mediatek-based-smartphones.patch
ipv6-fix-the-link-time-qualifier-of-ping_v6_proc_exit_net.patch
isdn-capi-check-message-length-in-capi_write.patch
ixgbe-fix-secpath-usage-for-ipsec-tx-offload.patch
ixgbevf-fix-secpath-usage-for-ipsec-tx-offload.patch
net-fix-null-de-reference-of-device-refcount.patch
net-gso-fix-skb_segment-splat-when-splitting-gso_size-mangled-skb-having-linear-headed-frag_list.patch
net-phylink-fix-flow-control-resolution.patch
net-sched-fix-reordering-issues.patch
sch_hhf-ensure-quantum-and-hhf_non_hh_weight-are-non-zero.patch
sctp-fix-the-link-time-qualifier-of-sctp_ctrlsock_exit.patch
sctp-use-transport-pf_retrans-in-sctp_do_8_2_transport_strike.patch
tcp-fix-tcp_ecn_withdraw_cwr-to-clear-tcp_ecn_queue_cwr.patch
tipc-add-null-pointer-check-before-calling-kfree_rcu.patch
tun-fix-use-after-free-when-register-netdev-failed.patch
net-ipv6-fix-excessive-rtf_addrconf-flag-on-1-128-local-route-and-others.patch
ipv6-addrconf_f6i_alloc-fix-non-null-pointer-check-to-is_err.patch
net-fixed_phy-add-forward-declaration-for-struct-gpio_desc.patch
sctp-fix-the-missing-put_user-when-dumping-transport-thresholds.patch
net-sock_map-fix-missing-ulp-check-in-sock-hash-case.patch
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test [0]
✅ Podman system integration test (as root) [1]
✅ Podman system integration test (as user) [1]
✅ jvm test suite [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ LTP: openposix test suite [4]
✅ Ethernet drivers sanity [5]
✅ Networking socket: fuzz [6]
✅ Networking sctp-auth: sockopts test [7]
✅ Networking TCP: keepalive test [8]
✅ audit: audit testsuite test [9]
✅ httpd: mod_ssl smoke sanity [10]
✅ iotop: sanity [11]
✅ tuned: tune-processes-through-perf [12]
✅ stress: stress-ng [13]
🚧 ✅ LTP lite [14]
🚧 ✅ Networking bridge: sanity [15]
🚧 ✅ Networking route: pmtu [16]
🚧 ✅ Networking route_func: local [17]
🚧 ✅ Networking route_func: forward [17]
Host 2:
✅ Boot test [0]
✅ selinux-policy: serge-testsuite [18]
ppc64le:
Host 1:
✅ Boot test [0]
✅ Podman system integration test (as root) [1]
✅ Podman system integration test (as user) [1]
✅ jvm test suite [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ LTP: openposix test suite [4]
✅ Ethernet drivers sanity [5]
✅ Networking socket: fuzz [6]
✅ Networking sctp-auth: sockopts test [7]
✅ Networking TCP: keepalive test [8]
✅ audit: audit testsuite test [9]
✅ httpd: mod_ssl smoke sanity [10]
✅ iotop: sanity [11]
✅ tuned: tune-processes-through-perf [12]
🚧 ✅ LTP lite [14]
🚧 ✅ Networking bridge: sanity [15]
🚧 ✅ Networking route: pmtu [16]
🚧 ✅ Networking route_func: local [17]
🚧 ✅ Networking route_func: forward [17]
Host 2:
✅ Boot test [0]
✅ selinux-policy: serge-testsuite [18]
s390x:
Host 1:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test [0]
⚡⚡⚡ selinux-policy: serge-testsuite [18]
Host 2:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test [0]
⚡⚡⚡ Podman system integration test (as root) [1]
⚡⚡⚡ Podman system integration test (as user) [1]
⚡⚡⚡ jvm test suite [2]
⚡⚡⚡ LTP: openposix test suite [4]
⚡⚡⚡ Ethernet drivers sanity [5]
⚡⚡⚡ Networking sctp-auth: sockopts test [7]
⚡⚡⚡ Networking TCP: keepalive test [8]
⚡⚡⚡ audit: audit testsuite test [9]
⚡⚡⚡ httpd: mod_ssl smoke sanity [10]
⚡⚡⚡ iotop: sanity [11]
⚡⚡⚡ tuned: tune-processes-through-perf [12]
⚡⚡⚡ stress: stress-ng [13]
🚧 ⚡⚡⚡ LTP lite [14]
🚧 ⚡⚡⚡ Networking bridge: sanity [15]
🚧 ⚡⚡⚡ Networking route: pmtu [16]
🚧 ⚡⚡⚡ Networking route_func: local [17]
🚧 ⚡⚡⚡ Networking route_func: forward [17]
x86_64:
Host 1:
✅ Boot test [0]
✅ Podman system integration test (as root) [1]
✅ Podman system integration test (as user) [1]
✅ jvm test suite [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ LTP: openposix test suite [4]
✅ Ethernet drivers sanity [5]
✅ Networking socket: fuzz [6]
✅ Networking sctp-auth: sockopts test [7]
✅ Networking TCP: keepalive test [8]
✅ audit: audit testsuite test [9]
✅ httpd: mod_ssl smoke sanity [10]
✅ iotop: sanity [11]
✅ tuned: tune-processes-through-perf [12]
✅ pciutils: sanity smoke test [19]
✅ stress: stress-ng [13]
🚧 ✅ LTP lite [14]
🚧 ✅ Networking bridge: sanity [15]
🚧 ✅ Networking route: pmtu [16]
🚧 ✅ Networking route_func: local [17]
🚧 ✅ Networking route_func: forward [17]
Host 2:
✅ Boot test [0]
✅ selinux-policy: serge-testsuite [18]
Test source:
💚 Pull requests are welcome for new tests or improvements to existing tests!
[0]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[1]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/container/p…
[2]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/jvm
[3]: https://github.com/CKI-project/tests-beaker/archive/master.zip#misc/amtu
[4]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[5]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[6]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[7]: https://github.com/CKI-project/tests-beaker/archive/master.zip#networking/s…
[8]: https://github.com/CKI-project/tests-beaker/archive/master.zip#networking/t…
[9]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/aud…
[10]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/htt…
[11]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/iot…
[12]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/tun…
[13]: https://github.com/CKI-project/tests-beaker/archive/master.zip#stress/stres…
[14]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[15]: https://github.com/CKI-project/tests-beaker/archive/master.zip#networking/b…
[16]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[17]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[18]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/packages/se…
[19]: https://github.com/CKI-project/tests-beaker/archive/master.zip#pciutils/san…
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.