Tags give the ability to mark specific points in history as being important
-
orange-pi-5.11-20210412-0042
979e3105 · ·Release: orange-pi-5.11-20210412-0042 NEWS ==== See also: - https://xnux.eu/log/ - https://xnux.eu/devices/pine64-pinephone.html - https://xff.cz/kernels/ 2021-04-12: - pulled in v5.11.13 2021-04-09: - pulled in v5.11.12 2021-03-30: - pulled in v5.11.11 2021-03-25: - pulled in v5.11.10 2021-03-24: - pulled in v5.11.9 2021-03-22: - pulled in v5.11.8 2021-03-14: - enable interrupt on battery capacity low (wakeup the phone and notify power supply change, for userspace to gracefully handle this condition) 2021-03-11: - pulled in v5.11.6 2021-03-09: - pulled in v5.11.5 2021-03-08: - pulled in v5.11.4 2021-03-04: - pulled in v5.11.3 2021-02-26: - pulled in v5.11.2 2021-02-20: - fix an7688 compilation on 32-bit ARM 2021-02-19: - added support for wake over wireless LAN (WoWLAN) - howto is in the commit 2021-02-18: - added USB_QUIRK_RESET for EG25G modem (https://gitlab.com/mobian1/devices/eg25-manager/-/merge_requests/5) 2021-02-15: - rebased on v5.11 final - fixed anx7688 fw flashing timeout - added Samuel's patches: - allow to use RTC wakeup when powered off - NVMEM driver for RTC data registers - pulled in some fixes from linux-next into fixes-5.11 - disable MMC runtime PM again (causes issues on H5/H6 https://megous.com/dl/tmp/1eec9b1c7f03ad93.png) - used nvmem reboot driver (suggested by Samuel in RFC patch) for rebooting to FEL, eMMC bootloader, various p-boot boot configs on either eMMC or SD card's bootfs filesystems, boot menu, etc. via reboot() syscall with extra arg (see LINUX_REBOOT_CMD_RESTART2) (p-boot is also updated to support this mechanism, as of 2021-02-15) 2021-02-08: - rebased on 5.11-rc7 2021-02-04: - rebased on linus/master 2021-01-30: - rebased on linus/master 2021-01-27: - tested on all my boards - make HDMI audio sound card initializa again on H3/H5 - fix rebase regression in stmmac driver that broke ethernet on PC 2 2021-01-25: - rebased on top of v5.11-rc5 - fix 8723cs bluetooth DT to load pinephone BT config file correctly (add -pinephone postfix) - fix a bunch of ASoC debugfs/bt-soc errors - remove some noisy logging - move mmc# aliases to SoC DT files to cover more boards - added gc2145 BGGR bayer mode patch (makes this kernel work with megapixels) - update Samuel's patches for irq-wakeup to v5 2021-01-12: - rebased on top of v5.11-rc3+ - update Samuel's patches (stmmac, i2c-pm, irq-wakeup) 2021-01-02: - rebased on top of v5.11-rc1+ 2020-12-14: - rebased on top of v5.10 - added patch to chnage Vbus hold voltage to 4.5V on Pinephone (this makes PD charging more stable) 2020-12-11: - rebased on top of linus/master 2020-12-07: - rebased on top of 5.10-rc7 2020-12-05: - modem power driver: add more powerup modes and change interface for dumb and fastboot powerup - you can now write 2, 3 or 4 to .../powered sysfs file to select differnt powerup mode from the normal one (1) - this is useful for selecting alternate userspace configurations early in boot to allow tracing the userspace processes from early on for reverse engineering, and in the near future, it will be used to switch between original and fully-FOSS userspace code running on the modem's APPS CPU on powerup - see https://xnux.eu/log/#028 2020-12-02: - fix WiFi blocking suspend - improve modem power driver interaction with kernel's autosleep - shorten resume times from 1.2s to 400ms (wifi driver optimization) 2020-11-30: - I improved the anx7688 driver to actually respect PD capabilities of the source, and don't overload it. This should make it more likely to work with the USB-C docks when docks are powered. - Pine64 dock can provide either 500mA when powered from regular USB-A charger (regardless of what kind of charger it is, it can't use more current from it) - With my 3A PD charger, Pine64 dock will advertise 2600mA and Pinephone will now respect this limit. - rebase on linus/master (5.10-rc6 atm) - increase I2C clock for sensors and touchscreen/anx7688 from 100kHz to 400kHz - added patch from https://patchwork.kernel.org/project/dri-devel/cover/20200222024210.18697-1-yuq825@gmail.com/#23237865 for easier GPU debugging (suggested by bshah) 2020-11-28: - rebased on linus/master - replaced my 60FPS fix with a more mainlineable and better working solution from Roman Beranek - disable 8723cs CONCURRENT_MODE, enable wifi 802.11z TDLS 2020-11-25: - enable wifi power saving mode (saves 350mW in idle, and doesn't seem to break the wifi so far) 2020-11-25: - added a new 2020-10 wifi driver and cleaned up to work with PinePhone - see wifi-5.10 branch - rebased on linus/master 2020-11-23: - rebased, added modem power blocking mode (p-boot privacy support) 2020-11-17: - drop ov5640 AF patch 2020-11-17: - rebase on linux/master - fix camera probe 2020-11-15: - rebase on linux/master - add "retain LED state in sleep" patch 2020-11-13: - fix boot failure on pocketbook (see https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg46288.html) 2020-11-13: - rebase on top of 5.10-rc3+ - update defconfigs 2020-11-10: - rebase on top of 5.10-rc3 2020-11-01: - added some musb suspend/resume fixes - fixed regulator probe on a711 - fix mmc device numbering - rebase on top of 5.10-rc2 2020-10-31: - rebased on top of 5.10-rc1+ - added ov5640 autofocus support from Martijn Braam (you'll need /lib/firmware/ov5640_af.bin) - added fix for DSI panel 36.6 FPS issue (myself) - import upstreamed variant of audio patches from Samuel 2020-10-25: - rebased on top of 5.10-rc1 2020-10-19: - fix orange pi 3 ethernet 2020-10-12: - fix issue with dsi clock described here: https://xnux.eu/log/#021 - rebase on v5.9 final - integrate pinetab panel patches from (untested) https://gitlab.com/pine64-org/linux/-/commits/pine64-kernel-5.7.y-pinetabpanel/ 2020-09-29: - add a few more codec API fixes from Samuel 2020-09-28: - rebase on top of 5.9-rc7 - integrated the newest audio patches from Samuel 2020-09-23: - port battery thermal regulation fix from p-boot (completely untested, see https://xnux.eu/log/#018) 2020-09-18: - cedrus panic fix - rebase on linus/master 2020-09-17: - further modem driver improvements (fix urc setting on old modem firmwares) 2020-09-13: - rebase on top of 5.9-rc5 2020-09-12: - rebase on top of 5.9-rc4+ 2020-09-10: - rebase on top of 5.9-rc4+ - further fixes for the modem driver poweron, support for fast poweroff feature present on new modem firmware - added flash DT changes - add mounting matrix and a kernel command line option to override it (ignore_mount_matrix) - https://xff.cz/kernels also contains special kernel builds for my multi-dist image (see https://xnux.eu/log/) - enabled opportunistic sleep - enabled btrfs support 2020-09-01: - rebase on top of 5.9-rc3 2020-08-19: - rebase and port to 5.9-rc1 - fix various issues with 5.9-rc1 - fix sleeps in atomic context in anx7688 driver - dropped panfrost dvfs patches for now (conflicts, stability issues) - fix modem UART issues on powerup (sometimes not receiving RDY, etc.) - root cause was host UART locking up due to noise on RX, and the fix is to only open UART port when the modem is powered 2020-08-11: - fix sun50i-codec-analog probe failure when built-in 2020-08-09: - pull in codec changes from Samuel - don't wait for RDY but poll with empty AT command for the modem's status 2020-08-06: - added Samuel's patch for making recording from the codec work again 2020-08-05: - modem driver fixes for BH 2020-08-03: - fixed AC100 driver to make it work without mod clock 2020-08-02: - integrated latest Samuel's audio patches + rebased my AC100 support on top - finished the modem-power driver into a hopefully useable state 2020-07-25: - rebased on top of 5.8-rc7+ - fixed modem driver issue with not shutting down the modem on poweroff/reset on PinePhone (introduced during modem driver rewrite around 5.8-rc5) - worked around AXP reseting input current limit to 500mA regardless of BC detection being disabled (happened on boot with USB-C cable connected to USB-C PD charger) (and reverted again) - improved modem driver - initialize the modem configuration for proper sleep - setup QDAI automatically from DTS - show modem firmware version in dmesg - added rfkill interface - handle URC caching during suspend 2020-07-16: - added HP jack detection patches from A-wai 2020-07-14: - added support for Pinebook Pro - fix issue in my bl_pwm PinePhone patch that broke Pinebook Pro's backlight 2020-07-13: - rebased on top of 5.8-rc5 - improved HW led trigger API - more modem-power work (change to serdev, recv messages from the modem) - support HDMI audio on PinePhone - bump PD power requirement to 15W on PinePhone 2020-07-08: - refactoring of the modem driver, moved to modem-5.8 branch (not finished yet, see TODO in the driver) - update pinephone 1.0-1.2 dts to reflect the differences in modem setup - enable orange pi 3 hdmi audio 2020-07-06: - rebased on top of 5.8-rc4 2020-07-05: - Added fixes for PinePhone panel initialization after resume from sleep 2020-07-04: - Integrated Clément's HDMI audio series (20200704113902.336911-1-peron.clem@gmail.com) - Integrated Clément's panfrost DVFS series (20200704102535.189647-1-peron.clem@gmail.com) My kernel's main integration branch is 'orange-pi-$VER' (this one). No other branch is supposed to work alone. My defconfigs are tested and work on the boards I support. Read the README.md for more info. Only my branches based on the current mainline kernel branch are maintained (those are usually the -rc# kernels!). You can find the current mainline version here https://www.kernel.org/ (mainline: ...) My prebuilt kernels can be found at https://xff.cz/kernels/ You can use them to test that your board works, or just run them without bothering with building everything yourself. I run them on all my boards. My website is https://xnux.eu and may contain useful advice. Good luck! ~megi -
xfs-5.13-merge-2
e7a3d7e7 · ·New code for 5.13: - Various minor fixes in online scrub. - Prevent metadata files from being automatically inactivated. - Validate btree heights by the computed per-btree limits. - Don't warn about remounting with deprecated mount options. - Initialize attr forks at create time if we suspect we're going to need to store them. - Reduce memory reallocation workouts in the logging code. - Fix some theoretical math calculation errors in logged buffers that span multiple discontig memory ranges but contiguous ondisk regions. - Speedups in dirty buffer bitmap handling. - Make type verifier functions more inline-happy to reduce overhead. - Reduce debug overhead in directory checking code. - Many many typo fixes. - Begin to handle the permanent loss of the very end of a filesystem. - Fold struct xfs_icdinode into xfs_inode. - Deprecate the long defunct BMV_IF_NO_DMAPI_READ from the bmapx ioctl. - Remove a broken directory block format check from online scrub. - Fix a bug where we could produce an unnecessarily tall data fork btree when creating an attr fork. - Fix scrub and readonly remounts racing. - Fix a writeback ioend log deadlock problem by dropping the behavior where we could preallocate a setfilesize transaction. - Fix some bugs in the new extent count checking code. - Fix some bugs in the attr fork preallocation code.
-
orange-pi-5.11-20210409-1624
030e7a46 · ·Release: orange-pi-5.11-20210409-1624 NEWS ==== See also: - https://xnux.eu/log/ - https://xnux.eu/devices/pine64-pinephone.html - https://xff.cz/kernels/ 2021-04-09: - pulled in v5.11.12 2021-03-30: - pulled in v5.11.11 2021-03-25: - pulled in v5.11.10 2021-03-24: - pulled in v5.11.9 2021-03-22: - pulled in v5.11.8 2021-03-14: - enable interrupt on battery capacity low (wakeup the phone and notify power supply change, for userspace to gracefully handle this condition) 2021-03-11: - pulled in v5.11.6 2021-03-09: - pulled in v5.11.5 2021-03-08: - pulled in v5.11.4 2021-03-04: - pulled in v5.11.3 2021-02-26: - pulled in v5.11.2 2021-02-20: - fix an7688 compilation on 32-bit ARM 2021-02-19: - added support for wake over wireless LAN (WoWLAN) - howto is in the commit 2021-02-18: - added USB_QUIRK_RESET for EG25G modem (https://gitlab.com/mobian1/devices/eg25-manager/-/merge_requests/5) 2021-02-15: - rebased on v5.11 final - fixed anx7688 fw flashing timeout - added Samuel's patches: - allow to use RTC wakeup when powered off - NVMEM driver for RTC data registers - pulled in some fixes from linux-next into fixes-5.11 - disable MMC runtime PM again (causes issues on H5/H6 https://megous.com/dl/tmp/1eec9b1c7f03ad93.png) - used nvmem reboot driver (suggested by Samuel in RFC patch) for rebooting to FEL, eMMC bootloader, various p-boot boot configs on either eMMC or SD card's bootfs filesystems, boot menu, etc. via reboot() syscall with extra arg (see LINUX_REBOOT_CMD_RESTART2) (p-boot is also updated to support this mechanism, as of 2021-02-15) 2021-02-08: - rebased on 5.11-rc7 2021-02-04: - rebased on linus/master 2021-01-30: - rebased on linus/master 2021-01-27: - tested on all my boards - make HDMI audio sound card initializa again on H3/H5 - fix rebase regression in stmmac driver that broke ethernet on PC 2 2021-01-25: - rebased on top of v5.11-rc5 - fix 8723cs bluetooth DT to load pinephone BT config file correctly (add -pinephone postfix) - fix a bunch of ASoC debugfs/bt-soc errors - remove some noisy logging - move mmc# aliases to SoC DT files to cover more boards - added gc2145 BGGR bayer mode patch (makes this kernel work with megapixels) - update Samuel's patches for irq-wakeup to v5 2021-01-12: - rebased on top of v5.11-rc3+ - update Samuel's patches (stmmac, i2c-pm, irq-wakeup) 2021-01-02: - rebased on top of v5.11-rc1+ 2020-12-14: - rebased on top of v5.10 - added patch to chnage Vbus hold voltage to 4.5V on Pinephone (this makes PD charging more stable) 2020-12-11: - rebased on top of linus/master 2020-12-07: - rebased on top of 5.10-rc7 2020-12-05: - modem power driver: add more powerup modes and change interface for dumb and fastboot powerup - you can now write 2, 3 or 4 to .../powered sysfs file to select differnt powerup mode from the normal one (1) - this is useful for selecting alternate userspace configurations early in boot to allow tracing the userspace processes from early on for reverse engineering, and in the near future, it will be used to switch between original and fully-FOSS userspace code running on the modem's APPS CPU on powerup - see https://xnux.eu/log/#028 2020-12-02: - fix WiFi blocking suspend - improve modem power driver interaction with kernel's autosleep - shorten resume times from 1.2s to 400ms (wifi driver optimization) 2020-11-30: - I improved the anx7688 driver to actually respect PD capabilities of the source, and don't overload it. This should make it more likely to work with the USB-C docks when docks are powered. - Pine64 dock can provide either 500mA when powered from regular USB-A charger (regardless of what kind of charger it is, it can't use more current from it) - With my 3A PD charger, Pine64 dock will advertise 2600mA and Pinephone will now respect this limit. - rebase on linus/master (5.10-rc6 atm) - increase I2C clock for sensors and touchscreen/anx7688 from 100kHz to 400kHz - added patch from https://patchwork.kernel.org/project/dri-devel/cover/20200222024210.18697-1-yuq825@gmail.com/#23237865 for easier GPU debugging (suggested by bshah) 2020-11-28: - rebased on linus/master - replaced my 60FPS fix with a more mainlineable and better working solution from Roman Beranek - disable 8723cs CONCURRENT_MODE, enable wifi 802.11z TDLS 2020-11-25: - enable wifi power saving mode (saves 350mW in idle, and doesn't seem to break the wifi so far) 2020-11-25: - added a new 2020-10 wifi driver and cleaned up to work with PinePhone - see wifi-5.10 branch - rebased on linus/master 2020-11-23: - rebased, added modem power blocking mode (p-boot privacy support) 2020-11-17: - drop ov5640 AF patch 2020-11-17: - rebase on linux/master - fix camera probe 2020-11-15: - rebase on linux/master - add "retain LED state in sleep" patch 2020-11-13: - fix boot failure on pocketbook (see https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg46288.html) 2020-11-13: - rebase on top of 5.10-rc3+ - update defconfigs 2020-11-10: - rebase on top of 5.10-rc3 2020-11-01: - added some musb suspend/resume fixes - fixed regulator probe on a711 - fix mmc device numbering - rebase on top of 5.10-rc2 2020-10-31: - rebased on top of 5.10-rc1+ - added ov5640 autofocus support from Martijn Braam (you'll need /lib/firmware/ov5640_af.bin) - added fix for DSI panel 36.6 FPS issue (myself) - import upstreamed variant of audio patches from Samuel 2020-10-25: - rebased on top of 5.10-rc1 2020-10-19: - fix orange pi 3 ethernet 2020-10-12: - fix issue with dsi clock described here: https://xnux.eu/log/#021 - rebase on v5.9 final - integrate pinetab panel patches from (untested) https://gitlab.com/pine64-org/linux/-/commits/pine64-kernel-5.7.y-pinetabpanel/ 2020-09-29: - add a few more codec API fixes from Samuel 2020-09-28: - rebase on top of 5.9-rc7 - integrated the newest audio patches from Samuel 2020-09-23: - port battery thermal regulation fix from p-boot (completely untested, see https://xnux.eu/log/#018) 2020-09-18: - cedrus panic fix - rebase on linus/master 2020-09-17: - further modem driver improvements (fix urc setting on old modem firmwares) 2020-09-13: - rebase on top of 5.9-rc5 2020-09-12: - rebase on top of 5.9-rc4+ 2020-09-10: - rebase on top of 5.9-rc4+ - further fixes for the modem driver poweron, support for fast poweroff feature present on new modem firmware - added flash DT changes - add mounting matrix and a kernel command line option to override it (ignore_mount_matrix) - https://xff.cz/kernels also contains special kernel builds for my multi-dist image (see https://xnux.eu/log/) - enabled opportunistic sleep - enabled btrfs support 2020-09-01: - rebase on top of 5.9-rc3 2020-08-19: - rebase and port to 5.9-rc1 - fix various issues with 5.9-rc1 - fix sleeps in atomic context in anx7688 driver - dropped panfrost dvfs patches for now (conflicts, stability issues) - fix modem UART issues on powerup (sometimes not receiving RDY, etc.) - root cause was host UART locking up due to noise on RX, and the fix is to only open UART port when the modem is powered 2020-08-11: - fix sun50i-codec-analog probe failure when built-in 2020-08-09: - pull in codec changes from Samuel - don't wait for RDY but poll with empty AT command for the modem's status 2020-08-06: - added Samuel's patch for making recording from the codec work again 2020-08-05: - modem driver fixes for BH 2020-08-03: - fixed AC100 driver to make it work without mod clock 2020-08-02: - integrated latest Samuel's audio patches + rebased my AC100 support on top - finished the modem-power driver into a hopefully useable state 2020-07-25: - rebased on top of 5.8-rc7+ - fixed modem driver issue with not shutting down the modem on poweroff/reset on PinePhone (introduced during modem driver rewrite around 5.8-rc5) - worked around AXP reseting input current limit to 500mA regardless of BC detection being disabled (happened on boot with USB-C cable connected to USB-C PD charger) (and reverted again) - improved modem driver - initialize the modem configuration for proper sleep - setup QDAI automatically from DTS - show modem firmware version in dmesg - added rfkill interface - handle URC caching during suspend 2020-07-16: - added HP jack detection patches from A-wai 2020-07-14: - added support for Pinebook Pro - fix issue in my bl_pwm PinePhone patch that broke Pinebook Pro's backlight 2020-07-13: - rebased on top of 5.8-rc5 - improved HW led trigger API - more modem-power work (change to serdev, recv messages from the modem) - support HDMI audio on PinePhone - bump PD power requirement to 15W on PinePhone 2020-07-08: - refactoring of the modem driver, moved to modem-5.8 branch (not finished yet, see TODO in the driver) - update pinephone 1.0-1.2 dts to reflect the differences in modem setup - enable orange pi 3 hdmi audio 2020-07-06: - rebased on top of 5.8-rc4 2020-07-05: - Added fixes for PinePhone panel initialization after resume from sleep 2020-07-04: - Integrated Clément's HDMI audio series (20200704113902.336911-1-peron.clem@gmail.com) - Integrated Clément's panfrost DVFS series (20200704102535.189647-1-peron.clem@gmail.com) My kernel's main integration branch is 'orange-pi-$VER' (this one). No other branch is supposed to work alone. My defconfigs are tested and work on the boards I support. Read the README.md for more info. Only my branches based on the current mainline kernel branch are maintained (those are usually the -rc# kernels!). You can find the current mainline version here https://www.kernel.org/ (mainline: ...) My prebuilt kernels can be found at https://xff.cz/kernels/ You can use them to test that your board works, or just run them without bothering with building everything yourself. I run them on all my boards. My website is https://xnux.eu and may contain useful advice. Good luck! ~megi -
m1-soc-bringup-v5
7d2d16cc · ·Apple M1 SoC platform bring-up This series brings up initial support for the Apple M1 SoC, used in the 2020 Mac Mini, MacBook Pro, and MacBook Air models. The following features are supported in this initial port: - UART (samsung-style) with earlycon support - Interrupts, including affinity and IPIs (Apple Interrupt Controller) - SMP (through standard spin-table support) - simplefb-based framebuffer - Devicetree for the Mac Mini (should work for the others too at this stage) == Merge notes == This tag is based on v5.12-rc3 and includes the following two dependencies merged in: * Tip of arm64/for-next/fiq: 3889ba70102e This is a hard (build) dependency that adds support for FIQ interrupts, which is required for this SoC and the included AIC irqchip driver. It is already merged in the arm64 tree. * From tty/tty-next: 71b25f4df984 This commit includes the Samsung UART changes that have already been merged into the tty tree. It is nominally a soft dependency, but if this series is merged first it would trigger devicetree validation failures as the DT included in it depends on bindings introduced in the tty tree. There was a merge conflict here. It has been resolved the same way gregkh resolved it in a later tty merge, and both tty-next and torvalds/master merge cleanly with this series at this time. This series additionally depends on the nVHE changes in [1] to boot, but we are letting those get merged through arm64. [1] https://lore.kernel.org/linux-arm-kernel/20210408131010.1109027-1-maz@kernel.org/T/#u == Testing notes == This has been tested on an Apple M1 Mac Mini booting to a framebuffer and serial console, with SMP and KASLR, with an arm64 defconfig (+ CONFIG_FB_SIMPLE for the fb). In addition, the AIC driver now supports running in EL1, tested in UP mode only. == About the hardware == These machines officially support booting unsigned/user-provided XNU-like kernels, with a very different boot protocol and devicetree format. We are developing an initial bootloader, m1n1 [1], to take care of as many hardware peculiarities as possible and present a standard Linux arm64 boot protocol and device tree. In the future, I expect that production setups will add U-Boot and perhaps GRUB into the boot chain, to make the boot process similar to other ARM64 platforms. The machines expose their debug UART over USB Type C, triggered with vendor-specific USB-PD commands. Currently, the easiest way to get a serial console on these machines is to use a second M1 box and a simple USB C cable [2]. You can also build a DIY interface using an Arduino, a FUSB302 chip or board, and a 1.2V UART-TTL adapter [3]. In the coming weeks we will be designing an open hardware project to provide serial/debug connectivity to these machines (and, hopefully, also support other UART-over-Type C setups from other vendors). Please contact me privately if you are interested in getting an early prototype version of one of these devices. We also have WIP/not merged yet support for loading kernels and interacting via dwc3 usb-gadget, which works with a standard C-C or C-A cable and any Linux host. A quickstart guide to booting Linux kernels on these machines is available at [4], and we are documenting the hardware at [5]. [1] https://github.com/AsahiLinux/m1n1/ [2] https://github.com/AsahiLinux/macvdmtool/ [3] https://github.com/AsahiLinux/vdmtool/ [4] https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart [5] https://github.com/AsahiLinux/docs/wiki == Project Blurb == Asahi Linux is an open community project dedicated to developing and maintaining mainline support for Apple Silicon on Linux. Feel free to drop by #asahi and #asahi-dev on freenode to chat with us, or check our website for more information on the project: https://asahilinux.org/ Signed-off-by: Hector Martin <marcan@marcan.st>