[Kernel-packages] [Bug 1933532] Re: Large Page support disabled on Raspberry Pi kernels

2022-03-03 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.4.0-1053.60

---
linux-raspi (5.4.0-1053.60) focal; urgency=medium

  * focal/linux-raspi: 5.4.0-1053.60 -proposed tracker (LP: #1959271)

  * Kernel fails to boot in ScalingStack (LP: #1959102)
- [Config] raspi: Set VIRTIO_PCI=m

  * Large Page support disabled on Raspberry Pi kernels (LP: #1933532)
- [Config] raspi: Set HUGETLBFS=y and TRANSPARENT_HUGEPAGE=y

  [ Ubuntu: 5.4.0-100.113 ]

  * focal/linux: 5.4.0-100.113 -proposed tracker (LP: #1959900)
  * CVE-2022-22942
- SAUCE: drm/vmwgfx: Fix stale file descriptors on failed usercopy
  * CVE-2022-0330
- drm/i915: Flush TLBs before releasing backing store
  * Focal update: v5.4.166 upstream stable release (LP: #1957008)
- netfilter: selftest: conntrack_vrf.sh: fix file permission
- Linux 5.4.166
- net/packet: rx_owner_map depends on pg_vec
- USB: gadget: bRequestType is a bitfield, not a enum
- HID: holtek: fix mouse probing
- udp: using datalen to cap ipv6 udp max gso segments
- selftests: Calculate udpgso segment count without header adjustment
  * Focal update: v5.4.165 upstream stable release (LP: #1957007)
- serial: tegra: Change lower tolerance baud rate limit for tegra20 and
  tegra30
- ntfs: fix ntfs_test_inode and ntfs_init_locked_inode function type
- HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
- HID: google: add eel USB id
- HID: add hid_is_usb() function to make it simpler for USB detection
- HID: add USB_HID dependancy to hid-prodikeys
- HID: add USB_HID dependancy to hid-chicony
- HID: add USB_HID dependancy on some USB HID drivers
- HID: bigbenff: prevent null pointer dereference
- HID: wacom: fix problems when device is not a valid USB device
- HID: check for valid USB device for many HID drivers
- can: kvaser_usb: get CAN clock frequency from device
- can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct
  stats->{rx,tx}_errors counter
- can: sja1000: fix use after free in ems_pcmcia_add_card()
- nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
- selftests: netfilter: add a vrf+conntrack testcase
- vrf: don't run conntrack on vrf with !dflt qdisc
- bpf: Fix the off-by-two error in range markings
- ice: ignore dropped packets during init
- bonding: make tx_rebalance_counter an atomic
- nfp: Fix memory leak in nfp_cpp_area_cache_add()
- seg6: fix the iif in the IPv6 socket control block
- udp: using datalen to cap max gso segments
- iavf: restore MSI state on reset
- iavf: Fix reporting when setting descriptor count
- IB/hfi1: Correct guard on eager buffer deallocation
- mm: bdi: initialize bdi_min_ratio when bdi is unregistered
- ALSA: ctl: Fix copy of updated id with element read/write
- ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
- ALSA: pcm: oss: Fix negative period/buffer sizes
- ALSA: pcm: oss: Limit the period size to 16MB
- ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
- btrfs: clear extent buffer uptodate when we fail to write it
- btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
- nfsd: Fix nsfd startup race (again)
- tracefs: Have new files inherit the ownership of their parent
- clk: qcom: regmap-mux: fix parent clock lookup
- drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
- can: pch_can: pch_can_rx_normal: fix use after free
- can: m_can: Disable and ignore ELO interrupt
- x86/sme: Explicitly map new EFI memmap table as encrypted
- libata: add horkage for ASMedia 1092
- wait: add wake_up_pollfree()
- SAUCE: binder: export __wake_up_pollfree for binder module
- binder: use wake_up_pollfree()
- signalfd: use wake_up_pollfree()
- aio: keep poll requests on waitqueue until completed
- aio: fix use-after-free due to missing POLLFREE handling
- tracefs: Set all files to the same group ownership as the mount option
- block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
- qede: validate non LSO skb length
- ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
- i40e: Fix failed opcode appearing if handling messages from VF
- i40e: Fix pre-set max number of queues for VF
- mtd: rawnand: fsmc: Take instruction delay into account
- mtd: rawnand: fsmc: Fix timing computation
- dt-bindings: net: Reintroduce PHY no lane swap binding
- tools build: Remove needless libpython-version feature check that breaks
  test-all fast path
- net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
- net: altera: set a couple error code in probe()
- net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
- net, neigh: clear whole pneigh_entry at alloc time
- net/qla3xxx: fix an error code in ql_adapter_up()
   

[Kernel-packages] [Bug 1933532] Re: Large Page support disabled on Raspberry Pi kernels

2022-01-20 Thread Juerg Haefliger
** This bug is no longer a duplicate of bug 1933627
   HUGETLBFS is disabled

** Changed in: linux-raspi (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: linux-raspi (Ubuntu Focal)
   Status: Confirmed => In Progress

** Changed in: linux-raspi (Ubuntu Focal)
 Assignee: (unassigned) => Juerg Haefliger (juergh)

** Description changed:

+ [ Impact ]
+ 
  It appears that large page support and transparent hugepages are
  disabled in config on the Raspberry Pi. It would be nice if they were
  enabled in the kernel configuration, even if they are disabled by
  default. Then they could be set in user-editable config via the
  "transparent_hugepage" boot option.
  
  With 4GB hardware in this family, there might be valid uses for large
  pages.
  
- 
  root@ubuntu:/home/ubuntu# hugeadm --explain
  hugeadm:ERROR: kernel does not support huge pages
- 
  
  root@ubuntu:/home/ubuntu# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:Ubuntu 20.04.2 LTS
  Release:20.04
  Codename:   focal
  
- 
  root@ubuntu:/home/ubuntu# uname -a
  Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux
- 
  
  root@ubuntu:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi
  CONFIG_SYS_SUPPORTS_HUGETLBFS=y
  CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
  CONFIG_HAVE_ARCH_HUGE_VMAP=y
  # CONFIG_TRANSPARENT_HUGEPAGE is not set
  # CONFIG_HUGETLBFS is not set
+ 
+ [ Test Case ]
+ 
+ See above:
+ 
+ [ Fix ]
+ 
+ Enable HUGETLBFS and TRANSPARENT_HUGEPAGE to match the master kernel and
+ hirsure and later raspi kernels.
+ 
+ [ Where Problems Could Occur ]
+ 
+ Thess configs enable code that is disabled by default. However, there is
+ minimal stub code running at boot so problems would most likely show up
+ as splats during boot or later on when hugetlbfs is explicitly mounted
+ by systemd.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/1933532

Title:
  Large Page support disabled on Raspberry Pi kernels

Status in linux-raspi package in Ubuntu:
  Invalid
Status in linux-raspi source package in Focal:
  In Progress

Bug description:
  [ Impact ]

  It appears that large page support and transparent hugepages are
  disabled in config on the Raspberry Pi. It would be nice if they were
  enabled in the kernel configuration, even if they are disabled by
  default. Then they could be set in user-editable config via the
  "transparent_hugepage" boot option.

  With 4GB hardware in this family, there might be valid uses for large
  pages.

  root@ubuntu:/home/ubuntu# hugeadm --explain
  hugeadm:ERROR: kernel does not support huge pages

  root@ubuntu:/home/ubuntu# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:Ubuntu 20.04.2 LTS
  Release:20.04
  Codename:   focal

  root@ubuntu:/home/ubuntu# uname -a
  Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

  root@ubuntu:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi
  CONFIG_SYS_SUPPORTS_HUGETLBFS=y
  CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
  CONFIG_HAVE_ARCH_HUGE_VMAP=y
  # CONFIG_TRANSPARENT_HUGEPAGE is not set
  # CONFIG_HUGETLBFS is not set

  [ Test Case ]

  See above:

  [ Fix ]

  Enable HUGETLBFS and TRANSPARENT_HUGEPAGE to match the master kernel
  and hirsure and later raspi kernels.

  [ Where Problems Could Occur ]

  Thess configs enable code that is disabled by default. However, there
  is minimal stub code running at boot so problems would most likely
  show up as splats during boot or later on when hugetlbfs is explicitly
  mounted by systemd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1933532/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1933532] Re: Large Page support disabled on Raspberry Pi kernels

2022-01-20 Thread Juerg Haefliger
*** This bug is a duplicate of bug 1933627 ***
https://bugs.launchpad.net/bugs/1933627

** This bug has been marked a duplicate of bug 1933627
   HUGETLBFS is disabled

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/1933532

Title:
  Large Page support disabled on Raspberry Pi kernels

Status in linux-raspi package in Ubuntu:
  Confirmed
Status in linux-raspi source package in Focal:
  Confirmed

Bug description:
  It appears that large page support and transparent hugepages are
  disabled in config on the Raspberry Pi. It would be nice if they were
  enabled in the kernel configuration, even if they are disabled by
  default. Then they could be set in user-editable config via the
  "transparent_hugepage" boot option.

  With 4GB hardware in this family, there might be valid uses for large
  pages.

  
  root@ubuntu:/home/ubuntu# hugeadm --explain
  hugeadm:ERROR: kernel does not support huge pages

  
  root@ubuntu:/home/ubuntu# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:Ubuntu 20.04.2 LTS
  Release:20.04
  Codename:   focal

  
  root@ubuntu:/home/ubuntu# uname -a
  Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

  
  root@ubuntu:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi
  CONFIG_SYS_SUPPORTS_HUGETLBFS=y
  CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
  CONFIG_HAVE_ARCH_HUGE_VMAP=y
  # CONFIG_TRANSPARENT_HUGEPAGE is not set
  # CONFIG_HUGETLBFS is not set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1933532/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1933532] Re: Large Page support disabled on Raspberry Pi kernels

2021-06-25 Thread Juerg Haefliger
** Also affects: linux-raspi-5.4 (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Package changed: linux-raspi-5.4 (Ubuntu) => linux-raspi (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi-5.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1933532

Title:
  Large Page support disabled on Raspberry Pi kernels

Status in linux-raspi package in Ubuntu:
  New
Status in linux-raspi source package in Focal:
  New

Bug description:
  It appears that large page support and transparent hugepages are
  disabled in config on the Raspberry Pi. It would be nice if they were
  enabled in the kernel configuration, even if they are disabled by
  default. Then they could be set in user-editable config via the
  "transparent_hugepage" boot option.

  With 4GB hardware in this family, there might be valid uses for large
  pages.

  
  root@ubuntu:/home/ubuntu# hugeadm --explain
  hugeadm:ERROR: kernel does not support huge pages

  
  root@ubuntu:/home/ubuntu# lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:Ubuntu 20.04.2 LTS
  Release:20.04
  Codename:   focal

  
  root@ubuntu:/home/ubuntu# uname -a
  Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 
2021 aarch64 aarch64 aarch64 GNU/Linux

  
  root@ubuntu:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi
  CONFIG_SYS_SUPPORTS_HUGETLBFS=y
  CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
  CONFIG_HAVE_ARCH_HUGE_VMAP=y
  # CONFIG_TRANSPARENT_HUGEPAGE is not set
  # CONFIG_HUGETLBFS is not set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1933532/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp