Linux 5.15 LTS – กับการเปลี่ยนแปลงที่โดดเด่น,สถาปัตยกรรม Arm, RISC-V และ MIPS

Linus Torvalds เพิ่งประกาศเปิดตัว Linux 5.15 ซึ่งเป็นเวอร์ชัน LTS เมื่อวันอาทิตย์ที่ผ่านมา :

มันเงียบสงบและฉันไม่มีข้อแก้ตัวที่จะเพิ่ม rc ดังนั้นเรามาถึงแล้ว โดยที่ v5.15 ถูกผลักออกไป และ Merge Window จะเริ่มในวันพรุ่งนี้

ซึ่งฉันค่อนข้างไม่สะดวกนะ เนื่องจากฉันจะมีการเดินทางไปการประชุมที่กำลังจะมาถึง แต่มันแค่ 2-3 วัน และฉันจะเอาแล็ปท็อปติดตัวไปด้วย บางครั้งเวลาปล่อยก็ใช้ได้ แต่บางครั้งก็ไม่…

อย่างไรก็ตาม ในสัปดาห์สุดท้ายของ 5.15 นั้นส่วนใหญ่เป็นเรื่องของเครือข่ายและการแก้ไข gpu , ด้วยการสุ่มแบบโปรยปรายของอย่างอื่น (เช่น การคืนค่า btrfs สองสามรายการ ,การอัปเดต kvm บางส่วน, การแก้ไขเล็กน้อยที่นี่และที่นั่น – การแก้ไขสถาปัตยกรรมสองสามรายการ, การติดตามสองสามรายการ, การแก้ไขไดรเวอร์เล็กน้อย เป็นต้น)

รุ่นนี้อาจเริ่มต้นด้วยบางส่วน – ความผิดพลาที่เจ็บปวด, แต่ก็เงียบสงบลงอย่างรวดเร็วและใน 5.15 ทั้งหมดนั้นค่อนข้างเล็กและเงียบสงบ หวังว่าคราวนี้จะเหมือนเดิมมากขึ้น โดยไม่มีปัญหความผิดพลาด สำหรับ merge window ที่กำลังจะมีขึ้น

Linus

Linux 5.14 เปิดตัวเมื่อประมาณสองเดือนที่แล้ว ได้เพิ่มการรองรับสำหรับคอมพิวเตอร์คีย์บอร์ดRaspberry Pi 400 รวมฟังก์ชันการตั้งเวลาหลัก, ลบไดรเวอร์บล็อก IDE เก่า, ปรับปรุงการรองรับโปรเซสเซอร์ Intel Alder Lake และอื่นๆ

Linux-5.15-release

Linux 5.15 จะเป็นเคอร์เนล LTS ที่ได้รับการสนับสนุนระยะยาวอย่างน้อย 2 ปี และอาจมากกว่านั้น หากบริษัทต่างๆ ใช้เคอร์เนลใหม่และขอระยะเวลาการสนับสนุนที่นานขึ้นถึง 6 ปี เช่น Linux 5.10หรือLinux 5.4 เป็นต้น

Linux-5.15-LTS

การเปลี่ยนแปลงที่โดดเด่นบางประการสำหรับ Linux 5.15 ได้แก่:

  • การนำระบบไฟล์ NTFS ไปใช้ใหม่ ที่จัดจำหน่ายโดย Paragon Software พร้อมรองรับการอ่าน/เขียน ซึ่งช่วยลดความจำเป็นในการใช้ Userspace ntfs-3gเพื่อรองรับการเขียน การใช้งานปัจจุบันรองรับระบบไฟล์ NTFS เวอร์ชันสูงสุด 3.1, ไฟล์ปกติ/บีบอัด/เบา และการเล่นซ้ำของเจอร์นัล พร้อมคุณสมบัติเพิ่มเติมที่จะมาในอนาคต
  • ksmbd ในเคอร์เนล SMB 3 เซิร์ฟเวอร์ที่ควรมอบประสิทธิภาพที่ดีที่สุดและการจัดการสัญญาเช่าที่ดีขึ้น (การแคชแบบกระจาย) ไม่ได้หมายถึงการแทนที่ Samba ซึ่งมีชุดคุณลักษณะและเครื่องมือที่ครอบคลุมมากขึ้น
  • DAMON (Data Access MONitor) เป็นกลไกขนาดเล็กในการตรวจสอบรูปแบบการเข้าถึงหน่วยความจำของกระบวนการพื้นที่ผู้ใช้เฉพาะ มันสามารถบอกคุณได้ว่าหน่วยความจำส่วนใดของกระบวนการที่มีการเข้าถึงอยู่ตลอดเวลา และส่วนใดที่ไม่ได้ใช้ สามารถใช้กับเครื่องมือพื้นที่ผู้ใช้ damoเพื่อตรวจสอบหน่วยความจำของโปรแกรมของคุณ ดูบทความ LWNสำหรับข้อมูลเพิ่มเติม
  • รหัสล็อคการขอสงวนสิทธิ์ตามเวลาแบบ Real-time มีการผสาน – เมื่อเปิดใช้งาน PREEMPT_RT mutex, ww_mutex, rw_semaphore, spinlock และ rwlock primitives จะถูกแทนที่ด้วยตัวแปรตาม RT-Mutex ดูบันทึกการรวมสำหรับรายละเอียด

การอัปเดตสถาปัตยกรรม Armใน Linux 5.15

  • Allwinner
    • A83t USB OHCI/EHCI documented
  • Rockchip
    • PCIe – Rockchip DesignWare PCIe controller driver for RK356X host controller
    • Pinctrl – major refactoring of the Rockchip driver, breaking part of it out
      to a separate GPIO driver in drivers/gpio
    • Rockchip i/o domain support
    • Handro driver
      • Gained support for H.264 for Rockchip VDPU2 decoder
      • Added support for Rockchip PX30
    • ASoC – Rockchip RK3568 S/PDIF support
    • gpu mali-bifrost – Add RK3568 compatible string for RK3568’s Bifrost Mali-G52 GPU
  • Amlogic
    • Added driver for Amlogic Meson IR transmitter (aka IR blaster)
    • PHY driver – Updates for Amlogic Meson8b-usb2 phy
    • ARM device tree changes:
      • meson8: use a default higher default GPU clock to solve probe failure
      • meson: add AIU audio controller and codec for ec100
      • meson8b: fix PWM regulator supply property name
    • Linux 5.15 ARM64 device tree changes:
      • nanoki-k2: enable bluetooth
      • Kkhadas VIM & VIM2: improve wifi
      • add audio to nodes vega-s95, nexbox-a1
    • ARM config changes – Enable CONFIG_MMC_MESON_MX_SDHC controller used on meson8/8b
  • Samsung
    • Pinctrl – Support for Samsung Exynos850 SoC (Exynos3830), minor fix
    • PHY – Updates for Amlogic Meson8b-usb2 phy, Samsung ufs phy
    • DTS ARM changes for Linux 5.15 – Add CPU topology and cache information to Exynos DTSI files.
    • DTS ARM64 changes
      • Add CPU topology and cache information to Exynos DTSI files.
      • Correct GIC CPU interfaces address range on Exynos7.
  • Qualcomm
    • Added support for Qualcomm Snapdragon SDM636 and SM8150
    • Pinctrl
      • New subdriver for Qualcomm MDM9607 and SM6115
      • Support for Qualcomm PMC8180, PMC8180C, SA8155p-adp PMIC GPIO
    • PHY
      • UFS PHY for Qualcomm SM6115
      • PCIe & USB/DP PHY for Qualcomm sc8180x
      • USB3 PHY support for Qualcomm IPQ6018
    • IPQ6018 gains USB2 and PCIe
    • IPQ8074 gains SCM, PRNG and Crypto support
    • SC7180 – DisplayPort support
    • ARM64 defconfig update – enabled the MSM8996 CPU clock driver, enabling CPUfreq on the platform.
    • DTS updates for Linux 5.15
      • MSM8974 gains another UART for Bluetooth (on the Sony Xperia Z2 Tablet)
      • Samsung Galaxy S5 gains regulator definitions for audio and modem remoteprocs
      • DSI clocks on APQ8064 are updated as the old legacy clock names are no longer supported by the driver
      • IPQ806x GMAC nodes gains AHB resets wired up.
      • APQ8060 is converted to a SPDX header and the ethernet node is updated in accordance with the binding.
    • New devices & boards
      • Snapdragon 665 based Sony Xperia 10II
      • Snapdragon MSM8916 based Xiaomi Redmi 2
      • Snapdragon MSM8226 based Samsung Galaxy S3 Neo
  • MediaTek
    • Power management – New cpufreq driver for the MediaTek MT6779 platform called
      mediatek-hw along with corresponding DT bindings
    • PCIe controller driver – Add MT7629 support in DT
  • Other new Arm hardware platforms and SoCs
    • ASpeed – AST2600 BMC implementations for Facebook Cloudripper, Elbert and Fuji server boards.
    • Marvell – CN913x reference boards
    • Microchip – SAMA7 Cortex-A7 SoC family based on the older SAMA5 series.
    • NXP
      • i.MX  6 – DHCOM PicoITX, DHSOM DRC0ỉ, SolidRun SolidSense, SKOV i.MX6 boards.
      • i.MX 8/8M – Nitrogen8 SoM and MNT Reform2, LS1088A based Traverse Ten64, Gatewaors Venice GW7902 SBC.
    • NVIDIA – Jetson TX2 NX Developer Kit
    • Renesas – R-Car H3e-2G and M3e-2G SoCs
    • ST-Ericsson – ux500 based Samsung phones: Gavini, Codina, and Kyle
    • STMicro – 4KOpen STiH418-b2264 development board
    • Texas Instruments – AM335x based Sancloud BBE Lite

บันทึกการเปลี่ยนแปลง RISC-V ใน Linux 5.15

การอัปเดต RISC-V ที่แสดงอยู่ใน Linux 5.15:

  • Support PC-relative instructions (auipc and branches) in kprobes
  • Support for forced IRQ threading
  • Support for the hlt/nohlt kernel command line options, via the generic idle loop
  • Show the edge/level triggered behavior of interrupts in /proc/interrupts
  • Handful of cleanups to our address mapping mechanisms
  • Support for allocating gigantic hugepages via CMA, hugepage migration
  • Support for the undefined behavior sanitizer (UBSAN)
  • Handful of cleanups to the VDSO that allow the kernel to build with LLD.
  • A pair of defconfig additions for NVMe and the EFI filesystem localization options.
  • A larger address space for stack randomization.
  • A cleanup to our install rules.
  • A DTS update for the Microchip Icicle board to fix the serial console.

การอัปเดต MIPS

ไม่น่าแปลกใจที่งานพัฒนา MIPS เกือบจะหยุดชะงักใน Linux 5.15 โดยมีการเปลี่ยนแปลงเล็กน้อย:

  • Converted Pistachio platform to use MIPS generic kernel
  • Fixes and cleanups

เคยมีผลงานของ Loongson ในการเผยแพร่ล่าสุด แต่ดูเหมือนว่าพวกเขาจะเปลี่ยนโฟกัสไปที่LoongArch แทน MIPS/se:

เรากำลังเตรียมเพิ่มการรองรับ Loongson ใหม่ (อิงจาก LoongArch ไม่ใช่ MIPS) LoongArch ใช้ ACPI อื่นที่ไม่ใช่ DT เป็นโปรโตคอลการบูต ดังนั้นให้เพิ่มการรองรับสำหรับ ACPI_PROCESSOR/ACPI_NUMA

คุณยังสามารถดูบันทึก การเปลี่ยนแปลง Linux 5.15  ฉบับสมบูรณ์ได้ พร้อความคิดเห็นเท่านั้น ซึ่งสร้างขึ้นด้วยคำสั่งgit log v5.14..v5.15 --stat คุณจะเห็นบันทึกการอัปเดตที่สมบูรณ์ยิ่งขึ้นบนเว็บไซต์ Linux 5.15 การเปลี่ยนแปลงบนเว็บไซต์ KernelNewbies

แปลจากบทความภาษาอังกฤษ : Linux 5.15 LTS release – Main Changes, Arm, RISC-V and MIPS architectures

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
โฆษณา