[d-kernel] Ядро 5.19-rc5 с поддержкой СнК Байкал-М и патчами ALT

Alexey Sheplyakov asheplyakov на basealt.ru
Вт Июл 5 20:15:39 MSK 2022


Здравствуйте!

Собственно subj. Перенёс ALT'овые патчи из 5.18.y (aka un-def),
добавил патчи для поддержки СнК Байкал-М.
Протестировал на 
* плате TF-307 (ревизии 1.4 aka 'D') с прошивкой на основе SDK-M 5.3
* плате Rhodeola (ревизию опознать не удалось) с прошивкой на основе SDK-M 5.5

Грузится и делает вид, что работает.

Доступно здесь:

git+ssh://gitery.altlinux.org/people/asheplyakov/packages/linux.git altlinux
https://github.com/asheplyakov/linux.git altlinux
https://github.com/altlinux/linux-arm.git altlinux

Замечу, что spec, gear, и проч. отсутствуют -- я использую эту ветку для
разработки, а не для сборки пакетов.
 
$ git log --pretty='%h %s' --reverse torvalds/master..HEAD

84ff3fcc4d37 AltHa LSM module
c2112e58e4b0 Documentation for AltHa LSM
0a21d7b582ce kiosk: implement kiosk module
90bb466eeb66 AltHa: handle setcap binaries in the same way as setuid ones
878d6115e5aa AltHa: add tests
219320b0179a Add ability to disable idmapped mounts
e4abe3c5cecd pci: Enable overrides for missing ACS capabilities (5.6.9+)
373fcfa29020 kmod: pass -b option to /sbin/modprobe (by ldv@)
d837e58ffa26 get_arg_page: limit argv+env strings size for AT_SECURE programs
f93506c30e3e proc: restrict access to /proc/interrupts
95c18d0d0a5f sysctl: allow CLONE_NEWUSER to be disabled
f98e4e66048f kernel/user_namespace.c: enable CLONE_NEWUSER restriction by default
d517b320b027 Add support for debian-specific kernel.unprivileged_userns_clone parameter
33b682dd638a UBUNTU: SAUCE: security,perf: Allow further restriction of perf_event_open
66680ba17c63 clk: added Baikal-M clock management unit driver
12c8deb6d4a9 cpufreq-dt: don't load on Baikal-M SoC
669f9a8ba10d serial: 8250_dw: verify clock rate in dw8250_set_termios
c0506c557f77 usb: dwc3: of-simple: added compatible string for Baikal-M SoC
b6622320d3c3 dw-pcie: refuse to load on Baikal-M with recent firmware
3272d250842f arm64: Enable armv8 based Baikal-M SoC support
c59cea6811f3 efi-rtc: avoid calling efi.get_time on Baikal-M SoC
0d9cbc51d086 arm64-stub: fixed secondary cores boot on Baikal-M SoC
c20495606f97 pm: disable all sleep states on Baikal-M based boards
a29627dcfb8a net: fwnode_get_phy_id: consider all compatible strings
61cb3d2db624 net: stmmac: inital support of Baikal-T1/M SoCs GMAC
a0388f1e14d4 dt-bindings: dwmac: Add bindings for Baikal-T1/M SoCs
1481488bc7d0 net: stmmac: custom mdio reset for some Baikal-M boards
719b85a47862 net: dwmac-baikal: added compatible strings...
6ba994004316 Added TF307/TF306 board management controller driver
592f9ce3a7ee hwmon: bt1-pvt: access registers via pvt_{readl,writel} helpers
2267a836b73b hwmon: bt1-pvt: define pvt_readl/pvt_writel for Baikal-M SoC
131f0999472c hwmon: bt1-pvt: adjusted probing for Baikal-M SoC
f19db2ddbf5d hwmon: bt1-pvt: added compatible baikal,pvt
e808a4e04e6d drm: new bridge driver - stdp4028
a13211aa7fe4 drm: added Baikal-M SoC video display unit driver
ab50c998642c drm/bridge: dw-hdmi: support ahb audio hw revision 0x2a
b4bf181f3177 dt-bindings: dw-hdmi: added ahb-audio-regshift
e6963e87e105 drm/bridge: dw-hdmi: force ahb audio register offset for Baikal-M
05440ab0e88e drm/panfrost: forcibly set dma-coherent on Baikal-M
075d466ffd44 drm/panfrost: disable devfreq on Baikal-M
3f0d5fd43927 ALSA: hda: Baikal-M support
98089beb340d Added PCI-E driver for Baikal-M with SDK-M 5.5 firmware
2dead2f774d5 (BROKEN) dwc-i2s: support Baikal-M SoC
97d2c3c22ac9 input: added TF307 serio PS/2 emulator driver
2476405b394e arm64: defconfig for Baikal-M testing
5d94094f0eac Added configs based on kernel-image-un-def-5.18.8-alt1
a5445d25ec94 config-local: adjust ALT Linux' kernel config


$ git diff torvalds/master.. | diffstat -p1
 Documentation/admin-guide/LSM/AltHa.rst                                |  101 
 Documentation/admin-guide/LSM/index.rst                                |    1 
 Documentation/admin-guide/kernel-parameters.txt                        |    8 
 Documentation/admin-guide/sysctl/kernel.rst                            |   16 
 Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml |    7 
 Documentation/devicetree/bindings/net/snps,dwmac.yaml                  |    1 
 arch/arm64/Kconfig.platforms                                           |   13 
 arch/arm64/configs/baikal_minimal_defconfig                            | 5219 ++++
 config                                                                 |10691 ++++++++++
 config-aarch64                                                         | 1594 +
 config-armh                                                            | 2390 ++
 config-i586                                                            |   51 
 config-local                                                           |   26 
 config-ppc64le                                                         |  463 
 config-x86_64                                                          |    1 
 drivers/clk/Makefile                                                   |    1 
 drivers/clk/baikal-m/Makefile                                          |    1 
 drivers/clk/baikal-m/clk-baikal.c                                      |  355 
 drivers/cpufreq/cpufreq-dt-platdev.c                                   |    2 
 drivers/firmware/efi/libstub/arm64-stub.c                              |   61 
 drivers/gpu/drm/Kconfig                                                |    1 
 drivers/gpu/drm/Makefile                                               |    1 
 drivers/gpu/drm/baikal/Kconfig                                         |   15 
 drivers/gpu/drm/baikal/Makefile                                        |   10 
 drivers/gpu/drm/baikal/baikal-hdmi.c                                   |  119 
 drivers/gpu/drm/baikal/baikal_vdu_connector.c                          |  118 
 drivers/gpu/drm/baikal/baikal_vdu_crtc.c                               |  345 
 drivers/gpu/drm/baikal/baikal_vdu_debugfs.c                            |   87 
 drivers/gpu/drm/baikal/baikal_vdu_drm.h                                |   65 
 drivers/gpu/drm/baikal/baikal_vdu_drv.c                                |  364 
 drivers/gpu/drm/baikal/baikal_vdu_plane.c                              |  209 
 drivers/gpu/drm/baikal/baikal_vdu_regs.h                               |  139 
 drivers/gpu/drm/bridge/Kconfig                                         |   15 
 drivers/gpu/drm/bridge/Makefile                                        |    1 
 drivers/gpu/drm/bridge/stdp4028.c                                      |  486 
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c                    |  106 
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h                        |    1 
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c                              |   10 
 drivers/gpu/drm/panfrost/panfrost_devfreq.c                            |    4 
 drivers/gpu/drm/panfrost/panfrost_drv.c                                |    4 
 drivers/hwmon/Kconfig                                                  |    5 
 drivers/hwmon/bt1-pvt.c                                                |  140 
 drivers/hwmon/bt1-pvt.h                                                |    8 
 drivers/input/serio/Kconfig                                            |   10 
 drivers/input/serio/Makefile                                           |    1 
 drivers/input/serio/tp_serio.c                                         |  748 
 drivers/misc/Kconfig                                                   |   18 
 drivers/misc/Makefile                                                  |    1 
 drivers/misc/tp_bmc.c                                                  |  747 
 drivers/net/ethernet/stmicro/stmmac/Kconfig                            |   11 
 drivers/net/ethernet/stmicro/stmmac/Makefile                           |    1 
 drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c                     |  216 
 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c                   |    1 
 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c                    |   46 
 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.h                    |   26 
 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c                        |    8 
 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c                      |   63 
 drivers/net/phy/phy_device.c                                           |   41 
 drivers/pci/controller/dwc/Kconfig                                     |   12 
 drivers/pci/controller/dwc/Makefile                                    |    1 
 drivers/pci/controller/dwc/pcie-baikal.c                               |  740 
 drivers/pci/controller/dwc/pcie-designware-plat.c                      |    5 
 drivers/pci/quirks.c                                                   |  102 
 drivers/rtc/rtc-efi.c                                                  |    9 
 drivers/tty/serial/8250/8250_dw.c                                      |    5 
 drivers/usb/dwc3/dwc3-of-simple.c                                      |    2 
 fs/Kconfig                                                             |    7 
 fs/exec.c                                                              |   30 
 fs/namespace.c                                                         |   11 
 fs/proc/interrupts.c                                                   |    2 
 include/linux/perf_event.h                                             |    6 
 kernel/events/core.c                                                   |    8 
 kernel/kmod.c                                                          |   11 
 kernel/power/suspend.c                                                 |   12 
 kernel/sysctl.c                                                        |   66 
 kernel/user_namespace.c                                                |    8 
 security/Kconfig                                                       |   14 
 security/Makefile                                                      |    2 
 security/altha/Kconfig                                                 |   11 
 security/altha/Makefile                                                |    3 
 security/altha/altha-test.sh                                           |  114 
 security/altha/altha_lsm.c                                             |  382 
 security/kiosk/Kconfig                                                 |    9 
 security/kiosk/Makefile                                                |    3 
 security/kiosk/kiosk-test.sh                                           |  252 
 security/kiosk/kiosk_lsm.c                                             |  337 
 sound/hda/hdac_controller.c                                            |   19 
 sound/pci/hda/Kconfig                                                  |   14 
 sound/pci/hda/Makefile                                                 |    2 
 sound/pci/hda/hda_baikal.c                                             |  525 
 sound/pci/hda/hda_controller.c                                         |   19 
 sound/soc/dwc/dwc-i2s.c                                                |   36 
 sound/soc/dwc/local.h                                                  |    1 
 93 files changed, 27839 insertions(+), 134 deletions(-)




Подробная информация о списке рассылки devel-kernel