diff options
author | egnappahz | 2024-04-10 21:55:50 +0200 |
---|---|---|
committer | egnappahz | 2024-04-10 21:55:50 +0200 |
commit | 3b21656c19a2217e0dee3a3061ecc8b867670732 (patch) | |
tree | a70e67cf90c03778e716a212e7ea0247b9df6d8b | |
parent | 73b25283211513929174055be2bd80a08828567e (diff) | |
download | aur-3b21656c19a2217e0dee3a3061ecc8b867670732.tar.gz |
Updated, disabled faulty CONFIG_EFI
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | CS35l41.patch | 890 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | config.x86_64 | 61 |
4 files changed, 10 insertions, 953 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-amd - pkgver = 6.8.v.4 + pkgver = 6.8.v.5 pkgrel = 1 url = https://www.kernel.org/ arch = x86_64 @@ -14,12 +14,12 @@ pkgbase = linux-amd makedepends = lzop makedepends = gcc>=10.3 options = !strip - source = git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git#tag=v6.8.4 + source = git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git#tag=v6.8.5 source = config.x86_64 source = linux-amd.preset source = https://raw.githubusercontent.com/graysky2/kernel_compiler_patch/20240221.2/more-uarches-for-kernel-6.8-rc4+.patch sha256sums = SKIP - sha256sums = 272d3858dc21db313bf954b25698aa9450ce8a31b6427076f798cfaa96540036 + sha256sums = f30409fb06bc3165c6bec52d886773e7e964163ab7884e635f42f8abc5a53690 sha256sums = 60c6ba602443e94a9eba3aeee9d194027d69bffaa428c6d055348ebf03681b5c sha256sums = d69232afd0dd6982ae941cf2d1f577f4be2011e3bb847d1db37952acf416b5d3 diff --git a/CS35l41.patch b/CS35l41.patch deleted file mode 100644 index e05a6df05383..000000000000 --- a/CS35l41.patch +++ /dev/null @@ -1,890 +0,0 @@ -From 7b2f3eb492dac7665c75df067e4d8e4869589f4a Mon Sep 17 00:00:00 2001 -From: Lucas Tanure <tanureal@opensource.cirrus.com> -Date: Fri, 17 Dec 2021 11:57:05 +0000 -Subject: ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems - -Add support for CS35L41 using a new separated driver -that can be used in all upcoming designs - -Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com> -Link: https://lore.kernel.org/r/20211217115708.882525-8-tanureal@opensource.cirrus.com -Signed-off-by: Takashi Iwai <tiwai@suse.de> ---- - MAINTAINERS | 2 + - sound/pci/hda/Kconfig | 29 +++ - sound/pci/hda/Makefile | 10 + - sound/pci/hda/cs35l41_hda.c | 527 ++++++++++++++++++++++++++++++++++++++++ - sound/pci/hda/cs35l41_hda.h | 69 ++++++ - sound/pci/hda/cs35l41_hda_i2c.c | 66 +++++ - sound/pci/hda/cs35l41_hda_spi.c | 63 +++++ - sound/pci/hda/hda_component.h | 20 ++ - 8 files changed, 786 insertions(+) - create mode 100644 sound/pci/hda/cs35l41_hda.c - create mode 100644 sound/pci/hda/cs35l41_hda.h - create mode 100644 sound/pci/hda/cs35l41_hda_i2c.c - create mode 100644 sound/pci/hda/cs35l41_hda_spi.c - create mode 100644 sound/pci/hda/hda_component.h - -diff --git a/MAINTAINERS b/MAINTAINERS -index 74d7d20b9d190c..e8d4805e093e32 100644 ---- a/MAINTAINERS -+++ b/MAINTAINERS -@@ -4511,10 +4511,12 @@ F: drivers/media/cec/i2c/ch7322.c - CIRRUS LOGIC AUDIO CODEC DRIVERS - M: James Schulman <james.schulman@cirrus.com> - M: David Rhodes <david.rhodes@cirrus.com> -+M: Lucas Tanure <tanureal@opensource.cirrus.com> - L: alsa-devel@alsa-project.org (moderated for non-subscribers) - L: patches@opensource.cirrus.com - S: Maintained - F: Documentation/devicetree/bindings/sound/cirrus,cs* -+F: sound/pci/hda/cs* - F: sound/soc/codecs/cs* - - CIRRUS LOGIC DSP FIRMWARE DRIVER -diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig -index ab9d2746e80460..84cefc006f29cc 100644 ---- a/sound/pci/hda/Kconfig -+++ b/sound/pci/hda/Kconfig -@@ -91,6 +91,35 @@ config SND_HDA_PATCH_LOADER - start up. The "patch" file can be specified via patch module - option, such as patch=hda-init. - -+config SND_HDA_SCODEC_CS35L41 -+ tristate -+ -+config SND_HDA_SCODEC_CS35L41_I2C -+ tristate "Build CS35L41 HD-audio side codec support for I2C Bus" -+ depends on ACPI -+ select SND_HDA_GENERIC -+ select SND_SOC_CS35L41_LIB -+ select SND_HDA_SCODEC_CS35L41 -+ help -+ Say Y or M here to include CS35L41 I2C HD-audio side codec support -+ in snd-hda-intel driver, such as ALC287. -+ -+comment "Set to Y if you want auto-loading the side codec driver" -+ depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_I2C=m -+ -+config SND_HDA_SCODEC_CS35L41_SPI -+ tristate "Build CS35L41 HD-audio codec support for SPI Bus" -+ depends on ACPI -+ select SND_HDA_GENERIC -+ select SND_SOC_CS35L41_LIB -+ select SND_HDA_SCODEC_CS35L41 -+ help -+ Say Y or M here to include CS35L41 SPI HD-audio side codec support -+ in snd-hda-intel driver, such as ALC287. -+ -+comment "Set to Y if you want auto-loading the side codec driver" -+ depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_SPI=m -+ - config SND_HDA_CODEC_REALTEK - tristate "Build Realtek HD-audio codec support" - select SND_HDA_GENERIC -diff --git a/sound/pci/hda/Makefile b/sound/pci/hda/Makefile -index b8fa682ce66a65..3e7bc608d45f27 100644 ---- a/sound/pci/hda/Makefile -+++ b/sound/pci/hda/Makefile -@@ -27,6 +27,11 @@ snd-hda-codec-conexant-objs := patch_conexant.o - snd-hda-codec-via-objs := patch_via.o - snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o - -+# side codecs -+snd-hda-scodec-cs35l41-objs := cs35l41_hda.o -+snd-hda-scodec-cs35l41-i2c-objs := cs35l41_hda_i2c.o -+snd-hda-scodec-cs35l41-spi-objs := cs35l41_hda_spi.o -+ - # common driver - obj-$(CONFIG_SND_HDA) := snd-hda-codec.o - -@@ -45,6 +50,11 @@ obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o - obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o - obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o - -+# side codecs -+obj-$(CONFIG_SND_HDA_SCODEC_CS35L41) += snd-hda-scodec-cs35l41.o -+obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_I2C) += snd-hda-scodec-cs35l41-i2c.o -+obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_SPI) += snd-hda-scodec-cs35l41-spi.o -+ - # this must be the last entry after codec drivers; - # otherwise the codec patches won't be hooked before the PCI probe - # when built in kernel -diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c -new file mode 100644 -index 00000000000000..aa5bb6977792c4 ---- /dev/null -+++ b/sound/pci/hda/cs35l41_hda.c -@@ -0,0 +1,527 @@ -+// SPDX-License-Identifier: GPL-2.0 -+// -+// cs35l41.c -- CS35l41 ALSA HDA audio driver -+// -+// Copyright 2021 Cirrus Logic, Inc. -+// -+// Author: Lucas Tanure <tanureal@opensource.cirrus.com> -+ -+#include <linux/acpi.h> -+#include <linux/module.h> -+#include <sound/hda_codec.h> -+#include "hda_local.h" -+#include "hda_auto_parser.h" -+#include "hda_jack.h" -+#include "hda_generic.h" -+#include "hda_component.h" -+#include "cs35l41_hda.h" -+ -+static const struct reg_sequence cs35l41_hda_config[] = { -+ { CS35L41_PLL_CLK_CTRL, 0x00000430 }, //3200000Hz, BCLK Input, PLL_REFCLK_EN = 1 -+ { CS35L41_GLOBAL_CLK_CTRL, 0x00000003 }, //GLOBAL_FS = 48 kHz -+ { CS35L41_SP_ENABLES, 0x00010000 }, //ASP_RX1_EN = 1 -+ { CS35L41_SP_RATE_CTRL, 0x00000021 }, //ASP_BCLK_FREQ = 3.072 MHz -+ { CS35L41_SP_FORMAT, 0x20200200 }, //24 bits, I2S, BCLK Slave, FSYNC Slave -+ { CS35L41_DAC_PCM1_SRC, 0x00000008 }, //DACPCM1_SRC = ASPRX1 -+ { CS35L41_AMP_DIG_VOL_CTRL, 0x00000000 }, //AMP_VOL_PCM 0.0 dB -+ { CS35L41_AMP_GAIN_CTRL, 0x00000084 }, //AMP_GAIN_PCM 4.5 dB -+ { CS35L41_PWR_CTRL2, 0x00000001 }, //AMP_EN = 1 -+}; -+ -+static const struct reg_sequence cs35l41_hda_start_bst[] = { -+ { CS35L41_PWR_CTRL2, 0x00000021 }, //BST_EN = 10, AMP_EN = 1 -+ { CS35L41_PWR_CTRL1, 0x00000001, 3000}, // set GLOBAL_EN = 1 -+}; -+ -+static const struct reg_sequence cs35l41_hda_stop_bst[] = { -+ { CS35L41_PWR_CTRL1, 0x00000000, 3000}, // set GLOBAL_EN = 0 -+}; -+ -+// only on amps where GPIO1 is used to control ext. VSPK switch -+static const struct reg_sequence cs35l41_start_ext_vspk[] = { -+ { 0x00000040, 0x00000055 }, -+ { 0x00000040, 0x000000AA }, -+ { 0x00007438, 0x00585941 }, -+ { 0x00007414, 0x08C82222 }, -+ { 0x0000742C, 0x00000009 }, -+ { 0x00011008, 0x00008001 }, -+ { 0x0000742C, 0x0000000F }, -+ { 0x0000742C, 0x00000079 }, -+ { 0x00007438, 0x00585941 }, -+ { CS35L41_PWR_CTRL1, 0x00000001, 3000}, // set GLOBAL_EN = 1 -+ { 0x0000742C, 0x000000F9 }, -+ { 0x00007438, 0x00580941 }, -+ { 0x00000040, 0x000000CC }, -+ { 0x00000040, 0x00000033 }, -+}; -+ -+//only on amps where GPIO1 is used to control ext. VSPK switch -+static const struct reg_sequence cs35l41_stop_ext_vspk[] = { -+ { 0x00000040, 0x00000055 }, -+ { 0x00000040, 0x000000AA }, -+ { 0x00007438, 0x00585941 }, -+ { 0x00002014, 0x00000000, 3000}, //set GLOBAL_EN = 0 -+ { 0x0000742C, 0x00000009 }, -+ { 0x00007438, 0x00580941 }, -+ { 0x00011008, 0x00000001 }, -+ { 0x0000393C, 0x000000C0, 6000}, -+ { 0x0000393C, 0x00000000 }, -+ { 0x00007414, 0x00C82222 }, -+ { 0x0000742C, 0x00000000 }, -+ { 0x00000040, 0x000000CC }, -+ { 0x00000040, 0x00000033 }, -+}; -+ -+static const struct reg_sequence cs35l41_safe_to_active[] = { -+ { 0x00000040, 0x00000055 }, -+ { 0x00000040, 0x000000AA }, -+ { 0x0000742C, 0x0000000F }, -+ { 0x0000742C, 0x00000079 }, -+ { 0x00007438, 0x00585941 }, -+ { CS35L41_PWR_CTRL1, 0x00000001, 2000 }, //GLOBAL_EN = 1 -+ { 0x0000742C, 0x000000F9 }, -+ { 0x00007438, 0x00580941 }, -+ { 0x00000040, 0x000000CC }, -+ { 0x00000040, 0x00000033 }, -+}; -+ -+static const struct reg_sequence cs35l41_active_to_safe[] = { -+ { 0x00000040, 0x00000055 }, -+ { 0x00000040, 0x000000AA }, -+ { 0x00007438, 0x00585941 }, -+ { CS35L41_AMP_DIG_VOL_CTRL, 0x0000A678 }, //AMP_VOL_PCM Mute -+ { CS35L41_PWR_CTRL2, 0x00000000 }, //AMP_EN = 0 -+ { CS35L41_PWR_CTRL1, 0x00000000 }, -+ { 0x0000742C, 0x00000009, 2000 }, -+ { 0x00007438, 0x00580941 }, -+ { 0x00000040, 0x000000CC }, -+ { 0x00000040, 0x00000033 }, -+}; -+ -+static const struct reg_sequence cs35l41_reset_to_safe[] = { -+ { 0x00000040, 0x00000055 }, -+ { 0x00000040, 0x000000AA }, -+ { 0x00007438, 0x00585941 }, -+ { 0x00007414, 0x08C82222 }, -+ { 0x0000742C, 0x00000009 }, -+ { 0x00000040, 0x000000CC }, -+ { 0x00000040, 0x00000033 }, -+}; -+ -+static const struct cs35l41_hda_reg_sequence cs35l41_hda_reg_seq_no_bst = { -+ .probe = cs35l41_reset_to_safe, -+ .num_probe = ARRAY_SIZE(cs35l41_reset_to_safe), -+ .open = cs35l41_hda_config, -+ .num_open = ARRAY_SIZE(cs35l41_hda_config), -+ .prepare = cs35l41_safe_to_active, -+ .num_prepare = ARRAY_SIZE(cs35l41_safe_to_active), -+ .cleanup = cs35l41_active_to_safe, -+ .num_cleanup = ARRAY_SIZE(cs35l41_active_to_safe), -+}; -+ -+static const struct cs35l41_hda_reg_sequence cs35l41_hda_reg_seq_ext_bst = { -+ .open = cs35l41_hda_config, -+ .num_open = ARRAY_SIZE(cs35l41_hda_config), -+ .prepare = cs35l41_start_ext_vspk, -+ .num_prepare = ARRAY_SIZE(cs35l41_start_ext_vspk), -+ .cleanup = cs35l41_stop_ext_vspk, -+ .num_cleanup = ARRAY_SIZE(cs35l41_stop_ext_vspk), -+}; -+ -+static const struct cs35l41_hda_reg_sequence cs35l41_hda_reg_seq_int_bst = { -+ .open = cs35l41_hda_config, -+ .num_open = ARRAY_SIZE(cs35l41_hda_config), -+ .prepare = cs35l41_hda_start_bst, -+ .num_prepare = ARRAY_SIZE(cs35l41_hda_start_bst), -+ .cleanup = cs35l41_hda_stop_bst, -+ .num_cleanup = ARRAY_SIZE(cs35l41_hda_stop_bst), -+}; -+ -+static void cs35l41_hda_playback_hook(struct device *dev, int action) -+{ -+ struct cs35l41_hda *cs35l41 = dev_get_drvdata(dev); -+ const struct cs35l41_hda_reg_sequence *reg_seq = cs35l41->reg_seq; -+ struct regmap *reg = cs35l41->regmap; -+ int ret = 0; -+ -+ switch (action) { -+ case HDA_GEN_PCM_ACT_OPEN: -+ if (reg_seq->open) -+ ret = regmap_multi_reg_write(reg, reg_seq->open, reg_seq->num_open); -+ break; -+ case HDA_GEN_PCM_ACT_PREPARE: -+ if (reg_seq->prepare) -+ ret = regmap_multi_reg_write(reg, reg_seq->prepare, reg_seq->num_prepare); -+ break; -+ case HDA_GEN_PCM_ACT_CLEANUP: -+ if (reg_seq->cleanup) -+ ret = regmap_multi_reg_write(reg, reg_seq->cleanup, reg_seq->num_cleanup); -+ break; -+ case HDA_GEN_PCM_ACT_CLOSE: -+ if (reg_seq->close) -+ ret = regmap_multi_reg_write(reg, reg_seq->close, reg_seq->num_close); -+ break; -+ } -+ -+ if (ret) -+ dev_warn(cs35l41->dev, "Failed to apply multi reg write: %d\n", ret); -+ -+} -+ -+static int cs35l41_hda_channel_map(struct device *dev, unsigned int tx_num, unsigned int *tx_slot, -+ unsigned int rx_num, unsigned int *rx_slot) -+{ -+ struct cs35l41_hda *cs35l41 = dev_get_drvdata(dev); -+ -+ return cs35l41_set_channels(cs35l41->dev, cs35l41->regmap, tx_num, tx_slot, rx_num, -+ rx_slot); -+} -+ -+static int cs35l41_hda_bind(struct device *dev, struct device *master, void *master_data) -+{ -+ struct cs35l41_hda *cs35l41 = dev_get_drvdata(dev); -+ struct hda_component *comps = master_data; -+ -+ if (comps && cs35l41->index >= 0 && cs35l41->index < HDA_MAX_COMPONENTS) -+ comps = &comps[cs35l41->index]; -+ else -+ return -EINVAL; -+ -+ if (!comps->dev) { -+ comps->dev = dev; -+ strscpy(comps->name, dev_name(dev), sizeof(comps->name)); -+ comps->playback_hook = cs35l41_hda_playback_hook; -+ comps->set_channel_map = cs35l41_hda_channel_map; -+ return 0; -+ } -+ -+ return -EBUSY; -+} -+ -+static void cs35l41_hda_unbind(struct device *dev, struct device *master, void *master_data) -+{ -+ struct cs35l41_hda *cs35l41 = dev_get_drvdata(dev); -+ struct hda_component *comps = master_data; -+ -+ if (comps[cs35l41->index].dev == dev) -+ memset(&comps[cs35l41->index], 0, sizeof(*comps)); -+} -+ -+static const struct component_ops cs35l41_hda_comp_ops = { -+ .bind = cs35l41_hda_bind, -+ .unbind = cs35l41_hda_unbind, -+}; -+ -+static int cs35l41_hda_apply_properties(struct cs35l41_hda *cs35l41, -+ const struct cs35l41_hda_hw_config *hw_cfg) -+{ -+ bool internal_boost = false; -+ int ret; -+ -+ if (!hw_cfg) { -+ cs35l41->reg_seq = &cs35l41_hda_reg_seq_no_bst; -+ return 0; -+ } -+ -+ if (hw_cfg->bst_ind || hw_cfg->bst_cap || hw_cfg->bst_ipk) -+ internal_boost = true; -+ -+ switch (hw_cfg->gpio1_func) { -+ case CS35l41_VSPK_SWITCH: -+ regmap_update_bits(cs35l41->regmap, CS35L41_GPIO_PAD_CONTROL, -+ CS35L41_GPIO1_CTRL_MASK, 1 << CS35L41_GPIO1_CTRL_SHIFT); -+ break; -+ case CS35l41_SYNC: -+ regmap_update_bits(cs35l41->regmap, CS35L41_GPIO_PAD_CONTROL, -+ CS35L41_GPIO1_CTRL_MASK, 2 << CS35L41_GPIO1_CTRL_SHIFT); -+ break; -+ } -+ -+ switch (hw_cfg->gpio2_func) { -+ case CS35L41_INTERRUPT: -+ regmap_update_bits(cs35l41->regmap, CS35L41_GPIO_PAD_CONTROL, -+ CS35L41_GPIO2_CTRL_MASK, 2 << CS35L41_GPIO2_CTRL_SHIFT); -+ break; -+ } -+ -+ if (internal_boost) { -+ cs35l41->reg_seq = &cs35l41_hda_reg_seq_int_bst; -+ if (!(hw_cfg->bst_ind && hw_cfg->bst_cap && hw_cfg->bst_ipk)) -+ return -EINVAL; -+ ret = cs35l41_boost_config(cs35l41->dev, cs35l41->regmap, -+ hw_cfg->bst_ind, hw_cfg->bst_cap, hw_cfg->bst_ipk); -+ if (ret) -+ return ret; -+ } else { -+ cs35l41->reg_seq = &cs35l41_hda_reg_seq_ext_bst; -+ } -+ -+ ret = cs35l41_hda_channel_map(cs35l41->dev, 0, NULL, 1, (unsigned int *)&hw_cfg->spk_pos); -+ if (ret) -+ return ret; -+ -+ return 0; -+} -+ -+static struct cs35l41_hda_hw_config *cs35l41_hda_read_acpi(struct cs35l41_hda *cs35l41, -+ const char *hid, int id) -+{ -+ struct cs35l41_hda_hw_config *hw_cfg; -+ u32 values[HDA_MAX_COMPONENTS]; -+ struct acpi_device *adev; -+ struct device *acpi_dev; -+ char *property; -+ size_t nval; -+ int i, ret; -+ -+ adev = acpi_dev_get_first_match_dev(hid, NULL, -1); -+ if (!adev) { -+ dev_err(cs35l41->dev, "Failed to find an ACPI device for %s\n", hid); -+ return ERR_PTR(-ENODEV); -+ } -+ -+ acpi_dev = get_device(acpi_get_first_physical_node(adev)); -+ acpi_dev_put(adev); -+ -+ property = "cirrus,dev-index"; -+ ret = device_property_count_u32(acpi_dev, property); -+ if (ret <= 0) -+ goto no_acpi_dsd; -+ -+ if (ret > ARRAY_SIZE(values)) { -+ ret = -EINVAL; -+ goto err; -+ } -+ nval = ret; -+ -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret) -+ goto err; -+ -+ cs35l41->index = -1; -+ for (i = 0; i < nval; i++) { -+ if (values[i] == id) { -+ cs35l41->index = i; -+ break; -+ } -+ } -+ if (cs35l41->index == -1) { -+ dev_err(cs35l41->dev, "No index found in %s\n", property); -+ ret = -ENODEV; -+ goto err; -+ } -+ -+ /* No devm_ version as CLSA0100, in no_acpi_dsd case, can't use devm version */ -+ cs35l41->reset_gpio = fwnode_gpiod_get_index(&adev->fwnode, "reset", cs35l41->index, -+ GPIOD_OUT_LOW, "cs35l41-reset"); -+ -+ hw_cfg = kzalloc(sizeof(*hw_cfg), GFP_KERNEL); -+ if (!hw_cfg) { -+ ret = -ENOMEM; -+ goto err; -+ } -+ -+ property = "cirrus,speaker-position"; -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret) -+ goto err_free; -+ hw_cfg->spk_pos = values[cs35l41->index]; -+ -+ property = "cirrus,gpio1-func"; -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret) -+ goto err_free; -+ hw_cfg->gpio1_func = values[cs35l41->index]; -+ -+ property = "cirrus,gpio2-func"; -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret) -+ goto err_free; -+ hw_cfg->gpio2_func = values[cs35l41->index]; -+ -+ property = "cirrus,boost-peak-milliamp"; -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret == 0) -+ hw_cfg->bst_ipk = values[cs35l41->index]; -+ -+ property = "cirrus,boost-ind-nanohenry"; -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret == 0) -+ hw_cfg->bst_ind = values[cs35l41->index]; -+ -+ property = "cirrus,boost-cap-microfarad"; -+ ret = device_property_read_u32_array(acpi_dev, property, values, nval); -+ if (ret == 0) -+ hw_cfg->bst_cap = values[cs35l41->index]; -+ -+ put_device(acpi_dev); -+ -+ return hw_cfg; -+ -+err_free: -+ kfree(hw_cfg); -+err: -+ put_device(acpi_dev); -+ dev_err(cs35l41->dev, "Failed property %s: %d\n", property, ret); -+ -+ return ERR_PTR(ret); -+ -+no_acpi_dsd: -+ /* -+ * Device CLSA0100 doesn't have _DSD so a gpiod_get by the label reset won't work. -+ * And devices created by i2c-multi-instantiate don't have their device struct pointing to -+ * the correct fwnode, so acpi_dev must be used here -+ * And devm functions expect that the device requesting the resource has the correct -+ * fwnode -+ */ -+ if (strncmp(hid, "CLSA0100", 8) != 0) -+ return ERR_PTR(-EINVAL); -+ -+ /* check I2C address to assign the index */ -+ cs35l41->index = id == 0x40 ? 0 : 1; -+ cs35l41->reset_gpio = gpiod_get_index(acpi_dev, NULL, 0, GPIOD_OUT_HIGH); -+ cs35l41->vspk_always_on = true; -+ put_device(acpi_dev); -+ -+ return NULL; -+} -+ -+int cs35l41_hda_probe(struct device *dev, const char *device_name, int id, int irq, -+ struct regmap *regmap) -+{ -+ unsigned int int_sts, regid, reg_revid, mtl_revid, chipid, int_status; -+ struct cs35l41_hda_hw_config *acpi_hw_cfg; -+ struct cs35l41_hda *cs35l41; -+ int ret; -+ -+ if (IS_ERR(regmap)) -+ return PTR_ERR(regmap); -+ -+ cs35l41 = devm_kzalloc(dev, sizeof(*cs35l41), GFP_KERNEL); -+ if (!cs35l41) -+ return -ENOMEM; -+ -+ cs35l41->dev = dev; -+ cs35l41->irq = irq; -+ cs35l41->regmap = regmap; -+ dev_set_drvdata(dev, cs35l41); -+ -+ acpi_hw_cfg = cs35l41_hda_read_acpi(cs35l41, device_name, id); -+ if (IS_ERR(acpi_hw_cfg)) -+ return PTR_ERR(acpi_hw_cfg); -+ -+ if (IS_ERR(cs35l41->reset_gpio)) { -+ ret = PTR_ERR(cs35l41->reset_gpio); -+ cs35l41->reset_gpio = NULL; -+ if (ret == -EBUSY) { -+ dev_info(cs35l41->dev, "Reset line busy, assuming shared reset\n"); -+ } else { -+ if (ret != -EPROBE_DEFER) -+ dev_err(cs35l41->dev, "Failed to get reset GPIO: %d\n", ret); -+ goto err; -+ } -+ } -+ if (cs35l41->reset_gpio) { -+ usleep_range(2000, 2100); -+ gpiod_set_value_cansleep(cs35l41->reset_gpio, 1); -+ } -+ -+ usleep_range(2000, 2100); -+ -+ ret = regmap_read_poll_timeout(cs35l41->regmap, CS35L41_IRQ1_STATUS4, int_status, -+ int_status & CS35L41_OTP_BOOT_DONE, 1000, 100000); -+ if (ret) { -+ dev_err(cs35l41->dev, "Failed waiting for OTP_BOOT_DONE: %d\n", ret); -+ goto err; -+ } -+ -+ ret = regmap_read(cs35l41->regmap, CS35L41_IRQ1_STATUS3, &int_sts); -+ if (ret || (int_sts & CS35L41_OTP_BOOT_ERR)) { -+ dev_err(cs35l41->dev, "OTP Boot error\n"); -+ ret = -EIO; -+ goto err; -+ } -+ -+ ret = regmap_read(cs35l41->regmap, CS35L41_DEVID, ®id); -+ if (ret) { -+ dev_err(cs35l41->dev, "Get Device ID failed: %d\n", ret); -+ goto err; -+ } -+ -+ ret = regmap_read(cs35l41->regmap, CS35L41_REVID, ®_revid); -+ if (ret) { -+ dev_err(cs35l41->dev, "Get Revision ID failed: %d\n", ret); -+ goto err; -+ } -+ -+ mtl_revid = reg_revid & CS35L41_MTLREVID_MASK; -+ -+ chipid = (mtl_revid % 2) ? CS35L41R_CHIP_ID : CS35L41_CHIP_ID; -+ if (regid != chipid) { -+ dev_err(cs35l41->dev, "CS35L41 Device ID (%X). Expected ID %X\n", regid, chipid); -+ ret = -ENODEV; -+ goto err; -+ } -+ -+ ret = cs35l41_register_errata_patch(cs35l41->dev, cs35l41->regmap, reg_revid); -+ if (ret) -+ goto err; -+ -+ ret = cs35l41_otp_unpack(cs35l41->dev, cs35l41->regmap); -+ if (ret) { -+ dev_err(cs35l41->dev, "OTP Unpack failed: %d\n", ret); -+ goto err; -+ } -+ -+ ret = cs35l41_hda_apply_properties(cs35l41, acpi_hw_cfg); -+ if (ret) -+ goto err; -+ kfree(acpi_hw_cfg); -+ -+ if (cs35l41->reg_seq->probe) { -+ ret = regmap_register_patch(cs35l41->regmap, cs35l41->reg_seq->probe, -+ cs35l41->reg_seq->num_probe); -+ if (ret) { -+ dev_err(cs35l41->dev, "Fail to apply probe reg patch: %d\n", ret); -+ goto err; -+ } -+ } -+ -+ ret = component_add(cs35l41->dev, &cs35l41_hda_comp_ops); -+ if (ret) { -+ dev_err(cs35l41->dev, "Register component failed: %d\n", ret); -+ goto err; -+ } -+ -+ dev_info(cs35l41->dev, "Cirrus Logic CS35L41 (%x), Revision: %02X\n", regid, reg_revid); -+ -+ return 0; -+ -+err: -+ kfree(acpi_hw_cfg); -+ if (!cs35l41->vspk_always_on) -+ gpiod_set_value_cansleep(cs35l41->reset_gpio, 0); -+ gpiod_put(cs35l41->reset_gpio); -+ -+ return ret; -+} -+EXPORT_SYMBOL_GPL(cs35l41_hda_probe); -+ -+int cs35l41_hda_remove(struct device *dev) -+{ -+ struct cs35l41_hda *cs35l41 = dev_get_drvdata(dev); -+ -+ component_del(cs35l41->dev, &cs35l41_hda_comp_ops); -+ -+ if (!cs35l41->vspk_always_on) -+ gpiod_set_value_cansleep(cs35l41->reset_gpio, 0); -+ gpiod_put(cs35l41->reset_gpio); -+ -+ return 0; -+} -+EXPORT_SYMBOL_GPL(cs35l41_hda_remove); -+ -+ -+MODULE_DESCRIPTION("CS35L41 HDA Driver"); -+MODULE_AUTHOR("Lucas Tanure, Cirrus Logic Inc, <tanureal@opensource.cirrus.com>"); -+MODULE_LICENSE("GPL"); -diff --git a/sound/pci/hda/cs35l41_hda.h b/sound/pci/hda/cs35l41_hda.h -new file mode 100644 -index 00000000000000..76c69a8a22f6db ---- /dev/null -+++ b/sound/pci/hda/cs35l41_hda.h -@@ -0,0 +1,69 @@ -+/* SPDX-License-Identifier: GPL-2.0 -+ * -+ * cs35l41_hda.h -- CS35L41 ALSA HDA audio driver -+ * -+ * Copyright 2021 Cirrus Logic, Inc. -+ * -+ * Author: Lucas Tanure <tanureal@opensource.cirrus.com> -+ */ -+ -+#ifndef __CS35L41_HDA_H__ -+#define __CS35L41_HDA_H__ -+ -+#include <linux/regulator/consumer.h> -+#include <linux/gpio/consumer.h> -+#include <linux/device.h> -+#include <sound/cs35l41.h> -+ -+enum cs35l41_hda_spk_pos { -+ CS35l41_LEFT, -+ CS35l41_RIGHT, -+}; -+ -+enum cs35l41_hda_gpio_function { -+ CS35L41_NOT_USED, -+ CS35l41_VSPK_SWITCH, -+ CS35L41_INTERRUPT, -+ CS35l41_SYNC, -+}; -+ -+struct cs35l41_hda_reg_sequence { -+ const struct reg_sequence *probe; -+ unsigned int num_probe; -+ const struct reg_sequence *open; -+ unsigned int num_open; -+ const struct reg_sequence *prepare; -+ unsigned int num_prepare; -+ const struct reg_sequence *cleanup; -+ unsigned int num_cleanup; -+ const struct reg_sequence *close; -+ unsigned int num_close; -+}; -+ -+struct cs35l41_hda_hw_config { -+ unsigned int spk_pos; -+ unsigned int gpio1_func; -+ unsigned int gpio2_func; -+ int bst_ind; -+ int bst_ipk; -+ int bst_cap; -+}; -+ -+struct cs35l41_hda { -+ struct device *dev; -+ struct regmap *regmap; -+ struct gpio_desc *reset_gpio; -+ const struct cs35l41_hda_reg_sequence *reg_seq; -+ -+ int irq; -+ int index; -+ -+ /* Don't put the AMP in reset of VSPK can not be turned off */ -+ bool vspk_always_on; -+}; -+ -+int cs35l41_hda_probe(struct device *dev, const char *device_name, int id, int irq, -+ struct regmap *regmap); -+int cs35l41_hda_remove(struct device *dev); -+ -+#endif /*__CS35L41_HDA_H__*/ -diff --git a/sound/pci/hda/cs35l41_hda_i2c.c b/sound/pci/hda/cs35l41_hda_i2c.c -new file mode 100644 -index 00000000000000..4a9462fb5c140a ---- /dev/null -+++ b/sound/pci/hda/cs35l41_hda_i2c.c -@@ -0,0 +1,66 @@ -+// SPDX-License-Identifier: GPL-2.0 -+// -+// cs35l41.c -- CS35l41 HDA I2C driver -+// -+// Copyright 2021 Cirrus Logic, Inc. -+// -+// Author: Lucas Tanure <tanureal@opensource.cirrus.com> -+ -+#include <linux/module.h> -+#include <linux/i2c.h> -+#include <linux/acpi.h> -+ -+#include "cs35l41_hda.h" -+ -+static int cs35l41_hda_i2c_probe(struct i2c_client *clt, const struct i2c_device_id *id) -+{ -+ const char *device_name; -+ -+ /* Compare against the device name so it works for I2C, normal ACPI -+ * and for ACPI by i2c-multi-instantiate matching cases -+ */ -+ if (strstr(dev_name(&clt->dev), "CLSA0100")) -+ device_name = "CLSA0100"; -+ else if (strstr(dev_name(&clt->dev), "CSC3551")) -+ device_name = "CSC3551"; -+ else -+ return -ENODEV; -+ -+ return cs35l41_hda_probe(&clt->dev, device_name, clt->addr, clt->irq, -+ devm_regmap_init_i2c(clt, &cs35l41_regmap_i2c)); -+} -+ -+static int cs35l41_hda_i2c_remove(struct i2c_client *clt) -+{ -+ return cs35l41_hda_remove(&clt->dev); -+} -+ -+static const struct i2c_device_id cs35l41_hda_i2c_id[] = { -+ { "cs35l41-hda", 0 }, -+ {} -+}; -+ -+#ifdef CONFIG_ACPI -+static const struct acpi_device_id cs35l41_acpi_hda_match[] = { -+ {"CLSA0100", 0 }, -+ {"CSC3551", 0 }, -+ { }, -+}; -+MODULE_DEVICE_TABLE(acpi, cs35l41_acpi_hda_match); -+#endif -+ -+static struct i2c_driver cs35l41_i2c_driver = { -+ .driver = { -+ .name = "cs35l41-hda", -+ .acpi_match_table = ACPI_PTR(cs35l41_acpi_hda_match), -+ }, -+ .id_table = cs35l41_hda_i2c_id, -+ .probe = cs35l41_hda_i2c_probe, -+ .remove = cs35l41_hda_i2c_remove, -+}; -+ -+module_i2c_driver(cs35l41_i2c_driver); -+ -+MODULE_DESCRIPTION("HDA CS35L41 driver"); -+MODULE_AUTHOR("Lucas Tanure <tanureal@opensource.cirrus.com>"); -+MODULE_LICENSE("GPL"); -diff --git a/sound/pci/hda/cs35l41_hda_spi.c b/sound/pci/hda/cs35l41_hda_spi.c -new file mode 100644 -index 00000000000000..77426e96c58fdd ---- /dev/null -+++ b/sound/pci/hda/cs35l41_hda_spi.c -@@ -0,0 +1,63 @@ -+// SPDX-License-Identifier: GPL-2.0 -+// -+// cs35l41.c -- CS35l41 HDA SPI driver -+// -+// Copyright 2021 Cirrus Logic, Inc. -+// -+// Author: Lucas Tanure <tanureal@opensource.cirrus.com> -+ -+#include <linux/acpi.h> -+#include <linux/module.h> -+#include <linux/spi/spi.h> -+ -+#include "cs35l41_hda.h" -+ -+static int cs35l41_hda_spi_probe(struct spi_device *spi) -+{ -+ const char *device_name; -+ -+ /* Compare against the device name so it works for SPI, normal ACPI -+ * and for ACPI by spi-multi-instantiate matching cases -+ */ -+ if (strstr(dev_name(&spi->dev), "CSC3551")) -+ device_name = "CSC3551"; -+ else -+ return -ENODEV; -+ -+ return cs35l41_hda_probe(&spi->dev, device_name, spi->chip_select, spi->irq, -+ devm_regmap_init_spi(spi, &cs35l41_regmap_spi)); -+} -+ -+static int cs35l41_hda_spi_remove(struct spi_device *spi) -+{ -+ return cs35l41_hda_remove(&spi->dev); -+} -+ -+static const struct spi_device_id cs35l41_hda_spi_id[] = { -+ { "cs35l41-hda", 0 }, -+ {} -+}; -+ -+#ifdef CONFIG_ACPI -+static const struct acpi_device_id cs35l41_acpi_hda_match[] = { -+ { "CSC3551", 0 }, -+ {}, -+}; -+MODULE_DEVICE_TABLE(acpi, cs35l41_acpi_hda_match); -+#endif -+ -+static struct spi_driver cs35l41_spi_driver = { -+ .driver = { -+ .name = "cs35l41_hda", -+ .acpi_match_table = ACPI_PTR(cs35l41_acpi_hda_match), -+ }, -+ .id_table = cs35l41_hda_spi_id, -+ .probe = cs35l41_hda_spi_probe, -+ .remove = cs35l41_hda_spi_remove, -+}; -+ -+module_spi_driver(cs35l41_spi_driver); -+ -+MODULE_DESCRIPTION("HDA CS35L41 driver"); -+MODULE_AUTHOR("Lucas Tanure <tanureal@opensource.cirrus.com>"); -+MODULE_LICENSE("GPL"); -diff --git a/sound/pci/hda/hda_component.h b/sound/pci/hda/hda_component.h -new file mode 100644 -index 00000000000000..2e52be6db9c21d ---- /dev/null -+++ b/sound/pci/hda/hda_component.h -@@ -0,0 +1,20 @@ -+/* SPDX-License-Identifier: GPL-2.0-or-later */ -+/* -+ * HD audio Component Binding Interface -+ * -+ * Copyright (C) 2021 Cirrus Logic, Inc. and -+ * Cirrus Logic International Semiconductor Ltd. -+ */ -+ -+#include <linux/component.h> -+ -+#define HDA_MAX_COMPONENTS 4 -+#define HDA_MAX_NAME_SIZE 50 -+ -+struct hda_component { -+ struct device *dev; -+ char name[HDA_MAX_NAME_SIZE]; -+ void (*playback_hook)(struct device *dev, int action); -+ int (*set_channel_map)(struct device *dev, unsigned int rx_num, unsigned int *rx_slot, -+ unsigned int tx_num, unsigned int *tx_slot); -+}; --- -cgit 1.2.3-korg - @@ -2,10 +2,10 @@ pkgbase=linux-amd _srcname=linux -gitver=v6.8.4 +gitver=v6.8.5 patchver=20240221.2 patchname=more-uarches-for-kernel-6.8-rc4+.patch -pkgver=6.8.v.4 +pkgver=6.8.v.5 pkgrel=1 arch=('x86_64') url="https://www.kernel.org/" @@ -23,7 +23,7 @@ source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git#ta ) sha256sums=('SKIP' #config.x86_64 - '272d3858dc21db313bf954b25698aa9450ce8a31b6427076f798cfaa96540036' + 'f30409fb06bc3165c6bec52d886773e7e964163ab7884e635f42f8abc5a53690' #.preset file '60c6ba602443e94a9eba3aeee9d194027d69bffaa428c6d055348ebf03681b5c' #grayskypatch diff --git a/config.x86_64 b/config.x86_64 index bfba487b7fcf..330fb36e399b 100644 --- a/config.x86_64 +++ b/config.x86_64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.8.4 Kernel Configuration +# Linux/x86 6.8.5 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20230801" CONFIG_CC_IS_GCC=y @@ -334,7 +334,6 @@ CONFIG_AUDIT_ARCH=y CONFIG_X86_64_SMP=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_FIX_EARLYCON_MEM=y -CONFIG_DYNAMIC_PHYSICAL_MASK=y CONFIG_PGTABLE_LEVELS=4 CONFIG_CC_HAS_SANE_STACKPROTECTOR=y @@ -482,8 +481,6 @@ CONFIG_X86_CPUID=m # CONFIG_X86_5LEVEL is not set CONFIG_X86_DIRECT_GBPAGES=y CONFIG_X86_CPA_STATISTICS=y -CONFIG_X86_MEM_ENCRYPT=y -CONFIG_AMD_MEM_ENCRYPT=y CONFIG_NUMA=y # CONFIG_AMD_NUMA is not set CONFIG_X86_64_ACPI_NUMA=y @@ -509,12 +506,7 @@ CONFIG_CC_HAS_IBT=y # CONFIG_X86_KERNEL_IBT is not set CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y # CONFIG_X86_USER_SHADOW_STACK is not set -CONFIG_EFI=y -CONFIG_EFI_STUB=y -# CONFIG_EFI_HANDOVER_PROTOCOL is not set -CONFIG_EFI_MIXED=y -# CONFIG_EFI_FAKE_MEMMAP is not set -CONFIG_EFI_RUNTIME_MAP=y +# CONFIG_EFI is not set # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set CONFIG_HZ_300=y @@ -640,7 +632,6 @@ CONFIG_ACPI_HOTPLUG_IOAPIC=y CONFIG_ACPI_SBS=m CONFIG_ACPI_HED=y CONFIG_ACPI_CUSTOM_METHOD=m -CONFIG_ACPI_BGRT=y # CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set CONFIG_ACPI_NFIT=m # CONFIG_NFIT_SECURITY_DEBUG is not set @@ -663,7 +654,6 @@ CONFIG_ACPI_PCC=y # CONFIG_ACPI_FFH is not set CONFIG_PMIC_OPREGION=y CONFIG_XPOWER_PMIC_OPREGION=y -CONFIG_ACPI_PRMT=y CONFIG_X86_PM_TIMER=y # @@ -910,10 +900,8 @@ CONFIG_STRICT_KERNEL_RWX=y CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y CONFIG_STRICT_MODULE_RWX=y CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y -CONFIG_ARCH_USE_MEMREMAP_PROT=y # CONFIG_LOCK_EVENT_COUNTS is not set CONFIG_ARCH_HAS_MEM_ENCRYPT=y -CONFIG_ARCH_HAS_CC_PLATFORM=y CONFIG_HAVE_STATIC_CALL=y CONFIG_HAVE_STATIC_CALL_INLINE=y CONFIG_HAVE_PREEMPT_DYNAMIC=y @@ -2304,31 +2292,6 @@ CONFIG_SYSFB=y # CONFIG_SYSFB_SIMPLEFB is not set CONFIG_FW_CS_DSP=m # CONFIG_GOOGLE_FIRMWARE is not set - -# -# EFI (Extensible Firmware Interface) Support -# -CONFIG_EFI_ESRT=y -CONFIG_EFI_VARS_PSTORE=y -# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set -CONFIG_EFI_DXE_MEM_ATTRIBUTES=y -CONFIG_EFI_RUNTIME_WRAPPERS=y -# CONFIG_EFI_BOOTLOADER_CONTROL is not set -CONFIG_EFI_CAPSULE_LOADER=m -# CONFIG_EFI_TEST is not set -CONFIG_EFI_DEV_PATH_PARSER=y -CONFIG_APPLE_PROPERTIES=y -# CONFIG_RESET_ATTACK_MITIGATION is not set -# CONFIG_EFI_RCI2_TABLE is not set -# CONFIG_EFI_DISABLE_PCI_DMA is not set -CONFIG_EFI_EARLYCON=y -CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y -# CONFIG_EFI_DISABLE_RUNTIME is not set -# CONFIG_EFI_COCO_SECRET is not set -CONFIG_UNACCEPTED_MEMORY=y -CONFIG_EFI_EMBEDDED_FIRMWARE=y -# end of EFI (Extensible Firmware Interface) Support - CONFIG_UEFI_CPER=y CONFIG_UEFI_CPER_X86=y @@ -3838,7 +3801,6 @@ CONFIG_INPUT_KEYBOARD=y # CONFIG_KEYBOARD_ADC is not set # CONFIG_KEYBOARD_ADP5588 is not set # CONFIG_KEYBOARD_ADP5589 is not set -# CONFIG_KEYBOARD_APPLESPI is not set CONFIG_KEYBOARD_ATKBD=m # CONFIG_KEYBOARD_QT1050 is not set # CONFIG_KEYBOARD_QT1070 is not set @@ -6335,7 +6297,7 @@ CONFIG_DRM_VBOXVIDEO=m # CONFIG_DRM_GUD is not set # CONFIG_DRM_SSD130X is not set # CONFIG_DRM_HYPERV is not set -CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y +CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=m CONFIG_DRM_PRIVACY_SCREEN=y # @@ -6351,7 +6313,6 @@ CONFIG_FB=y CONFIG_FB_VGA16=m CONFIG_FB_UVESA=m CONFIG_FB_VESA=y -CONFIG_FB_EFI=y # CONFIG_FB_N411 is not set # CONFIG_FB_HGA is not set # CONFIG_FB_OPENCORES is not set @@ -6612,11 +6573,8 @@ CONFIG_SND_HDA_RECONFIG=y CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INPUT_BEEP_MODE=1 CONFIG_SND_HDA_PATCH_LOADER=y -# CONFIG_SND_HDA_SCODEC_CS35L41_I2C is not set -# CONFIG_SND_HDA_SCODEC_CS35L41_SPI is not set # CONFIG_SND_HDA_SCODEC_CS35L56_I2C is not set # CONFIG_SND_HDA_SCODEC_CS35L56_SPI is not set -# CONFIG_SND_HDA_SCODEC_TAS2781_I2C is not set CONFIG_SND_HDA_CODEC_REALTEK=m CONFIG_SND_HDA_CODEC_ANALOG=m CONFIG_SND_HDA_CODEC_SIGMATEL=m @@ -7864,9 +7822,6 @@ CONFIG_VIRT_DRIVERS=y CONFIG_VMGENID=y CONFIG_VBOXGUEST=m # CONFIG_NITRO_ENCLAVES is not set -CONFIG_TSM_REPORTS=m -# CONFIG_EFI_SECRET is not set -CONFIG_SEV_GUEST=m CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=m CONFIG_VIRTIO_PCI_LIB=m @@ -7929,7 +7884,6 @@ CONFIG_XEN_PRIVCMD=m CONFIG_XEN_ACPI_PROCESSOR=m CONFIG_XEN_MCE_LOG=y CONFIG_XEN_HAVE_PVMMU=y -CONFIG_XEN_EFI=y CONFIG_XEN_AUTO_XLATE=y CONFIG_XEN_ACPI=y CONFIG_XEN_SYMS=y @@ -8071,7 +8025,6 @@ CONFIG_VT6656=m # CONFIG_FB_SM750 is not set CONFIG_STAGING_MEDIA=y -# CONFIG_INTEL_ATOMISP is not set # CONFIG_DVB_AV7110 is not set # CONFIG_VIDEO_IPU3_IMGU is not set @@ -8187,7 +8140,6 @@ CONFIG_TOPSTAR_LAPTOP=m # CONFIG_MLX_PLATFORM is not set CONFIG_TOUCHSCREEN_DMI=y # CONFIG_INSPUR_PLATFORM_PROFILE is not set -# CONFIG_X86_ANDROID_TABLETS is not set # CONFIG_INTEL_IPS is not set # CONFIG_INTEL_SCU_PCI is not set # CONFIG_INTEL_SCU_PLATFORM is not set @@ -9242,7 +9194,6 @@ CONFIG_HUGETLB_PAGE=y CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y CONFIG_ARCH_HAS_GIGANTIC_PAGE=y CONFIG_CONFIGFS_FS=y -CONFIG_EFIVAR_FS=y # end of Pseudo filesystems CONFIG_MISC_FILESYSTEMS=y @@ -9487,7 +9438,6 @@ CONFIG_SECURITY_YAMA=y CONFIG_INTEGRITY=y # CONFIG_INTEGRITY_SIGNATURE is not set # CONFIG_IMA is not set -# CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set # CONFIG_EVM is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_LSM="yama,loadpin,safesetid,integrity" @@ -9917,10 +9867,8 @@ CONFIG_NEED_SG_DMA_FLAGS=y CONFIG_NEED_SG_DMA_LENGTH=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y -CONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED=y CONFIG_SWIOTLB=y # CONFIG_SWIOTLB_DYNAMIC is not set -CONFIG_DMA_COHERENT_POOL=y # CONFIG_DMA_API_DEBUG is not set # CONFIG_DMA_MAP_BENCHMARK is not set CONFIG_SGL_ALLOC=y @@ -9937,7 +9885,7 @@ CONFIG_IRQ_POLL=y CONFIG_MPILIB=y CONFIG_DIMLIB=y CONFIG_OID_REGISTRY=y -CONFIG_UCS2_STRING=y +CONFIG_UCS2_STRING=m CONFIG_HAVE_GENERIC_VDSO=y CONFIG_GENERIC_GETTIMEOFDAY=y CONFIG_GENERIC_VDSO_TIME_NS=y @@ -10278,7 +10226,6 @@ CONFIG_IO_STRICT_DEVMEM=y CONFIG_EARLY_PRINTK=y # CONFIG_EARLY_PRINTK_DBGP is not set # CONFIG_EARLY_PRINTK_USB_XDBC is not set -# CONFIG_EFI_PGT_DUMP is not set # CONFIG_DEBUG_TLBFLUSH is not set CONFIG_HAVE_MMIOTRACE_SUPPORT=y # CONFIG_X86_DECODER_SELFTEST is not set |