[All] {WIP} The big bump to buildroot 2024.02.x

This commit is contained in:
j1nx 2024-03-01 07:54:30 +00:00
parent 24a7b5beb1
commit aa79231bf0
239 changed files with 803 additions and 1351 deletions

4
.gitmodules vendored
View File

@ -1,4 +1,4 @@
[submodule "buildroot"]
path = buildroot
url = https://github.com/j1nx/buildroot.git
branch = ovos-2023.02.x
url = https://github.com/OpenVoiceOS/buildroot.git
branch = ovos-2024.02.x

@ -1 +1 @@
Subproject commit 47ddc8afd0405dcae4ee8aeb4922bd934c5f8b28
Subproject commit 12cfc7297fbf3cdc2d48a816f4286804231be440

View File

@ -93,7 +93,6 @@ menu "KDE Framework and Plasma"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-threadweaver/Config.in"
endmenu
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ksm-preload/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libcanberra/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libgpiod2/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libre/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/librem/Config.in"
@ -145,10 +144,8 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-audio-metadata/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-autocommand/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-bitstruct/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-blinker/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-board/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-bs4/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-cachetools/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-casttube/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-click-default-group/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-colour/Config.in"
@ -173,7 +170,6 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-gitpython/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-google-api-python-client/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-google-auth-httplib2/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-google-auth/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-google-trans-new/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-gpiod/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-gpsdclient/Config.in"
@ -182,7 +178,6 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-h3/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-hijri-converter/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-holidays/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-humanhash3/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-importlib-metadata/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-inflect/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-jaraco-collections/Config.in"
@ -203,7 +198,6 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-monotonic/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-msk/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-msm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-multi-key-dict/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-lang-plugin-libretranslate/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-phal-plugin-fan/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-phal-plugin-linear-led/Config.in"
@ -237,17 +231,13 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyaudio/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pychromecast/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pycpuinfo/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyee/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyftdi/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pygithub/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyjokes/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pymeeus/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pymplayer/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyowm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pytube/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pytzdata/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pywebio/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyxdg/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-quantulum3/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-quebra-frases/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-rakekeywords/Config.in"
@ -263,7 +253,6 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-smbus2/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-smmap/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-sonopy/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-source/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-speech2text/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-speechrecognition/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-sqlalchemy-json/Config.in"
@ -285,7 +274,6 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-vosk-api/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-webcolors/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-webrtcvad/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wheel/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wikipedia-api/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wikipedia-for-humans/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-xmlrunner/Config.in"

View File

@ -1,13 +1,9 @@
BR2_aarch64=y
BR2_cortex_a72=y
BR2_PACKAGE_GLIBC_UTILS=y
BR2_BINUTILS_VERSION_2_39_X=y
BR2_GCC_VERSION_12_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_DL_DIR="../../downloads"
BR2_CCACHE=y
BR2_CCACHE_DIR="ccache"
BR2_OPTIMIZE_2=y
BR2_ENABLE_LTO=y
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/patches $(BR2_EXTERNAL)/board/ovos/raspberrypi/patches"
BR2_FORCE_HOST_BUILD=y
@ -18,6 +14,7 @@ BR2_TARGET_GENERIC_PASSWD_SHA512=y
BR2_INIT_SYSTEMD=y
# BR2_TARGET_ENABLE_ROOT_LOGIN is not set
BR2_SYSTEM_BIN_SH_BASH=y
# BR2_TARGET_GENERIC_GETTY is not set
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
BR2_SYSTEM_DHCP="eth0"
# BR2_ENABLE_LOCALE_PURGE is not set
@ -30,7 +27,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL)/scripts/post-image.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL)/board/ovos/raspberrypi/rpi4"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,5e78d297b997dcc7a78ba747a62fb28d0b6a10d8)/linux-5e78d297b997dcc7a78ba747a62fb28d0b6a10d8.tar.gz"
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,9e78addad23f9fc66b0c6399d9234e44a89d699a)/linux-9e78addad23f9fc66b0c6399d9234e44a89d699a.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL)/kernel/ovos.config $(BR2_EXTERNAL)/kernel/device-drivers.config $(BR2_EXTERNAL)/kernel/docker.config $(BR2_EXTERNAL)/board/ovos/raspberrypi/kernel.config"
BR2_LINUX_KERNEL_LZ4=y
@ -65,11 +62,11 @@ BR2_PACKAGE_FFMPEG_AVRESAMPLE=y
BR2_PACKAGE_FFMPEG_POSTPROC=y
BR2_PACKAGE_FLAC=y
BR2_PACKAGE_PIPEWIRE=y
BR2_PACKAGE_PIPEWIRE_COMPRESS_OFFLOAD=y
BR2_PACKAGE_PIPEWIRE_EXAMPLES=y
BR2_PACKAGE_PIPEWIRE_GSTREAMER=y
BR2_PACKAGE_PIPEWIRE_V4L2=y
BR2_PACKAGE_PULSEAUDIO=y
BR2_PACKAGE_TINYCOMPRESS=y
BR2_PACKAGE_V4L2GRAB=y
BR2_PACKAGE_V4L2LOOPBACK=y
BR2_PACKAGE_V4L2LOOPBACK_UTILS=y
@ -179,7 +176,7 @@ BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_JSON_GLIB=y
BR2_PACKAGE_LIBCAMERA=y
BR2_PACKAGE_LIBCAMERA_V4L2=y
BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI=y
BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_VC4=y
BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE=y
BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO=y
BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC=y
@ -198,7 +195,6 @@ BR2_PACKAGE_ZEROMQ_WEBSOCKET=y
BR2_PACKAGE_LIBCAP_TOOLS=y
BR2_PACKAGE_LIBNPTH=y
BR2_PACKAGE_LIBFRIBIDI=y
BR2_PACKAGE_PCRE2=y
BR2_PACKAGE_AARDVARK_DNS=y
BR2_PACKAGE_AVAHI=y
BR2_PACKAGE_AVAHI_DAEMON=y
@ -298,7 +294,6 @@ BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT=y
BR2_PACKAGE_UTIL_LINUX_PARTX=y
BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT=y
BR2_PACKAGE_UTIL_LINUX_SU=y
BR2_PACKAGE_UTIL_LINUX_SULOGIN=y
BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT=y
BR2_PACKAGE_UTIL_LINUX_ZRAMCTL=y
BR2_PACKAGE_LESS=y
@ -318,8 +313,6 @@ BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_PKGCONF=y
BR2_PACKAGE_BTSPEAKER=y
BR2_PACKAGE_HOSTNAME_SERVICE=y
BR2_PACKAGE_LIBGPIOD2=y
BR2_PACKAGE_LIBGPIOD2_TOOLS=y
BR2_PACKAGE_NCPAMIXER=y
BR2_PACKAGE_OVOS_BUS_SERVER=y
BR2_PACKAGE_OVOS_CONTAINERS=y
@ -332,6 +325,5 @@ BR2_PACKAGE_ROC_TOOLKIT=y
BR2_PACKAGE_RPI_EEPROM=y
BR2_PACKAGE_USERLAND_TOOLS=y
BR2_PACKAGE_VOCALFUSION=y
BR2_PACKAGE_WIFI_CONNECT=y
BR2_PACKAGE_PYTHON_ADAFRUIT_BLINKA=y
BR2_PACKAGE_PYTHON_SMBUS2=y

View File

@ -1,8 +0,0 @@
config BR2_PACKAGE_LIBCANBERRA
bool "libcanberra"
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_LIBVORBIS
help
Portable sound event library
http://0pointer.de/lennart/projects/libcanberra

View File

@ -1,16 +0,0 @@
#############################################################
#
# libcanberra
#
#############################################################
LIBCANBERRA_VERSION = 0.30
LIBCANBERRA_SOURCE = libcanberra-$(LIBCANBERRA_VERSION).tar.xz
LIBCANBERRA_SITE = http://0pointer.de/lennart/projects/libcanberra
LIBCANBERRA_INSTALL_STAGING = YES
LIBCANBERRA_DEPENDENCIES = libvorbis libtool alsa-lib
LIBCANBERRA_CONF_OPTS += --disable-oss
LIBCANBERRA_LICENSE = LGPLv2.1+
LIBCANBERRA_LICENSE_FILES = LGPL
$(eval $(autotools-package))

View File

@ -9,6 +9,7 @@ OVOS_CONTAINERS_LICENSE = Apache License 2.0
OVOS_CONTAINERS_LICENSE_FILES = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/../LICENSE
OVOS_CONTAINERS_SITE = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/ovos-containers
OVOS_CONTAINERS_SITE_METHOD = local
#OVOS_CONTAINERS_DEPENDENCIES = host-skopeo host-podman host-jq
OVOS_CONTAINERS_IMAGES = ovos-phal \
ovos-messagebus \

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_BLINKER
bool "python-blinker"
help
Fast, simple object-to-object and broadcast signaling.
http://pythonhosted.org/blinker/

View File

@ -1,5 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/blinker/json
md5 8b3722381f83c2813c52de3016b68d33 blinker-1.4.tar.gz
sha256 471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6 blinker-1.4.tar.gz
# Locally computed sha256 checksums
sha256 ee99a909e1b04f53f3d49383e6462ba268cf49388bb3a657455dac9e38cdf0ea LICENSE

View File

@ -1,14 +0,0 @@
################################################################################
#
# python-blinker
#
################################################################################
PYTHON_BLINKER_VERSION = 1.4
PYTHON_BLINKER_SOURCE = blinker-$(PYTHON_BLINKER_VERSION).tar.gz
PYTHON_BLINKER_SITE = https://files.pythonhosted.org/packages/1b/51/e2a9f3b757eb802f61dc1f2b09c8c99f6eb01cf06416c0671253536517b6
PYTHON_BLINKER_SETUP_TYPE = setuptools
PYTHON_BLINKER_LICENSE = MIT
PYTHON_BLINKER_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_CACHETOOLS
bool "python-cachetools"
help
Extensible memoizing collections and decorators.
https://github.com/tkem/cachetools

View File

@ -1,5 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/cachetools/json
md5 aced22583c2ce8672f73e570e5430bd7 cachetools-2.1.0.tar.gz
sha256 90f1d559512fc073483fe573ef5ceb39bf6ad3d39edc98dc55178a2b2b176fa3 cachetools-2.1.0.tar.gz
# Locally computed sha256 checksums
sha256 67aece1bc071b753da8a24bcf8953b0e7cd873780aeddce5990864822fdb734b LICENSE

View File

@ -1,14 +0,0 @@
################################################################################
#
# python-cachetools
#
################################################################################
PYTHON_CACHETOOLS_VERSION = 2.1.0
PYTHON_CACHETOOLS_SOURCE = cachetools-$(PYTHON_CACHETOOLS_VERSION).tar.gz
PYTHON_CACHETOOLS_SITE = https://files.pythonhosted.org/packages/87/41/b3e00059f3c34b57a653d2120d213715abb4327b36fee22e59c1da977d25
PYTHON_CACHETOOLS_SETUP_TYPE = setuptools
PYTHON_CACHETOOLS_LICENSE = MIT
PYTHON_CACHETOOLS_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -1,10 +0,0 @@
config BR2_PACKAGE_PYTHON_GOOGLE_AUTH
bool "python-google-auth"
select BR2_PACKAGE_PYTHON_PYASN1_MODULES # runtime
select BR2_PACKAGE_PYTHON_RSA # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_CACHETOOLS # runtime
help
Google Authentication Library.
https://github.com/GoogleCloudPlatform/google-auth-library-python

View File

@ -1,5 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/google-auth/json
md5 d231e262e5e3bf835b1a118b6904a81c google-auth-1.5.1.tar.gz
sha256 9ca363facbf2622d9ba828017536ccca2e0f58bd15e659b52f312172f8815530 google-auth-1.5.1.tar.gz
# Locally computed sha256 checksums
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE

View File

@ -1,14 +0,0 @@
################################################################################
#
# python-google-auth
#
################################################################################
PYTHON_GOOGLE_AUTH_VERSION = 1.5.1
PYTHON_GOOGLE_AUTH_SOURCE = google-auth-$(PYTHON_GOOGLE_AUTH_VERSION).tar.gz
PYTHON_GOOGLE_AUTH_SITE = https://files.pythonhosted.org/packages/7e/cd/dae5c39974b040741215ed346263152c93af21a22dc124c7ad451fbee417
PYTHON_GOOGLE_AUTH_SETUP_TYPE = setuptools
PYTHON_GOOGLE_AUTH_LICENSE = Apache-2.0
PYTHON_GOOGLE_AUTH_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_HUMANHASH3
bool "python-humanhash3"
help
Human-readable representations of digests.
https://github.com/blag/humanhash

View File

@ -1,3 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/humanhash3/json
md5 c892640cca499ba5a83cfe152d295b9d humanhash3-0.0.6.tar.gz
sha256 89ae15f6034bdb07e53ac2b2e246cc7131940766d2b2b70b7398dd27c640b1ab humanhash3-0.0.6.tar.gz

View File

@ -1,13 +0,0 @@
################################################################################
#
# python-humanhash3
#
################################################################################
PYTHON_HUMANHASH3_VERSION = 0.0.6
PYTHON_HUMANHASH3_SOURCE = humanhash3-$(PYTHON_HUMANHASH3_VERSION).tar.gz
PYTHON_HUMANHASH3_SITE = https://files.pythonhosted.org/packages/01/06/733ffbb45b78c34eba21d72e71a67f44af6efcdfb2e31ccaa837eb5144be
PYTHON_HUMANHASH3_SETUP_TYPE = distutils
PYTHON_HUMANHASH3_LICENSE = Public Domain
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_MULTI_KEY_DICT
bool "python-multi-key-dict"
help
Multi key dictionary implementation.
https://github.com/formiaczek/multi_key_dict

View File

@ -1,3 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/multi-key-dict/json
md5 fea179deaaf496872c9db77dab30d523 multi_key_dict-2.0.3.tar.gz
sha256 deebdec17aa30a1c432cb3f437e81f8621e1c0542a0c0617a74f71e232e9939e multi_key_dict-2.0.3.tar.gz

View File

@ -1,13 +0,0 @@
################################################################################
#
# python-multi-key-dict
#
################################################################################
PYTHON_MULTI_KEY_DICT_VERSION = 2.0.3
PYTHON_MULTI_KEY_DICT_SOURCE = multi_key_dict-$(PYTHON_MULTI_KEY_DICT_VERSION).tar.gz
PYTHON_MULTI_KEY_DICT_SITE = https://files.pythonhosted.org/packages/6d/97/2e9c47ca1bbde6f09cb18feb887d5102e8eacd82fbc397c77b221f27a2ab
PYTHON_MULTI_KEY_DICT_SETUP_TYPE = distutils
PYTHON_MULTI_KEY_DICT_LICENSE = MIT
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_PYEE
bool "python-pyee"
help
A port of node.js's EventEmitter to python.
https://github.com/jfhbrook/pyee

View File

@ -1,3 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/pyee/json
md5 5e7dd623f031e8b22a9e1fa64bf00a5c pyee-5.0.0.tar.gz
sha256 2770c4928abc721f46b705e6a72b0c59480c4a69c9a83ca0b00bb994f1ea4b32 pyee-9.0.4.tar.gz

View File

@ -1,14 +0,0 @@
################################################################################
#
# python-pyee
#
################################################################################
PYTHON_PYEE_VERSION = 9.0.4
PYTHON_PYEE_SOURCE = pyee-$(PYTHON_PYEE_VERSION).tar.gz
PYTHON_PYEE_SITE = https://files.pythonhosted.org/packages/99/d0/32803671d5d9dc032c766ad6c0716db98fa9b2c6ad9ec544f04849e9d3c7
PYTHON_PYEE_SETUP_TYPE = distutils
PYTHON_PYEE_LICENSE = MIT
PYTHON_PYEE_DEPENDENCIES = host-python-pytest-runner
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_PYMPLAYER
bool "python-pymplayer"
help
mplayer python api.
https://github.com/JarbasAl/py_mplayer

View File

@ -1,2 +0,0 @@
# sha256 from https://pypi.org
sha256 4e8e4581761fffdd8915829baf2b16b83265a6aa75455f1647667fdc8091bad2 python-pymplayer-eaa0a1dbfc60cb0f4f1b3e495d665714c089474a-br1.tar.gz

View File

@ -1,13 +0,0 @@
################################################################################
#
# python-pymplayer
#
################################################################################
PYTHON_PYMPLAYER_VERSION = eaa0a1dbfc60cb0f4f1b3e495d665714c089474a
PYTHON_PYMPLAYER_SITE = https://github.com/JarbasAl/py_mplayer.git
PYTHON_PYMPLAYER_SITE_METHOD = git
PYTHON_PYMPLAYER_SETUP_TYPE = distutils
PYTHON_PYMPLAYER_LICENSE = MIT
$(eval $(python-package))

View File

@ -1,9 +0,0 @@
config BR2_PACKAGE_PYTHON_PYOWM
bool "python-pyowm"
help
PyOWM is a client Python wrapper library for the
OpenWeatherMap web API. It allows quick and easy
consumption of OWM weather data from Python applications
via a simple object model and in a human-friendly fashion.
http://github.com/csparpa/pyowm

View File

@ -1,2 +0,0 @@
# sha256 from https://pypi.org/pypi/
sha256 5d41bcc3b6169d3cc606bffe80945ab4b65578ed7818ef13db8e16d836845442 pyowm-2.6.1.tar.gz

View File

@ -1,13 +0,0 @@
################################################################################
#
# python-pyowm
#
################################################################################
PYTHON_PYOWM_VERSION = 2.6.1
PYTHON_PYOWM_SOURCE = pyowm-$(PYTHON_PYOWM_VERSION).tar.gz
PYTHON_PYOWM_SITE = https://files.pythonhosted.org/packages/3a/1b/94282ac9ea7f737a6eea9520fed026200b63853b3196392814506c456b00
PYTHON_PYOWM_SETUP_TYPE = distutils
PYTHON_PYOWM_LICENSE = MIT
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_PYXDG
bool "python-pyxdg"
help
PyXDG is a python library to access freedesktop.org standards..
https://freedesktop.org/wiki/Software/pyxdg/

View File

@ -1,2 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/pyxdg/json
sha256 fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06 pyxdg-0.26.tar.gz

View File

@ -1,12 +0,0 @@
################################################################################
#
# python-pyxdg
#
################################################################################
PYTHON_PYXDG_VERSION = 0.26
PYTHON_PYXDG_SOURCE = pyxdg-$(PYTHON_PYXDG_VERSION).tar.gz
PYTHON_PYXDG_SITE = https://files.pythonhosted.org/packages/47/6e/311d5f22e2b76381719b5d0c6e9dc39cd33999adae67db71d7279a6d70f4
PYTHON_PYXDG_SETUP_TYPE = distutils
$(eval $(python-package))

View File

@ -1,6 +0,0 @@
config BR2_PACKAGE_PYTHON_SOURCE
bool "python-source"
help
A simple printer of source list.
http://www.cctv.com

View File

@ -1,3 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/source/json
md5 75cfced3e80a80e06e60a90b4118dfa5 source-1.2.0.zip
sha256 c72a255f39264da1b495da33fd68ae026e4b6247f0da4fd0c1414d685be9bde0 source-1.2.0.zip

View File

@ -1,18 +0,0 @@
################################################################################
#
# python-source
#
################################################################################
PYTHON_SOURCE_VERSION = 1.2.0
PYTHON_SOURCE_SOURCE = source-$(PYTHON_SOURCE_VERSION).zip
PYTHON_SOURCE_SITE = https://files.pythonhosted.org/packages/cd/44/8dfdedc238dbab3abacebbe4f76308847af8ff71bee20c668326b7941f76
PYTHON_SOURCE_SETUP_TYPE = distutils
define PYTHON_SOURCE_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/python-source/$(PYTHON_SOURCE_SOURCE)
mv $(@D)/source-$(PYTHON_SOURCE_VERSION)/* $(@D)
$(RM) -r $(@D)/source-$(PYTHON_SOURCE_VERSION)
endef
$(eval $(python-package))

View File

@ -1,8 +0,0 @@
config BR2_PACKAGE_PYTHON_WHEEL
bool "python-wheel"
help
This library is the reference implementation
of the Python wheel packaging standard, as
defined in PEP 427.
https://github.com/pypa/wheel

View File

@ -1,2 +0,0 @@
# sha256 from https://pypi.org/pypi/
sha256 e2ef7239991699e3355d54f8e968a21bb940a1dbf34a4d226741e64462516fad wheel-0.37.0.tar.gz

View File

@ -1,13 +0,0 @@
################################################################################
#
# python-wheel
#
################################################################################
PYTHON_WHEEL_VERSION = 0.37.0
PYTHON_WHEEL_SOURCE = wheel-$(PYTHON_WHEEL_VERSION).tar.gz
PYTHON_WHEEL_SITE = https://files.pythonhosted.org/packages/4e/be/8139f127b4db2f79c8b117c80af56a3078cc4824b5b94250c7f81a70e03b
PYTHON_WHEEL_SETUP_TYPE = setuptools
$(eval $(python-package))
$(eval $(host-python-package))

View File

@ -1,73 +0,0 @@
From 7eaacdbf00ec29931553384f914c229c6078582e Mon Sep 17 00:00:00 2001
Message-Id: <7eaacdbf00ec29931553384f914c229c6078582e.1652945863.git.stefan@agner.ch>
In-Reply-To: <184b6a054e04bb4c7fb4885a30d62314229dc551.1652945863.git.stefan@agner.ch>
References: <184b6a054e04bb4c7fb4885a30d62314229dc551.1652945863.git.stefan@agner.ch>
From: Stefan Agner <stefan@agner.ch>
Date: Thu, 5 May 2022 15:46:51 +0200
Subject: [PATCH] efidisk: pass buffers with higher alignment
Some devices report a IoAlign value of 2, however seem to require a
buffer with higher alignment.
The UEFI specification is saying: "IoAlign values of 0 and 1 mean that
the buffer can be placed anywhere in memory. Otherwise, IoAlign must
be a power of 2, and the requirement is that the start address of a
buffer must be evenly divisible by IoAlign with no remainder."
It seems that this got misinterpreted by some vendors assuming IoAlign
is 2^IoAlign. There is also such a hint in an example in earlier
versions of the Driver Writer's Guide:
ScsiPassThruMode.IoAlign = 2; // Data must be alligned on 4-byte boundary
However, it is unsafe to just blindly align buffers by 2^IoAlign, as
this would lead to an overflow for systems which use block size
alignment (e.g. 512 bytes, for example U-Boot).
Ontop of that, some devices seem to report no alignment requirements
but seem to read corrupt data or report read errors if the buffer is
not aligned.
Work around by using an alignment of at least BlockSize (typically 512
bytes) in any casea. Also make sure that IoAlign is still respected as
per UEFI specification if a higher alignment than block size is
requested.
Note: The problem has only noticed with compressed squashfs. It seems
that ext4 (and presumably other file system drivers) pass buffers with
a higher alignment already.
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Stefan Agner <stefan@agner.ch>
---
grub-core/disk/efi/efidisk.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/grub-core/disk/efi/efidisk.c b/grub-core/disk/efi/efidisk.c
index 9e20af70e..c6e37f131 100644
--- a/grub-core/disk/efi/efidisk.c
+++ b/grub-core/disk/efi/efidisk.c
@@ -553,8 +553,19 @@ grub_efidisk_readwrite (struct grub_disk *disk, grub_disk_addr_t sector,
d = disk->data;
bio = d->block_io;
- /* Set alignment to 1 if 0 specified */
- io_align = bio->media->io_align ? bio->media->io_align : 1;
+ /*
+ * If IoAlign is > 1, it should represent the required alignment. However,
+ * some UEFI implementation on Intel NUC systems seem to use IoAlign=2 but
+ * require 2^IoAlign. Some implementation seem to require alignment despite
+ * not reporting any requirements.
+ *
+ * Make sure to align to at least block size in any case.
+ */
+ if (bio->media->io_align < bio->media->block_size)
+ io_align = bio->media->block_size;
+ else
+ io_align = bio->media->io_align;
+
num_bytes = size << disk->log_sector_size;
if ((grub_addr_t) buf & (io_align - 1))
--
2.36.1

View File

@ -1,7 +1,7 @@
From 71103fe2c85e989e7b5374cead80c0d75425f1de Mon Sep 17 00:00:00 2001
From f75402b89331eb0888900ae15fe7a8ec08564e90 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 8 Sep 2023 18:22:48 +0200
Subject: [PATCH 001/195] sched: Constrain locks in sched_submit_work()
Subject: [PATCH 001/196] sched: Constrain locks in sched_submit_work()
Even though sched_submit_work() is ran from preemptible context,
it is discouraged to have it use blocking locks due to the recursion
@ -50,5 +50,5 @@ index a854b71836dd..a9bf40d18cec 100644
static void sched_update_worker(struct task_struct *tsk)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 30c0fabb5665235a7e6dd945be69945e9c6dc069 Mon Sep 17 00:00:00 2001
From ac013e45d292b1339ee9da48307bc36e860e075e Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:49 +0200
Subject: [PATCH 002/195] locking/rtmutex: Avoid unconditional slowpath for
Subject: [PATCH 002/196] locking/rtmutex: Avoid unconditional slowpath for
DEBUG_RT_MUTEXES
With DEBUG_RT_MUTEXES enabled the fast-path rt_mutex_cmpxchg_acquire()
@ -82,5 +82,5 @@ index d1473c624105..c7196de838ed 100644
ww_mutex_set_context_fastpath(lock, ww_ctx);
return 0;
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 67e70cee63df0dcf79656f4902fb1a563a9bd28f Mon Sep 17 00:00:00 2001
From 441d37212b3185e39a4eba30acb9f2aefc8f157a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:50 +0200
Subject: [PATCH 003/195] sched: Extract __schedule_loop()
Subject: [PATCH 003/196] sched: Extract __schedule_loop()
There are currently two implementations of this basic __schedule()
loop, and there is soon to be a third.
@ -59,5 +59,5 @@ index a9bf40d18cec..ed5f5e3f6239 100644
NOKPROBE_SYMBOL(schedule_rtlock);
#endif
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 9e47eb505e7f3ed5408d3d66e91ebb6982768023 Mon Sep 17 00:00:00 2001
From a8e46d57627a4d965d528b7ba8ed107d500257f6 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 8 Sep 2023 18:22:51 +0200
Subject: [PATCH 004/195] sched: Provide rt_mutex specific scheduler helpers
Subject: [PATCH 004/196] sched: Provide rt_mutex specific scheduler helpers
With PREEMPT_RT there is a rt_mutex recursion problem where
sched_submit_work() can use an rtlock (aka spinlock_t). More
@ -133,5 +133,5 @@ index ed5f5e3f6239..90f9124ac027 100644
{
if (pi_task)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From be4c4dd6d8b7daa71457f2d02eead010dc5b77b5 Mon Sep 17 00:00:00 2001
From 1516b657591d065dbad2dbcd031a419802536191 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:52 +0200
Subject: [PATCH 005/195] locking/rtmutex: Use rt_mutex specific scheduler
Subject: [PATCH 005/196] locking/rtmutex: Use rt_mutex specific scheduler
helpers
Have rt_mutex use the rt_mutex specific scheduler helpers to avoid
@ -187,5 +187,5 @@ index 48a19ed8486d..842037b2ba54 100644
/*
* The common functions which get wrapped into the rwlock API.
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From beef31a7b4f8b038bfd4490f654df84668b806dc Mon Sep 17 00:00:00 2001
From 6e0ef4c9025663e48a28d0f9f37117f7468884b9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Sep 2023 18:22:53 +0200
Subject: [PATCH 006/195] locking/rtmutex: Add a lockdep assert to catch
Subject: [PATCH 006/196] locking/rtmutex: Add a lockdep assert to catch
potential nested blocking
There used to be a BUG_ON(current->pi_blocked_on) in the lock acquisition
@ -62,5 +62,5 @@ index 842037b2ba54..38e292454fcc 100644
rtlock_slowlock(rtm);
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 067017a07e06c6ab7a99d0a9da097d3cdbc07d74 Mon Sep 17 00:00:00 2001
From c727d5f5dcbe3a30ed56920957f32cade3dfd2cf Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 15 Sep 2023 17:19:44 +0200
Subject: [PATCH 007/195] futex/pi: Fix recursive rt_mutex waiter state
Subject: [PATCH 007/196] futex/pi: Fix recursive rt_mutex waiter state
Some new assertions pointed out that the existing code has nested rt_mutex wait
state in the futex code.
@ -200,5 +200,5 @@ index cba8b1a6a4cc..4c73e0b81acc 100644
/*
* Fixup the pi_state owner and possibly acquire the lock if we
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 854cc4a6294ebc631fceda57138d1419977e9c87 Mon Sep 17 00:00:00 2001
From ed5e3fcceec56a9401a00bfdd6e2545e064ea774 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 3 Aug 2023 12:09:31 +0200
Subject: [PATCH 008/195] signal: Add proper comment about the preempt-disable
Subject: [PATCH 008/196] signal: Add proper comment about the preempt-disable
in ptrace_stop().
Commit 53da1d9456fe7 ("fix ptrace slowness") added a preempt-disable section
@ -48,5 +48,5 @@ index 09019017d669..051ed8114cd4 100644
preempt_disable();
read_unlock(&tasklist_lock);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 819c398c8fc580efa6af71d8880e57d762c7b53a Mon Sep 17 00:00:00 2001
From b9cc1762c1cb78dc3ea579526c2810aaa5095b76 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 3 Aug 2023 12:09:32 +0200
Subject: [PATCH 009/195] signal: Don't disable preemption in ptrace_stop() on
Subject: [PATCH 009/196] signal: Don't disable preemption in ptrace_stop() on
PREEMPT_RT.
On PREEMPT_RT keeping preemption disabled during the invocation of
@ -49,5 +49,5 @@ index 051ed8114cd4..b71026341056 100644
cgroup_leave_frozen(true);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From beec053e6c4b3efcfb0c71e5594de0df4651d6f8 Mon Sep 17 00:00:00 2001
From 940963fd380191ddc53a1519e9a43e9f64acff7d Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:12 +0200
Subject: [PATCH 010/195] drm/amd/display: Remove migrate_en/dis from
Subject: [PATCH 010/196] drm/amd/display: Remove migrate_en/dis from
dc_fpu_begin().
This is a revert of the commit mentioned below while it is not wrong, as
@ -87,5 +87,5 @@ index 172aa10a8800..86f4c0e04654 100644
if (cpu_has_feature(CPU_FTR_VSX_COMP)) {
disable_kernel_vsx();
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 13345b6e1dccf7f0404111eb4081834eaf628563 Mon Sep 17 00:00:00 2001
From 5a4030acca5d80c89c7c5d456ce6d368c8b06c3d Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:13 +0200
Subject: [PATCH 011/195] drm/amd/display: Simplify the per-CPU usage.
Subject: [PATCH 011/196] drm/amd/display: Simplify the per-CPU usage.
The fpu_recursion_depth counter is used to ensure that dc_fpu_begin()
can be invoked multiple times while the FPU-disable function itself is
@ -128,5 +128,5 @@ index 86f4c0e04654..8bd5926b47e0 100644
+ preempt_enable();
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 533bd452afe45e25b387a11ab7748f9633995fee Mon Sep 17 00:00:00 2001
From 571a36167db85f02eee543494804642690368288 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:14 +0200
Subject: [PATCH 012/195] drm/amd/display: Add a warning if the FPU is used
Subject: [PATCH 012/196] drm/amd/display: Add a warning if the FPU is used
outside from task context.
Add a warning if the FPU is used from any context other than task
@ -27,5 +27,5 @@ index 8bd5926b47e0..4ae4720535a5 100644
depth = __this_cpu_inc_return(fpu_recursion_depth);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 7c34575c85d40e203f3b18ccb63e526d978b1c78 Mon Sep 17 00:00:00 2001
From ac9bf004c54c34415488830ec5cbdd2c85a77619 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:15 +0200
Subject: [PATCH 013/195] drm/amd/display: Move the memory allocation out of
Subject: [PATCH 013/196] drm/amd/display: Move the memory allocation out of
dcn21_validate_bandwidth_fp().
dcn21_validate_bandwidth_fp() is invoked while FPU access has been
@ -92,5 +92,5 @@ index c51badf7b68a..a81a0b9e6884 100644
void dcn21_clk_mgr_set_bw_params_wm_table(struct clk_bw_params *bw_params);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From bf3d7bb0ed627ca816eb490b7ac2b26ec02e63d5 Mon Sep 17 00:00:00 2001
From 3f2c3255ff61a58382c5a9ade34c950b92fa2a10 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 21 Sep 2023 16:15:16 +0200
Subject: [PATCH 014/195] drm/amd/display: Move the memory allocation out of
Subject: [PATCH 014/196] drm/amd/display: Move the memory allocation out of
dcn20_validate_bandwidth_fp().
dcn20_validate_bandwidth_fp() is invoked while FPU access has been
@ -126,5 +126,5 @@ index a81a0b9e6884..b6c34198ddc8 100644
struct pp_smu_wm_range_sets *ranges,
struct _vcs_dpi_soc_bounding_box_st *loaded_bb);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 30de1da993f600f4771b3f3724ce0667f66ac69b Mon Sep 17 00:00:00 2001
From 1ae5a33601b65a31467bdb074b566d48296b1359 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 15 Aug 2022 17:29:50 +0200
Subject: [PATCH 015/195] net: Avoid the IPI to free the
Subject: [PATCH 015/196] net: Avoid the IPI to free the
skb_attempt_defer_free() collects a skbs, which was allocated on a
remote CPU, on a per-CPU list. These skbs are either freed on that
@ -40,7 +40,7 @@ index b8e60a20416b..ffa5248a90e2 100644
static inline void input_queue_head_incr(struct softnet_data *sd)
diff --git a/net/core/dev.c b/net/core/dev.c
index e480afb50d4c..227338b8cda8 100644
index d72a4ff689ca..3c08e3dd115b 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -4705,15 +4705,6 @@ static void rps_trigger_softirq(void *data)
@ -92,7 +92,7 @@ index e480afb50d4c..227338b8cda8 100644
static int napi_threaded_poll(void *data)
{
struct napi_struct *napi = data;
@@ -11606,7 +11623,11 @@ static int __init net_dev_init(void)
@@ -11615,7 +11632,11 @@ static int __init net_dev_init(void)
INIT_CSD(&sd->csd, rps_trigger_softirq, sd);
sd->cpu = i;
#endif
@ -124,5 +124,5 @@ index 011d69029112..9a9fbe18bf2f 100644
static void skb_splice_csum_page(struct sk_buff *skb, struct page *page,
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From c17f2c393b160199e64c464189661283345d2e73 Mon Sep 17 00:00:00 2001
From d312cf65a294c2b7b473cb487f8bda3161b9d72d Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 7 Aug 2019 18:15:38 +0200
Subject: [PATCH 016/195] x86: Allow to enable RT
Subject: [PATCH 016/196] x86: Allow to enable RT
Allow to select RT.
@ -24,5 +24,5 @@ index fe3292e310d4..984068efd48b 100644
select HAVE_ARCH_SOFT_DIRTY
select MODULES_USE_ELF_RELA
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 44e5f60ede7f2407fe12fa477b09f1a156e0634b Mon Sep 17 00:00:00 2001
From 06505d443d8b5674ebf4577ce6f372c939a36998 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 7 Nov 2019 17:49:20 +0100
Subject: [PATCH 017/195] x86: Enable RT also on 32bit
Subject: [PATCH 017/196] x86: Enable RT also on 32bit
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
@ -30,5 +30,5 @@ index 984068efd48b..1b445e289190 100644
select ARCH_USE_MEMTEST
select ARCH_USE_QUEUED_RWLOCKS
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From f4ac796216884ec5942d1d74fde86d1ed5f1f695 Mon Sep 17 00:00:00 2001
From a52edbca61751c78ec7f0a0d386c726f3ed609cd Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 1 Aug 2023 17:26:48 +0200
Subject: [PATCH 018/195] sched/rt: Don't try push tasks if there are none.
Subject: [PATCH 018/196] sched/rt: Don't try push tasks if there are none.
I have a RT task X at a high priority and cyclictest on each CPU with
lower priority than X's. If X is active and each CPU wakes their own
@ -59,5 +59,5 @@ index 904dd8534597..563161845e79 100644
rd->rto_cpu = -1;
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From ddbe9f49b78c945704d68bd7333b354b13527703 Mon Sep 17 00:00:00 2001
From 196e6be48c3feb1e5c17c651431b96dd16377788 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 1 Dec 2021 17:41:09 +0100
Subject: [PATCH 019/195] softirq: Use a dedicated thread for timer wakeups.
Subject: [PATCH 019/196] softirq: Use a dedicated thread for timer wakeups.
A timer/hrtimer softirq is raised in-IRQ context. With threaded
interrupts enabled or on PREEMPT_RT this leads to waking the ksoftirqd
@ -194,10 +194,10 @@ index 210cf5f8d92c..c29c30106eb8 100644
}
early_initcall(spawn_ksoftirqd);
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 760793998cdd..9f4d7ab03e39 100644
index edb0f821dcea..a7290012179a 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -1808,7 +1808,7 @@ void hrtimer_interrupt(struct clock_event_device *dev)
@@ -1809,7 +1809,7 @@ void hrtimer_interrupt(struct clock_event_device *dev)
if (!ktime_before(now, cpu_base->softirq_expires_next)) {
cpu_base->softirq_expires_next = KTIME_MAX;
cpu_base->softirq_activated = 1;
@ -206,7 +206,7 @@ index 760793998cdd..9f4d7ab03e39 100644
}
__hrtimer_run_queues(cpu_base, now, flags, HRTIMER_ACTIVE_HARD);
@@ -1921,7 +1921,7 @@ void hrtimer_run_queues(void)
@@ -1922,7 +1922,7 @@ void hrtimer_run_queues(void)
if (!ktime_before(now, cpu_base->softirq_expires_next)) {
cpu_base->softirq_expires_next = KTIME_MAX;
cpu_base->softirq_activated = 1;
@ -229,5 +229,5 @@ index 63a8ce7177dd..7cad6fe3c035 100644
/*
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From f089c645b517d22f97433deffaaedc9fd6f9b598 Mon Sep 17 00:00:00 2001
From 5cad67f914fcb553250226df80262091c892b24b Mon Sep 17 00:00:00 2001
From: Frederic Weisbecker <frederic@kernel.org>
Date: Tue, 5 Apr 2022 03:07:51 +0200
Subject: [PATCH 020/195] rcutorture: Also force sched priority to timersd on
Subject: [PATCH 020/196] rcutorture: Also force sched priority to timersd on
boosting test.
ksoftirqd is statically boosted to the priority level right above the
@ -76,5 +76,5 @@ index c29c30106eb8..1277abc94228 100644
static unsigned int local_pending_timers(void)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From ed846d5dfed571d1dc9ab756a1240a93018004b5 Mon Sep 17 00:00:00 2001
From 258f3ad84b7913d34d1ba886504d32c6035e9062 Mon Sep 17 00:00:00 2001
From: Frederic Weisbecker <frederic@kernel.org>
Date: Tue, 5 Apr 2022 03:07:52 +0200
Subject: [PATCH 021/195] tick: Fix timer storm since introduction of timersd
Subject: [PATCH 021/196] tick: Fix timer storm since introduction of timersd
If timers are pending while the tick is reprogrammed on nohz_mode, the
next expiry is not armed to fire now, it is delayed one jiffy forward
@ -98,7 +98,7 @@ index 1277abc94228..a4d359e2c2b5 100644
static void wake_timersd(void)
{
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 5cbd0cee83c0..2d7036714c81 100644
index 55cbc49f70d1..1a0ed106b192 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -795,7 +795,7 @@ static void tick_nohz_restart(struct tick_sched *ts, ktime_t now)
@ -111,5 +111,5 @@ index 5cbd0cee83c0..2d7036714c81 100644
static ktime_t tick_nohz_next_event(struct tick_sched *ts, int cpu)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From cb9cea518effb1b12b36be953f46c66fcca40c2f Mon Sep 17 00:00:00 2001
From a1f12ecc3cd8e461adc6179d1c5879f6e8e75a79 Mon Sep 17 00:00:00 2001
From: Junxiao Chang <junxiao.chang@intel.com>
Date: Mon, 20 Feb 2023 09:12:20 +0100
Subject: [PATCH 022/195] softirq: Wake ktimers thread also in softirq.
Subject: [PATCH 022/196] softirq: Wake ktimers thread also in softirq.
If the hrtimer is raised while a softirq is processed then it does not
wake the corresponding ktimers thread. This is due to the optimisation in the
@ -45,5 +45,5 @@ index a4d359e2c2b5..c2474cc4fa51 100644
tick_irq_exit();
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From d25c9b1588e64c6b128e958bdb998668f65bd03a Mon Sep 17 00:00:00 2001
From 03e700d918bec8e9cf7b84b0547aa3416951ac91 Mon Sep 17 00:00:00 2001
From: Mike Galbraith <umgwanakikbuti@gmail.com>
Date: Thu, 31 Mar 2016 04:08:28 +0200
Subject: [PATCH 023/195] zram: Replace bit spinlocks with spinlock_t for
Subject: [PATCH 023/196] zram: Replace bit spinlocks with spinlock_t for
PREEMPT_RT.
The bit spinlock disables preemption. The spinlock_t lock becomes a sleeping
@ -98,5 +98,5 @@ index ca7a15bd4845..e64eb607eb45 100644
ktime_t ac_time;
#endif
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 537326d9f40fb9b84eb9df67a0f8da0b4deee025 Mon Sep 17 00:00:00 2001
From d2531fe36026bcaf2fc22454911e6ef75b937579 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 8 Mar 2023 16:29:38 +0100
Subject: [PATCH 024/195] preempt: Put preempt_enable() within an
Subject: [PATCH 024/196] preempt: Put preempt_enable() within an
instrumentation*() section.
Callers of preempt_enable() can be within an noinstr section leading to:
@ -48,5 +48,5 @@ index 9aa6358a1a16..cd16f0330fba 100644
#define preempt_check_resched() \
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From a3b4b96acf6a09da67d22e7aa8a62f250bfc6e25 Mon Sep 17 00:00:00 2001
From 480a24076ff3f106924b91564cae088f7e04914c Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:37 +0200
Subject: [PATCH 025/195] sched/core: Provide a method to check if a task is
Subject: [PATCH 025/196] sched/core: Provide a method to check if a task is
PI-boosted.
Provide a method to check if a task inherited the priority from another
@ -57,5 +57,5 @@ index 90f9124ac027..7134598e3284 100644
* yield - yield the current processor to other threads.
*
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From c330e617b94bbc517da0aaabecfd3b3c007d3e62 Mon Sep 17 00:00:00 2001
From ac962468dfe43f7a986b0c1a71a4a824686afe1c Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:38 +0200
Subject: [PATCH 026/195] softirq: Add function to preempt serving softirqs.
Subject: [PATCH 026/196] softirq: Add function to preempt serving softirqs.
Add a functionality for the softirq handler to preempt its current work
if needed. The softirq core has no particular state. It reads and resets
@ -63,5 +63,5 @@ index c2474cc4fa51..cae0ae2e2b0b 100644
* Invoked from ksoftirqd_run() outside of the interrupt disabled section
* to acquire the per CPU local lock for reentrancy protection.
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 811417a29d37605f932c88499d94379ac8535991 Mon Sep 17 00:00:00 2001
From ae915e145a1a823d3b54adb8b5cda19fa8f8dcde Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 4 Aug 2023 13:30:39 +0200
Subject: [PATCH 027/195] time: Allow to preempt after a callback.
Subject: [PATCH 027/196] time: Allow to preempt after a callback.
The TIMER_SOFTIRQ handler invokes timer callbacks of the expired timers.
Before each invocation the timer_base::lock is dropped. The only lock
@ -48,5 +48,5 @@ index 7cad6fe3c035..b3fbe97d1e34 100644
raw_spin_lock_irq(&base->lock);
}
--
2.43.0
2.43.2

View File

@ -1,131 +0,0 @@
From 681f56a112fc24a97bfdffcef7655e5bf9ffb6e8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:18 +0206
Subject: [PATCH 028/195] serial: core: Provide port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
e.g. getty, termios, are interference points for the kernel console.
So far this has been ignored and the printk output is based on the
principle of hope. The rework of the console infrastructure which aims to
support threaded and atomic consoles, requires to mark sections which
modify the UART registers as unsafe. This allows the atomic write function
to make informed decisions and eventually to restore operational state. It
also allows to prevent the regular UART code from modifying UART registers
while printk output is in progress.
All modifications of UART registers are guarded by the UART port lock,
which provides an obvious synchronization point with the console
infrastructure.
Provide wrapper functions for spin_[un]lock*(port->lock) invocations so
that the console mechanics can be applied later on at a single place and
does not require to copy the same logic all over the drivers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Link: https://lore.kernel.org/r/20230914183831.587273-2-john.ogness@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
include/linux/serial_core.h | 79 +++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index bb6f073bc159..f1d5c0d1568c 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -588,6 +588,85 @@ struct uart_port {
void *private_data; /* generic platform data pointer */
};
+/**
+ * uart_port_lock - Lock the UART port
+ * @up: Pointer to UART port structure
+ */
+static inline void uart_port_lock(struct uart_port *up)
+{
+ spin_lock(&up->lock);
+}
+
+/**
+ * uart_port_lock_irq - Lock the UART port and disable interrupts
+ * @up: Pointer to UART port structure
+ */
+static inline void uart_port_lock_irq(struct uart_port *up)
+{
+ spin_lock_irq(&up->lock);
+}
+
+/**
+ * uart_port_lock_irqsave - Lock the UART port, save and disable interrupts
+ * @up: Pointer to UART port structure
+ * @flags: Pointer to interrupt flags storage
+ */
+static inline void uart_port_lock_irqsave(struct uart_port *up, unsigned long *flags)
+{
+ spin_lock_irqsave(&up->lock, *flags);
+}
+
+/**
+ * uart_port_trylock - Try to lock the UART port
+ * @up: Pointer to UART port structure
+ *
+ * Returns: True if lock was acquired, false otherwise
+ */
+static inline bool uart_port_trylock(struct uart_port *up)
+{
+ return spin_trylock(&up->lock);
+}
+
+/**
+ * uart_port_trylock_irqsave - Try to lock the UART port, save and disable interrupts
+ * @up: Pointer to UART port structure
+ * @flags: Pointer to interrupt flags storage
+ *
+ * Returns: True if lock was acquired, false otherwise
+ */
+static inline bool uart_port_trylock_irqsave(struct uart_port *up, unsigned long *flags)
+{
+ return spin_trylock_irqsave(&up->lock, *flags);
+}
+
+/**
+ * uart_port_unlock - Unlock the UART port
+ * @up: Pointer to UART port structure
+ */
+static inline void uart_port_unlock(struct uart_port *up)
+{
+ spin_unlock(&up->lock);
+}
+
+/**
+ * uart_port_unlock_irq - Unlock the UART port and re-enable interrupts
+ * @up: Pointer to UART port structure
+ */
+static inline void uart_port_unlock_irq(struct uart_port *up)
+{
+ spin_unlock_irq(&up->lock);
+}
+
+/**
+ * uart_port_lock_irqrestore - Unlock the UART port, restore interrupts
+ * @up: Pointer to UART port structure
+ * @flags: The saved interrupt flags for restore
+ */
+static inline void uart_port_unlock_irqrestore(struct uart_port *up, unsigned long flags)
+{
+ spin_unlock_irqrestore(&up->lock, flags);
+}
+
static inline int serial_port_in(struct uart_port *up, int offset)
{
return up->serial_in(up, offset);
--
2.43.0

View File

@ -1,7 +1,7 @@
From e642eaa68ae3692f66e9f8b987f23aebc709e326 Mon Sep 17 00:00:00 2001
From e20fab51907c073d83831b2810d06305e037bdc1 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:19 +0206
Subject: [PATCH 029/195] serial: core: Use lock wrappers
Subject: [PATCH 028/196] serial: core: Use lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -41,10 +41,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index f1d5c0d1568c..3091c62ec37b 100644
index 27a26092493a..f43aca7f3b01 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -1035,14 +1035,14 @@ static inline void uart_unlock_and_check_sysrq(struct uart_port *port)
@@ -1057,14 +1057,14 @@ static inline void uart_unlock_and_check_sysrq(struct uart_port *port)
u8 sysrq_ch;
if (!port->has_sysrq) {
@ -61,7 +61,7 @@ index f1d5c0d1568c..3091c62ec37b 100644
if (sysrq_ch)
handle_sysrq(sysrq_ch);
@@ -1054,14 +1054,14 @@ static inline void uart_unlock_and_check_sysrq_irqrestore(struct uart_port *port
@@ -1076,14 +1076,14 @@ static inline void uart_unlock_and_check_sysrq_irqrestore(struct uart_port *port
u8 sysrq_ch;
if (!port->has_sysrq) {
@ -78,7 +78,7 @@ index f1d5c0d1568c..3091c62ec37b 100644
if (sysrq_ch)
handle_sysrq(sysrq_ch);
@@ -1077,12 +1077,12 @@ static inline int uart_prepare_sysrq_char(struct uart_port *port, u8 ch)
@@ -1099,12 +1099,12 @@ static inline int uart_prepare_sysrq_char(struct uart_port *port, u8 ch)
}
static inline void uart_unlock_and_check_sysrq(struct uart_port *port)
{
@ -94,5 +94,5 @@ index f1d5c0d1568c..3091c62ec37b 100644
#endif /* CONFIG_MAGIC_SYSRQ_SERIAL */
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 5acefbbc9066e05a67448a4ddbf2385cf8caedd5 Mon Sep 17 00:00:00 2001
From 624855d352783d9df2a3de3be77cf25a9a2eace9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:20 +0206
Subject: [PATCH 030/195] serial: 21285: Use port lock wrappers
Subject: [PATCH 029/196] serial: 21285: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -76,5 +76,5 @@ index d756fcc884cb..4de0c975ebdc 100644
static const char *serial21285_type(struct uart_port *port)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From c33a0cbdf0fa230865a8dfdb6470235689178915 Mon Sep 17 00:00:00 2001
From 30550a4dbe3e00fec073ed3f1e5b3302f0df992c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:21 +0206
Subject: [PATCH 031/195] serial: 8250_aspeed_vuart: Use port lock wrappers
Subject: [PATCH 030/196] serial: 8250_aspeed_vuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -62,5 +62,5 @@ index 4a9e71b2dbbc..021949f252f8 100644
lsr = serial_port_in(port, UART_LSR);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 9b3ce8f4924d20af62e1958030c88c035e5664a6 Mon Sep 17 00:00:00 2001
From 3877ad09bffd062add43fc7a2ebac91e13deb790 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:22 +0206
Subject: [PATCH 032/195] serial: 8250_bcm7271: Use port lock wrappers
Subject: [PATCH 031/196] serial: 8250_bcm7271: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -152,5 +152,5 @@ index aa5aff046756..ff0662c68725 100644
return 0;
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 580e52e63f02c9243031af81c819aa0098ba9d75 Mon Sep 17 00:00:00 2001
From 21397e587ef53d219da3aeac88bcc7cbf474852a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:23 +0206
Subject: [PATCH 033/195] serial: 8250: Use port lock wrappers
Subject: [PATCH 032/196] serial: 8250: Use port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -468,5 +468,5 @@ index 141627370aab..5b57254ae975 100644
static unsigned int probe_baud(struct uart_port *port)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 70ceea48d1051ec15b3a8d66f62386b323e12e4e Mon Sep 17 00:00:00 2001
From 93094c1874ab303b8dc1782172f24c10a42cd408 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:24 +0206
Subject: [PATCH 034/195] serial: 8250_dma: Use port lock wrappers
Subject: [PATCH 033/196] serial: 8250_dma: Use port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -81,5 +81,5 @@ index 7fa66501792d..8b30ca8fdd3f 100644
int serial8250_tx_dma(struct uart_8250_port *p)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 5cca2b99cbc7d88d8eeb8087e9130e127c83d385 Mon Sep 17 00:00:00 2001
From 2a6e5944a151a85fbb67a497d67c8a33ee6645d0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:25 +0206
Subject: [PATCH 035/195] serial: 8250_dw: Use port lock wrappers
Subject: [PATCH 034/196] serial: 8250_dw: Use port lock wrappers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -70,5 +70,5 @@ index a1f2259cc9a9..53c284bb271d 100644
if (status & (UART_LSR_DR | UART_LSR_BI)) {
dw8250_writel_ext(p, RZN1_UART_RDMACR, 0);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 6dcc66687c18aa95a2fc928da69a9f68f97b08c2 Mon Sep 17 00:00:00 2001
From 74a615bca2e2128d4ae9b52795a2e60dcaf9c712 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:26 +0206
Subject: [PATCH 036/195] serial: 8250_exar: Use port lock wrappers
Subject: [PATCH 035/196] serial: 8250_exar: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -53,5 +53,5 @@ index 8385be846840..91cf690b7c71 100644
return serial8250_do_startup(port);
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From b7a99e7acecb90b637d07620ed35754c7152004e Mon Sep 17 00:00:00 2001
From d601a7a993aba887c6dc64bb9efc6762d5643780 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:27 +0206
Subject: [PATCH 037/195] serial: 8250_fsl: Use port lock wrappers
Subject: [PATCH 036/196] serial: 8250_fsl: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -64,5 +64,5 @@ index 6af4e1c1210a..f522eb5026c9 100644
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From a91dd09d7fdf4ded721028676a9f5e44a2a754af Mon Sep 17 00:00:00 2001
From ad44b165b3fe2140abff5cab7910d10866706978 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:28 +0206
Subject: [PATCH 038/195] serial: 8250_mtk: Use port lock wrappers
Subject: [PATCH 037/196] serial: 8250_mtk: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -78,5 +78,5 @@ index 74da5676ce67..23457daae8a1 100644
if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 4b82e23b67db0cbe2a97110597d9c97137fd3c5c Mon Sep 17 00:00:00 2001
From 8a7fda3f428f68d7948da5ed9ff9bae4ec9c52a0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:29 +0206
Subject: [PATCH 039/195] serial: 8250_omap: Use port lock wrappers
Subject: [PATCH 038/196] serial: 8250_omap: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -237,5 +237,5 @@ index 346167afe9e1..db5519ce0192 100644
priv->latency = priv->calc_latency;
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From b52d5efa5d1afba0b8e8c56b3fd6af134643a292 Mon Sep 17 00:00:00 2001
From e13e4c41a1cb64f703b8a71a185c4e29fadac5fc Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:30 +0206
Subject: [PATCH 040/195] serial: 8250_pci1xxxx: Use port lock wrappers
Subject: [PATCH 039/196] serial: 8250_pci1xxxx: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -67,5 +67,5 @@ index a3b25779d921..53e238c8cc89 100644
mutex_unlock(&tport->mutex);
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 174bb9e1e1fa3d4ef2c46054621435dbf7a7dc66 Mon Sep 17 00:00:00 2001
From 2d04716961088673b757343a2d075858886fb27c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:31 +0206
Subject: [PATCH 041/195] serial: altera_jtaguart: Use port lock wrappers
Subject: [PATCH 040/196] serial: altera_jtaguart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -134,5 +134,5 @@ index 5fab4c978891..7090b251dd4d 100644
#endif
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 9f6bc0c5b8dabce9436c34fea6a89469b652c41a Mon Sep 17 00:00:00 2001
From db6d50be344aa102ac938287676ab60e9cb2dc39 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:32 +0206
Subject: [PATCH 042/195] serial: altera_uart: Use port lock wrappers
Subject: [PATCH 041/196] serial: altera_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -117,5 +117,5 @@ index a9c41942190c..77835ac68df2 100644
if (port->irq)
free_irq(port->irq, port);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From c3a76ebbc1bc4735df825ef0639312c01bb0e07c Mon Sep 17 00:00:00 2001
From 8504980f6ecdabe092852eac2efaa683011996f9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:33 +0206
Subject: [PATCH 043/195] serial: amba-pl010: Use port lock wrappers
Subject: [PATCH 042/196] serial: amba-pl010: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -113,5 +113,5 @@ index b5a7404cbacb..eabbf8afc9b5 100644
}
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 81e1e4da2b424a5f718ce4cfae82035f8de62531 Mon Sep 17 00:00:00 2001
From 96c7d649adbd0d1dd0b530112b93dcc2bbf1066f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:34 +0206
Subject: [PATCH 044/195] serial: amba-pl011: Use port lock wrappers
Subject: [PATCH 043/196] serial: amba-pl011: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -328,5 +328,5 @@ index cd3913b933c7..aec67d740e44 100644
clk_disable(uap->clk);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 0418ef3fdcdb25846f9cddf7a69ce8c097a483be Mon Sep 17 00:00:00 2001
From ed166a0a00c424b2b9dd29b758500775c1c1a275 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:35 +0206
Subject: [PATCH 045/195] serial: apb: Use port lock wrappers
Subject: [PATCH 044/196] serial: apb: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -77,5 +77,5 @@ index d3cb341f2c55..364599f256db 100644
static const char *apbuart_type(struct uart_port *port)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 44c925a7d696a264d3a2a82719ebf8edb6ed867d Mon Sep 17 00:00:00 2001
From 8777b7deb3069b2747696a2971979eaf11d0d42c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:36 +0206
Subject: [PATCH 046/195] serial: ar933x: Use port lock wrappers
Subject: [PATCH 045/196] serial: ar933x: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -145,5 +145,5 @@ index 924c1a89347c..ffd234673177 100644
local_irq_restore(flags);
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 0898d04709fe45ddfbc0268f1bc4e1d6e7ef2c13 Mon Sep 17 00:00:00 2001
From 58e377ebb1f28e1922aa731d02f8906b0585e8ed Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:37 +0206
Subject: [PATCH 047/195] serial: arc_uart: Use port lock wrappers
Subject: [PATCH 046/196] serial: arc_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -98,5 +98,5 @@ index ad4ae19b6ce3..1aa5b2b49c26 100644
static struct console arc_console = {
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 46a1206089037fef9ea2f392d727c159d1466d61 Mon Sep 17 00:00:00 2001
From ad6ee8430287f4d453bdbe0870c897f3568cb50f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:38 +0206
Subject: [PATCH 048/195] serial: atmel: Use port lock wrappers
Subject: [PATCH 047/196] serial: atmel: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -120,5 +120,5 @@ index 88cdafa5ac54..1946fafc3f3e 100644
}
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 0bce8cca5301c02cad41bebb779749e2ffa36424 Mon Sep 17 00:00:00 2001
From bc56987ad8ef8a8948ba64ffa8302ea324913079 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:39 +0206
Subject: [PATCH 049/195] serial: bcm63xx-uart: Use port lock wrappers
Subject: [PATCH 048/196] serial: bcm63xx-uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -129,5 +129,5 @@ index 0dd8cceb837c..4a08fd5ee61b 100644
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 1d8309a42134af8335590a7b58e24aa6ba8172bc Mon Sep 17 00:00:00 2001
From 664d0c4022312cc8691aa574818f4301e9698f35 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:40 +0206
Subject: [PATCH 050/195] serial: cpm_uart: Use port lock wrappers
Subject: [PATCH 049/196] serial: cpm_uart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -71,5 +71,5 @@ index 626423022d62..be4af6eda4c2 100644
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From ab7a1a85b420f839afe9b6ac94e420c0016f47a7 Mon Sep 17 00:00:00 2001
From 9ae489d6a664bdc487229b8847c4f29a126fb228 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:41 +0206
Subject: [PATCH 051/195] serial: digicolor: Use port lock wrappers
Subject: [PATCH 050/196] serial: digicolor: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -114,5 +114,5 @@ index 128b5479e813..5004125f3045 100644
/* Wait for transmitter to become empty */
do {
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 3579237b515dfb4878cbc1eb1d2313d6b0fb2b7d Mon Sep 17 00:00:00 2001
From 279159191fb892ad19a47abfe969e4cdc19d8ff0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:42 +0206
Subject: [PATCH 052/195] serial: dz: Use port lock wrappers
Subject: [PATCH 051/196] serial: dz: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -162,5 +162,5 @@ index 667f52e83277..6df7af9edc1c 100644
do {
trdy = dz_in(dport, DZ_CSR);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From ab1c17a33ff558e1044149c683ec559daca8b962 Mon Sep 17 00:00:00 2001
From 9ab5733ab07134629faf9863da976517fefa5d2a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:43 +0206
Subject: [PATCH 053/195] serial: linflexuart: Use port lock wrappers
Subject: [PATCH 052/196] serial: linflexuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -144,5 +144,5 @@ index 249cb380c3c6..7fa809a405e8 100644
/*
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From be3a24b837786995c78967d477f7015686b79880 Mon Sep 17 00:00:00 2001
From 46bfa550759cde139a65320e120a534c997d9ac2 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:44 +0206
Subject: [PATCH 054/195] serial: fsl_lpuart: Use port lock wrappers
Subject: [PATCH 053/196] serial: fsl_lpuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -390,5 +390,5 @@ index f72e1340b47d..6d0cfb2e86b4 100644
dmaengine_terminate_sync(sport->dma_tx_chan);
}
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From c05570c9a89bbc1bdcdf29372853012b7f78d8f6 Mon Sep 17 00:00:00 2001
From 09d3a495672166b07e612721a98429bb70bec397 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:45 +0206
Subject: [PATCH 055/195] serial: icom: Use port lock wrappers
Subject: [PATCH 054/196] serial: icom: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -152,5 +152,5 @@ index 819f957b6b84..a75eafbcbea3 100644
static const char *icom_type(struct uart_port *port)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From cc5463fe75395f9912053e3256c5c78f7313c094 Mon Sep 17 00:00:00 2001
From 07d331feb4488de7831ce3f0b4fbc5a211e74663 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:46 +0206
Subject: [PATCH 056/195] serial: imx: Use port lock wrappers
Subject: [PATCH 055/196] serial: imx: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -37,7 +37,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index cd36251ba1c0..4123cb76c324 100644
index 2fbb9b597752..54b760d845c0 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -575,7 +575,7 @@ static void imx_uart_dma_tx_callback(void *data)
@ -268,7 +268,7 @@ index cd36251ba1c0..4123cb76c324 100644
return 0;
}
@@ -2005,9 +2005,9 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count)
@@ -2001,9 +2001,9 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count)
if (sport->port.sysrq)
locked = 0;
else if (oops_in_progress)
@ -280,7 +280,7 @@ index cd36251ba1c0..4123cb76c324 100644
/*
* First, save UCR1/2/3 and then disable interrupts
@@ -2035,7 +2035,7 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count)
@@ -2031,7 +2031,7 @@ imx_uart_console_write(struct console *co, const char *s, unsigned int count)
imx_uart_ucrs_restore(sport, &old_ucr);
if (locked)
@ -289,7 +289,7 @@ index cd36251ba1c0..4123cb76c324 100644
}
/*
@@ -2193,10 +2193,10 @@ static enum hrtimer_restart imx_trigger_start_tx(struct hrtimer *t)
@@ -2189,10 +2189,10 @@ static enum hrtimer_restart imx_trigger_start_tx(struct hrtimer *t)
struct imx_port *sport = container_of(t, struct imx_port, trigger_start_tx);
unsigned long flags;
@ -302,7 +302,7 @@ index cd36251ba1c0..4123cb76c324 100644
return HRTIMER_NORESTART;
}
@@ -2206,10 +2206,10 @@ static enum hrtimer_restart imx_trigger_stop_tx(struct hrtimer *t)
@@ -2202,10 +2202,10 @@ static enum hrtimer_restart imx_trigger_stop_tx(struct hrtimer *t)
struct imx_port *sport = container_of(t, struct imx_port, trigger_stop_tx);
unsigned long flags;
@ -315,7 +315,7 @@ index cd36251ba1c0..4123cb76c324 100644
return HRTIMER_NORESTART;
}
@@ -2476,9 +2476,9 @@ static void imx_uart_restore_context(struct imx_port *sport)
@@ -2472,9 +2472,9 @@ static void imx_uart_restore_context(struct imx_port *sport)
{
unsigned long flags;
@ -327,7 +327,7 @@ index cd36251ba1c0..4123cb76c324 100644
return;
}
@@ -2493,7 +2493,7 @@ static void imx_uart_restore_context(struct imx_port *sport)
@@ -2489,7 +2489,7 @@ static void imx_uart_restore_context(struct imx_port *sport)
imx_uart_writel(sport, sport->saved_reg[2], UCR3);
imx_uart_writel(sport, sport->saved_reg[3], UCR4);
sport->context_saved = false;
@ -336,7 +336,7 @@ index cd36251ba1c0..4123cb76c324 100644
}
static void imx_uart_save_context(struct imx_port *sport)
@@ -2501,7 +2501,7 @@ static void imx_uart_save_context(struct imx_port *sport)
@@ -2497,7 +2497,7 @@ static void imx_uart_save_context(struct imx_port *sport)
unsigned long flags;
/* Save necessary regs */
@ -345,7 +345,7 @@ index cd36251ba1c0..4123cb76c324 100644
sport->saved_reg[0] = imx_uart_readl(sport, UCR1);
sport->saved_reg[1] = imx_uart_readl(sport, UCR2);
sport->saved_reg[2] = imx_uart_readl(sport, UCR3);
@@ -2513,7 +2513,7 @@ static void imx_uart_save_context(struct imx_port *sport)
@@ -2509,7 +2509,7 @@ static void imx_uart_save_context(struct imx_port *sport)
sport->saved_reg[8] = imx_uart_readl(sport, UBMR);
sport->saved_reg[9] = imx_uart_readl(sport, IMX21_UTS);
sport->context_saved = true;
@ -355,5 +355,5 @@ index cd36251ba1c0..4123cb76c324 100644
static void imx_uart_enable_wakeup(struct imx_port *sport, bool on)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 7701e267b929a56a55983404c00d4736ffadb847 Mon Sep 17 00:00:00 2001
From f5e3e9348a0f40d7684f54037e1e29707a9afc6f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:47 +0206
Subject: [PATCH 057/195] serial: ip22zilog: Use port lock wrappers
Subject: [PATCH 056/196] serial: ip22zilog: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -186,5 +186,5 @@ index 845ff706bc59..320b29cd4683 100644
if (options)
uart_parse_options(options, &baud, &parity, &bits, &flow);
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From 05c4ac5f565e1ee2b28fe1c1d1fa490d7fa6b766 Mon Sep 17 00:00:00 2001
From 2d16a8c5689cf2e2249a8011b795e1d0abab80af Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:48 +0206
Subject: [PATCH 058/195] serial: jsm: Use port lock wrappers
Subject: [PATCH 057/196] serial: jsm: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -127,5 +127,5 @@ index 222afc270c88..ce0fef7e2c66 100644
static const char *jsm_tty_type(struct uart_port *port)
--
2.43.0
2.43.2

View File

@ -1,7 +1,7 @@
From f874ed9f1662ee8fabfebd26a21932420fe8519b Mon Sep 17 00:00:00 2001
From 51106ea475766f95499f66c81695ba0ba2844023 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Sep 2023 20:43:49 +0206
Subject: [PATCH 059/195] serial: liteuart: Use port lock wrappers
Subject: [PATCH 058/196] serial: liteuart: Use port lock wrappers
When a serial port is used for kernel console output, then all
modifications to the UART registers which are done from other contexts,
@ -111,5 +111,5 @@ index d881cdd2a58f..a25ab1efe38f 100644
static int liteuart_console_setup(struct console *co, char *options)
--
2.43.0
2.43.2

Some files were not shown because too many files have changed in this diff Show More