This patch extends UIO PCI generic driver to
support MSI-X interrupt.
Tracked-On:projectacrn/acrn-hypervisor#5407
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Use 'make savedefconfig' to convert the extensive kernel configuration files
to simplified ones.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Description:
- Added XFS support in Kernel User VM config file
Signed-off-by: Ionut Nechita <ionut_n2001@yahoo.com>
Change-Id: I109ea86c3af303b3d86150d07d2d4d966e8d549d
Description:
- Added XFS support in Kernel Service VM config file
Signed-off-by: Ionut Nechita <ionut_n2001@yahoo.com>
Change-Id: Ic76684b701ff5cf7ba90850776240eb2d77287c1
The CONFIG_SERIAL_8250_NR_UARTS should be increased to at least 48,
and CONFIG_SERIAL_8250_RUNTIME_UARTS should be increased to at least
32 in order to support multi port serial cards out of the box. This
will cover at least the situation, where two 8 port cards are used
simultaneously and there is still some room for internal ports or
the other card or vUARTs.
Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
Rename Acrn kernel config name to kernel_config_uefi_service_vm.
Tracked-On: projectacrn/acrn-hypervisor#6744
Signed-off-by: Liu Long <long.liu@linux.intel.com>
From ACRN release 2.5, hypervisor supports relocate kernel to the guest free space. So specify the kernel physical start address is not needed any more.
Tracked-On: projectacrn/acrn-hypervisor#6557
Signed-off-by: pengfujx <pengfux.ji@intel.com>
Some platform has ASPEED GPU,
add AST driver to enable Service VM display locally
Tracked-On: projectacrn/acrn-hypervisor#6357
Signed-off-by: Liu,Junming <junming.liu@intel.com>
Add some additional USB Mass Storage drivers (built-in) to the
kernel configuration. This solves booting off USB with some devices
and on some platforms.
Also add the USB HID driver as built-in (instead of a module).
Tracked-On: projectacrn/acrn-hypervisor#5943
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
The latest NUCs based on Intel Tiger Lake (TGL) also come with the
Intel Ethernet I225-LM Ethernet adpater. The driver for this is
called IGC, this patch enables it (as a module) in the kernel
configuration
Tracked-On: projectacrn/acrn-hypervisor#6221
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Add the Virtio blk driver (VIRTIO_BLK) driver to the Service VM
kernel config (SOS). This simplifies the set-up procedure for
running ACRN on QEMU.
Tracked-On: projectacrn/acrn-hypervisor#6125
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
AudioDSP firmware and HDAudio controller support and facilitate audio
formats with up to 16 channels. Reflect that with BE DAIs.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Change i2s_test module option from enable flag to string allowing to
specify which i2s and in what TDM configuration should be enabled.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Existing parse_inte_array_user() works with __user buffers only.
Separate array parsing from __user bits so the functionality can be
utilized with kernel buffers too.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
The skylake-driver is deprecated in favour of the avs-driver. As the
latter supports all configurations of its predecessor and more, simply
replace the driver-constant returned when FLAG_SST is met.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
commit 5b417fe0cded0b5917683398e6519aae8045cd40 upstream
Update board selection with tables specifying supported I2S
configurations. DMIC/HDAudio board selection require no update as
dmic/hdaudio machine boards are generic and not tied to any specific
codec.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-11-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 36478a74c7ddaf58d80da5cef9c5ddb5beed5a2e upstream
For ICL+ platforms to avoid DMI/OPIO L1 entry during the base firmware
load procedure, HW recommends to set LTRP_GB to 95us and start an
additional CAPTURE stream in the background.
Once the load completes, original LTRP_GB value is restored and the
additional stream is released.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-10-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 5acb19ecd1982bd1578912473b33df75a23fefc2 upstream
Define handlers specific to cAVS 2.5 platforms, that is TGL, ADL, RPL
and all other variants based on this very version of AudioDSP
architecture. Most operations are inherited from their predecessors with
the major difference being AudioDSP cores management - firmware handlers
that on its own so there is no need to interfere.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-9-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 275b583d047a23c48d01b0c45fb5d95618c1da2d upstream
Define handlers specific to cAVS 2.0 platforms, that is ICL, JSL and all
other variants based on this very version of AudioDSP architecture. Most
operations are inherited from their predecessors with the major
difference being firmware-logging functionality - IPC request as well as
debug memory windows layout have changed.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 8a6502ade116bc4b8293f094f8d74059c67c3f27 upstream
Define handlers specific to cAVS 1.8 platforms, that is CNL, CFL, CML
and all other variants based on this very version of AudioDSP
architecture. Most operations are inherited from their predecessors.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 97bd565ff5a2fc89d302f9919fde37fadf51b645 upstream
Servicing IPCs on CNL platforms and onward differs from the existing
one. To make room for these, relocate SKL-based platforms specific code
into the skl.c file leaving only the genering irq_handler in the common
code.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-6-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 7576e2f4d99df6efabb77f52b9539fd345233aee upstream
Servicing IPCs on CNL platforms and onward differs from the existing
one. To make room for these, enrich platform descriptor with fields
representing crucial IPC registers and utilize them throughout the code.
While cleaning up device descriptors, reduce the number of code lines by
assigning 'min_fw_version' within a single line.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-5-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit a8f858d98f016a0209edaf1518fd45a5e5c62d47 upstream
Prefix members that are platform-specific with 'avs_' to improve code
cohesiveness and reduce the chance for naming-conflics with other
drivers.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit e1a0cbae52d0bf3cb350eba5c95c46c14a5bcda4 upstream
To avoid sound clipping when there just one, single CAPTURE stream
ongoing, disable L1SEN before it is started. Any PLAYBACK stream or
additional CAPTURE allows L1SEN to be re-enabled.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 1b72943ab1159ad27c11a302644fabb8bc2881bb upstream
Code loading is not the only procedure that manipulates L1SEN. Update
existing mechanism so the stream starting procedure can interfere with
L1SEN without causing any trouble to its other users.
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240220115035.770402-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
commit 4fe20d6284 upstream
This 2nd variables are all set as true in treewide. So I think
it can be removed for easy understanding.
Signed-off-by: Zhang Yiqun <zhangyiqun@phytium.com.cn>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230209121723.14328-1-zhangyiqun@phytium.com.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
commit f8ccb133c9866b17a44f8e1a2478beb1631a366d upstream.
To not expose more than in fact is supported by the codec, update CPU
DAI initialization procedure to rely on codec capabilities instead of
hardcoding them. This includes subformat which is currently ignored.
As capabilities for HDMI streams are initialized on PCM open, leave it
as is for now.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20231117120610.1755254-17-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
commit c93c604e93af7f6085df5b7cad4d96f538ece68d upstream.
Eliminate all occurrences of S24_LE within PCM code, both HOST and LINK
side. Replace those with MSBITS subformats to allow for granular
selection when S32_LE is the format of choice.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20231117120610.1755254-16-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
commit dfd6ba6813dd0fdea54de58e7b80ca304ce3fca5 upstream.
There are no users of the function.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20231117120610.1755254-15-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
commit 615d13cb4f3e499fb5c270a7db66917286f7d0ec upstream.
To provide option for selecting different bit-per-sample than just the
maximum one, use the new format calculation mechanism.
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20231117120610.1755254-14-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>