* [d-kernel] [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable lookup quirk for CNL-LP models
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
@ 2022-08-02 17:21 ` nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 2/6] ASoC: Intel: sof_es8336: added protection against dereference of the null pointer before calling the string comparison function nickel
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: nickel @ 2022-08-02 17:21 UTC (permalink / raw)
To: devel-kernel; +Cc: Vasiliy Kovalev
From: Nikolai Kostrigin <nickel@altlinux.org>
Add ICL Si1516 (closes: #42621);
Add HIPER TeachBook HTHLP-04R.
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
Co-developed-by: Vasiliy Kovalev <kovalev@altlinux.org>
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 373b8e7f72323..0eb8ab0081463 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -270,6 +270,16 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = {
.driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
SOF_ES8336_TGL_GPIO_QUIRK)
},
+ {
+ .callback = sof_es8336_quirk_cb,
+ .ident = "pa-enable ACPI deviant",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ICL"),
+ DMI_MATCH(DMI_BOARD_NAME, "Si16"),
+ },
+ .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+ SOF_ES8336_TGL_GPIO_QUIRK)
+ },
{
.callback = sof_es8336_quirk_cb,
.matches = {
@@ -280,6 +290,17 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = {
SOF_ES8336_TGL_GPIO_QUIRK |
SOF_ES8336_ENABLE_DMIC)
},
+ {
+ .callback = sof_es8336_quirk_cb,
+ .ident = "pa-enable ACPI deviant",
+ .matches = {
+ /* market name: HIPER TeachBook HTHLP-04R */
+ DMI_MATCH(DMI_SYS_VENDOR, "mtech"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MTL1578"),
+ },
+ .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+ SOF_ES8336_TGL_GPIO_QUIRK)
+ },
{}
};
--
2.33.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [d-kernel] [PATCH 2/6] ASoC: Intel: sof_es8336: added protection against dereference of the null pointer before calling the string comparison function.
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable lookup quirk for CNL-LP models nickel
@ 2022-08-02 17:21 ` nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 3/6] ASoC: Intel: sof_es8336: add Aquarius Cmp NS685U R11 DMI info for pa-enable lookup quirk nickel
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: nickel @ 2022-08-02 17:21 UTC (permalink / raw)
To: devel-kernel; +Cc: Vasiliy Kovalev
From: Vasiliy Kovalev <kovalev@altlinux.org>
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 0eb8ab0081463..2e91de34018f9 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -233,7 +233,7 @@ static int sof_es8336_quirk_cb(const struct dmi_system_id *id)
if (quirk & SOF_ES8336_TGL_GPIO_QUIRK)
gpio_mapping = quirk_acpi_es8336_gpios;
- if (strcmp(id->ident, "pa-enable ACPI deviant") == 0) {
+ if (id->ident != NULL && strcmp(id->ident, "pa-enable ACPI deviant") == 0) {
if (quirk_pa_enable < 0) quirk_pa_enable = 1;
else quirk_pa_enable++;
}
--
2.33.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [d-kernel] [PATCH 3/6] ASoC: Intel: sof_es8336: add Aquarius Cmp NS685U R11 DMI info for pa-enable lookup quirk
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable lookup quirk for CNL-LP models nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 2/6] ASoC: Intel: sof_es8336: added protection against dereference of the null pointer before calling the string comparison function nickel
@ 2022-08-02 17:21 ` nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i " nickel
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: nickel @ 2022-08-02 17:21 UTC (permalink / raw)
To: devel-kernel; +Cc: Vasiliy Kovalev
From: Vasiliy Kovalev <kovalev@altlinux.org>
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 2e91de34018f9..016bd2d62c449 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -252,6 +252,16 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = {
.driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
SOF_ES8336_TGL_GPIO_QUIRK)
},
+ {
+ .callback = sof_es8336_quirk_cb,
+ .matches = {
+ /* market name: Aquarius Cmp NS685U R11 */
+ DMI_MATCH(DMI_SYS_VENDOR, "Aquarius"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "NS685U R11"),
+ },
+ .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+ SOF_ES8336_JD_INVERTED)
+ },
{
.callback = sof_es8336_quirk_cb,
.matches = {
--
2.33.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [d-kernel] [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i DMI info for pa-enable lookup quirk
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
` (2 preceding siblings ...)
2022-08-02 17:21 ` [d-kernel] [PATCH 3/6] ASoC: Intel: sof_es8336: add Aquarius Cmp NS685U R11 DMI info for pa-enable lookup quirk nickel
@ 2022-08-02 17:21 ` nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger code nickel
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: nickel @ 2022-08-02 17:21 UTC (permalink / raw)
To: devel-kernel; +Cc: Vasiliy Kovalev
From: Vasiliy Kovalev <kovalev@altlinux.org>
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 016bd2d62c449..1278a03a98d24 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -242,6 +242,16 @@ static int sof_es8336_quirk_cb(const struct dmi_system_id *id)
}
static const struct dmi_system_id sof_es8336_quirk_table[] = {
+ {
+ .callback = sof_es8336_quirk_cb,
+ .ident = "pa-enable ACPI deviant",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "3Logic Group"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Graviton N15i"),
+ },
+ .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+ SOF_ES8336_TGL_GPIO_QUIRK)
+ },
{
.callback = sof_es8336_quirk_cb,
.ident = "pa-enable ACPI deviant",
--
2.33.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [d-kernel] [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger code
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
` (3 preceding siblings ...)
2022-08-02 17:21 ` [d-kernel] [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i " nickel
@ 2022-08-02 17:21 ` nickel
2022-08-02 17:21 ` [d-kernel] [PATCH 6/6] ASoC: Intel: sof_es8336: add 3Logic Group Lime 15.6 DMI info for pa-enable lookup quirk nickel
2022-08-02 22:25 ` [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 Vitaly Chikunov
6 siblings, 0 replies; 10+ messages in thread
From: nickel @ 2022-08-02 17:21 UTC (permalink / raw)
To: devel-kernel
From: Nikolai Kostrigin <nickel@altlinux.org>
Remove remained part of debug code introduced in commit 3f3aa384ef9.
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 1278a03a98d24..2004e54514b88 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -233,10 +233,8 @@ static int sof_es8336_quirk_cb(const struct dmi_system_id *id)
if (quirk & SOF_ES8336_TGL_GPIO_QUIRK)
gpio_mapping = quirk_acpi_es8336_gpios;
- if (id->ident != NULL && strcmp(id->ident, "pa-enable ACPI deviant") == 0) {
- if (quirk_pa_enable < 0) quirk_pa_enable = 1;
- else quirk_pa_enable++;
- }
+ if (id->ident != NULL && strcmp(id->ident, "pa-enable ACPI deviant") == 0)
+ quirk_pa_enable = 1;
return 1;
}
--
2.33.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* [d-kernel] [PATCH 6/6] ASoC: Intel: sof_es8336: add 3Logic Group Lime 15.6 DMI info for pa-enable lookup quirk
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
` (4 preceding siblings ...)
2022-08-02 17:21 ` [d-kernel] [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger code nickel
@ 2022-08-02 17:21 ` nickel
2022-08-02 22:25 ` [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 Vitaly Chikunov
6 siblings, 0 replies; 10+ messages in thread
From: nickel @ 2022-08-02 17:21 UTC (permalink / raw)
To: devel-kernel
From: Nikolai Kostrigin <nickel@altlinux.org>
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
---
sound/soc/intel/boards/sof_es8336.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index 2004e54514b88..2d322db00d76f 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -260,6 +260,16 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = {
.driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
SOF_ES8336_TGL_GPIO_QUIRK)
},
+ {
+ .callback = sof_es8336_quirk_cb,
+ .ident = "pa-enable ACPI deviant",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "3Logic Group"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Lime 15.6"),
+ },
+ .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) |
+ SOF_ES8336_TGL_GPIO_QUIRK)
+ },
{
.callback = sof_es8336_quirk_cb,
.matches = {
--
2.33.3
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15
2022-08-02 17:21 [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 nickel
` (5 preceding siblings ...)
2022-08-02 17:21 ` [d-kernel] [PATCH 6/6] ASoC: Intel: sof_es8336: add 3Logic Group Lime 15.6 DMI info for pa-enable lookup quirk nickel
@ 2022-08-02 22:25 ` Vitaly Chikunov
2022-08-03 17:36 ` Vitaly Chikunov
6 siblings, 1 reply; 10+ messages in thread
From: Vitaly Chikunov @ 2022-08-02 22:25 UTC (permalink / raw)
To: ALT Linux kernel packages development
Nikolai,
On Tue, Aug 02, 2022 at 08:21:34PM +0300, nickel@altlinux.org wrote:
> Following patch set is intended for p10 un-def and Sisyphus std-def 5.15 kernels.
>
> [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable
> [PATCH 2/6] ASoC: Intel: sof_es8336: added protection against
> [PATCH 3/6] ASoC: Intel: sof_es8336: add Aquarius Cmp NS685U R11 DMI
> [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i
> [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger
> [PATCH 6/6] ASoC: Intel: sof_es8336: add 3Logic Group Lime 15.6 DMI
Applied. Thanks.
>
> _______________________________________________
> devel-kernel mailing list
> devel-kernel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15
2022-08-02 22:25 ` [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15 Vitaly Chikunov
@ 2022-08-03 17:36 ` Vitaly Chikunov
2022-08-03 17:52 ` Vitaly Chikunov
0 siblings, 1 reply; 10+ messages in thread
From: Vitaly Chikunov @ 2022-08-03 17:36 UTC (permalink / raw)
To: ALT Linux kernel packages development
On Wed, Aug 03, 2022 at 01:25:07AM +0300, Vitaly Chikunov wrote:
> Nikolai,
>
> On Tue, Aug 02, 2022 at 08:21:34PM +0300, nickel@altlinux.org wrote:
> > Following patch set is intended for p10 un-def and Sisyphus std-def 5.15 kernels.
> >
> > [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable
> > [PATCH 2/6] ASoC: Intel: sof_es8336: added protection against
> > [PATCH 3/6] ASoC: Intel: sof_es8336: add Aquarius Cmp NS685U R11 DMI
> > [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i
> > [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger
> > [PATCH 6/6] ASoC: Intel: sof_es8336: add 3Logic Group Lime 15.6 DMI
>
> Applied. Thanks.
Я не сразу обратил внимание, что в "Sisyphus std-def 5.15" тоже, но
успел добавить до сегодняшней сборки kernel-image-std-def-5.15.59-alt1 в
Сизиф.
Так что теперь applied.
Thanks,
>
> >
> > _______________________________________________
> > devel-kernel mailing list
> > devel-kernel@lists.altlinux.org
> > https://lists.altlinux.org/mailman/listinfo/devel-kernel
> _______________________________________________
> devel-kernel mailing list
> devel-kernel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [d-kernel] [PATCH 0/6] ASoC: Intel: sof_es8336: add support for more laptop models in 5.15
2022-08-03 17:36 ` Vitaly Chikunov
@ 2022-08-03 17:52 ` Vitaly Chikunov
0 siblings, 0 replies; 10+ messages in thread
From: Vitaly Chikunov @ 2022-08-03 17:52 UTC (permalink / raw)
To: ALT Linux kernel packages development
On Wed, Aug 03, 2022 at 08:36:49PM +0300, Vitaly Chikunov wrote:
> On Wed, Aug 03, 2022 at 01:25:07AM +0300, Vitaly Chikunov wrote:
> > Nikolai,
> >
> > On Tue, Aug 02, 2022 at 08:21:34PM +0300, nickel@altlinux.org wrote:
> > > Following patch set is intended for p10 un-def and Sisyphus std-def 5.15 kernels.
> > >
> > > [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable
> > > [PATCH 2/6] ASoC: Intel: sof_es8336: added protection against
> > > [PATCH 3/6] ASoC: Intel: sof_es8336: add Aquarius Cmp NS685U R11 DMI
> > > [PATCH 4/6] ASoC: Intel: sof_es8336: add 3Logic Group Graviton N15i
> > > [PATCH 5/6] ASoC: Intel: sof_es8336: simplify pa_enable quirk trigger
> > > [PATCH 6/6] ASoC: Intel: sof_es8336: add 3Logic Group Lime 15.6 DMI
> >
> > Applied. Thanks.
>
> Я не сразу обратил внимание, что в "Sisyphus std-def 5.15" тоже, но
> успел добавить до сегодняшней сборки kernel-image-std-def-5.15.59-alt1 в
> Сизиф.
>
> Так что теперь applied.
FYI.
Патчи применяются в этот git репозиторий:
https://git.altlinux.org/people/kernelbot/packages/?p=kernel-image.git;a=summary
Далее, после выхода апстримной версии ядра они собираются для релиза и
после тестирования попадают в репозиторий пакетов и в gears. Полный цикл
может занимать недели.
>
> Thanks,
>
> >
> > >
> > > _______________________________________________
> > > devel-kernel mailing list
> > > devel-kernel@lists.altlinux.org
> > > https://lists.altlinux.org/mailman/listinfo/devel-kernel
> > _______________________________________________
> > devel-kernel mailing list
> > devel-kernel@lists.altlinux.org
> > https://lists.altlinux.org/mailman/listinfo/devel-kernel
> _______________________________________________
> devel-kernel mailing list
> devel-kernel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread