raspi2 config diverges from master/generic armhf

Bug #1693250 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi2 (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Yakkety
Fix Released
Undecided
Unassigned
Zesty
Fix Released
Medium
Unassigned

Bug Description

[SRU Justification]

Over the course of time, the config used for the raspi2 branch, diverged from the config used for master/generic, and that could to different behaviours for kernel that should have the same (or largely the same) set of features/options ([1] is an example of this). What follows is the manual sync between the config of master/generic and the raspi2 branch.

After this config the number of kernel modules increased from 3332 to 3547, and the size of the kernel deb package increased from 35.4MB to 37.2MB, but since many non boot essential options were factored out as modules, the kernel itself went down from 6.7MB to 5.7MB - ~1MB of code was shaved.

1: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1683505

[Fix]

Manually diff the config between master/generic and raspi2, split it for built-in options and modules, apply the sets by making sure none of the boot essentials or desiderata options are turned off - finally, review the resulting config and in case of errors go back to square one.

[Testcase]

The resulting kernel was testes on rpi2/3 in ubuntu classic, and ubuntu core, in headless and video output setup, all the main components were excercised: network, video, usb, cpu freq, etc.

People should probably test it on their own setup under their workloads and report any issue found.

[Regressione potential]

With such a change there's always potential for regression, but i tried to smoke test it on as many diverse setups as possible, and i've reviewed every config change, checking that we weren't changing anything fundamental.

Paolo Pisati (p-pisati)
description: updated
description: updated
Changed in linux-raspi2 (Ubuntu Xenial):
status: New → Fix Committed
Juerg Haefliger (juergh)
Changed in linux-raspi2 (Ubuntu Yakkety):
status: New → Fix Committed
Stefan Bader (smb)
Changed in linux-raspi2 (Ubuntu Zesty):
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.2 KiB)

This bug was fixed in the package linux-raspi2 - 4.8.0-1042.46

---------------
linux-raspi2 (4.8.0-1042.46) yakkety; urgency=low

  * linux-raspi2: 4.8.0-1042.46 -proposed tracker (LP: #1700536)

  [ Ubuntu: 4.8.0-58.63 ]

  * linux: 4.8.0-58.63 -proposed tracker (LP: #1700533)
  * CVE-2017-1000364
    - Revert "UBUNTU: SAUCE: mm: Only expand stack if guard area is hit"
    - Revert "mm: do not collapse stack gap into THP"
    - Revert "mm: enlarge stack guard gap"
    - mm: vma_adjust: remove superfluous confusing update in remove_next == 1 case
    - mm: larger stack guard gap, between vmas
    - mm: fix new crash in unmapped_area_topdown()
    - Allow stack to grow up to address space limit

linux-raspi2 (4.8.0-1041.45) yakkety; urgency=low

  * linux-raspi2: 4.8.0-1041.45 -proposed tracker (LP: #1699037)

  * raspi2 config diverges from master/generic armhf (LP: #1693250)
    - [Config] config sync wrt master/generic
    - [Config] disable FB_SIMPLE
    - [Config] config sync wrt master/generic =m
    - remove the of_mmc_spi module

  [ Ubuntu: 4.8.0-57.62 ]

  * linux: 4.8.0-57.62 -proposed tracker (LP: #1699035)
  * CVE-2017-1000364
    - SAUCE: mm: Only expand stack if guard area is hit
  * CVE-2017-7374
    - fscrypt: remove broken support for detecting keyring key revocation
  * CVE-2017-100363
    - char: lp: fix possible integer overflow in lp_setup()
  * CVE-2017-9242
    - ipv6: fix out of bound writes in __ip6_append_data()
  * CVE-2017-9075
    - sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
  * CVE-2017-9074
    - ipv6: Prevent overrun when parsing v6 header options
  * CVE-2017-9076
    - ipv6/dccp: do not inherit ipv6_mc_list from parent
  * CVE-2017-9077
    - ipv6/dccp: do not inherit ipv6_mc_list from parent
  * CVE-2017-8890
    - dccp/tcp: do not inherit mc_list from parent
  * extend-diff-ignore should use exact matches (LP: #1693504)
    - [Packaging] exact extend-diff-ignore matches
  * APST quirk needed for Intel NVMe (LP: #1686592)
    - nvme: Quirk APST on Intel 600P/P3100 devices
  * regression: the 4.8 hwe kernel does not create the
    /sys/block/*/device/enclosure_device:* symlinks (LP: #1691899)
    - scsi: ses: Fix SAS device detection in enclosure
  * datapath: Add missing case OVS_TUNNEL_KEY_ATTR_PAD (LP: #1676679)
    - openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
  * connection flood to port 445 on mounting cifs volume under kernel
    (LP: #1686099)
    - cifs: Do not send echoes before Negotiate is complete
  * Support IPMI system interface on Cavium ThunderX (LP: #1688132)
    - i2c: octeon: Rename driver to prepare for split
    - i2c: octeon: Split the driver into two parts
    - [Config] CONFIG_I2C_THUNDERX=m
    - i2c: thunderx: Add i2c driver for ThunderX SOC
    - i2c: thunderx: Add SMBUS alert support
    - i2c: octeon,thunderx: Move register offsets to struct
    - i2c: octeon: Sort include files alphabetically
    - i2c: octeon: Use booleon values for booleon variables
    - i2c: octeon: thunderx: Add MAINTAINERS entry
    - i2c: octeon: Fix set SCL recovery function
    - i2c: octeon: Avoid sending STOP during recovery
    - i2c: octeon: Fix high-level controller status che...

Read more...

Changed in linux-raspi2 (Ubuntu Yakkety):
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (21.4 KiB)

This bug was fixed in the package linux-raspi2 - 4.4.0-1061.69

---------------
linux-raspi2 (4.4.0-1061.69) xenial; urgency=low

  * linux-raspi2: 4.4.0-1061.69 -proposed tracker (LP: #1700544)

  [ Ubuntu: 4.4.0-83.106 ]

  * linux: 4.4.0-83.106 -proposed tracker (LP: #1700541)
  * CVE-2017-1000364
    - Revert "UBUNTU: SAUCE: mm: Only expand stack if guard area is hit"
    - Revert "mm: do not collapse stack gap into THP"
    - Revert "mm: enlarge stack guard gap"
    - mm: vma_adjust: remove superfluous confusing update in remove_next == 1 case
    - mm: larger stack guard gap, between vmas
    - mm: fix new crash in unmapped_area_topdown()
    - Allow stack to grow up to address space limit

linux-raspi2 (4.4.0-1060.68) xenial; urgency=low

  * linux-raspi2: 4.4.0-1060.68 -proposed tracker (LP: #1699067)

  * raspi2 config diverges from master/generic armhf (LP: #1693250)
    - [Config] Config sync wrt master
    - [Config] Factor out as many components as =m as possible
    - [Config] annotations: remove GPIO_TWL4030 and REGULATOR_TWL4030 since they
      are boot essential only for omap3/4 (and thus master/generic)

  * CM3 support (and various fixes) (LP: #1691407)
    - BCM270X_DT: Add overlay for enc28j60 on SPI2
    - lirc_rpi: Delete vestigial gpio_in_pull parameter
    - BCM270X_DT: Add i2c-sensor overlay
    - BCM270X_DT: overlays/*-overlay.dtb -> overlays/*.dtbo (#1752)
    - Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"
    - bcm2835-rng: Avoid initialising if already enabled
    - Pisound dynamic overlay (#1760)
    - Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor.
      (#1765)
    - pisound improvements: (#1778)
    - Add driver_name properties to JustBoom drivers (#1787)
    - bcm2835-i2s: Changes for allowing asymmetric sample formats. (#1783)
    - BCM270X_DT: Add pi3-disable-wifi overlay
    - configfs: Remove ppos increment in configfs_write_bin_file
    - config: Add CONFIG_DM_CACHE
    - BCM270X_DT: Add spi0-cs overlay
    - Revert "bcm2835-i2s: Changes for allowing asymmetric sample formats.
      (#1783)"
    - BCM270X_DT: Enable UART0 on CM3
    - config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR
    - config: More USB config options for bcm2709_defconfig (#1805)
    - BCM270X_DT: Add reference to audio_pins to CM dtb
    - Add overlay for mcp3008 adc (#1818)
    - config: add slcan kernel module
    - drm/vc4: Fix sending of page flip completion events in FKMS mode.
    - clk: bcm2835: Fix ->fixed_divider of pllh_aux
    - clk: bcm: Support rate change propagation on bcm2835 clocks
    - clk: bcm: Allow rate change propagation to PLLH_AUX on VEC clock
    - clk: bcm: Fix 'maybe-uninitialized' warning in
      bcm2835_clock_choose_div_and_prate()
    - clk: bcm2835: Don't rate change PLLs on behalf of DSI PLL dividers (v2).
    - gpio_mem: Remove unnecessary dev_info output (#1830)
    - drm/vc4: Fulfill user BO creation requests from the kernel BO cache.
    - drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
    - drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.
    - Update vfpmodule.c
    - dwc_otg: fix summarize urb->actual_length for i...

Changed in linux-raspi2 (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (8.5 KiB)

This bug was fixed in the package linux-raspi2 - 4.10.0-1011.14

---------------
linux-raspi2 (4.10.0-1011.14) zesty; urgency=low

  * linux-raspi2: 4.10.0-1011.14 -proposed tracker (LP: #1701017)

  * arm64 kernel crashdump support (LP: #1694859)
    - [Config] CONFIG_CRASH_DUMP=y on arm64

  * hisi_sas driver updates (LP: #1695999)
    - [Config] updateconfigs following rebase

  * raspi2 config diverges from master/generic armhf (LP: #1693250)
    - [Config] config sync wrt master
    - disable SND_ARMAACI, FTBFS
    - skip ABI and modules checks

  [ Ubuntu: 4.10.0-28.32 ]

  * linux: 4.10.0-28.32 -proposed tracker (LP: #1701013)
  * KILLER1435-S[0489:e0a2] BT cannot search BT 4.0 device (LP: #1699651)
    - Bluetooth: btusb: Add support for 0489:e0a2 QCA_ROME device
  * aacraid driver may return uninitialized stack data to userspace
    (LP: #1700077)
    - SAUCE: scsi: aacraid: Don't copy uninitialized stack memory to userspace
  * CVE-2017-9605
    - drm/vmwgfx: Make sure backup_handle is always valid
  * CVE-2017-1000380
    - ALSA: timer: Fix race between read and ioctl
    - ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
  * XDP eBPF programs fail to verify on Zesty ppc64el (LP: #1699627)
    - [Config] ppc64el: build for Power8 not Power7
  * AACRAID for power9 platform (LP: #1689980)
    - scripts/spelling.txt: add "therfore" pattern and fix typo instances
    - scsi: aacraid: fix PCI error recovery path
    - scsi: aacraid: pci_alloc_consistent() failures on ARM64
    - scsi: aacraid: Remove __GFP_DMA for raw srb memory
    - scsi: aacraid: Fix DMAR issues with iommu=pt
    - scsi: aacraid: Added 32 and 64 queue depth for arc natives
    - scsi: aacraid: Set correct Queue Depth for HBA1000 RAW disks
    - scsi: aacraid: Remove reset support from check_health
    - scsi: aacraid: Change wait time for fib completion
    - scsi: aacraid: Log count info of scsi cmds before reset
    - scsi: aacraid: Print ctrl status before eh reset
    - scsi: aacraid: Using single reset mask for IOP reset
    - scsi: aacraid: Rework IOP reset
    - scsi: aacraid: Add periodic checks to see IOP reset status
    - scsi: aacraid: Rework SOFT reset code
    - scsi: aacraid: Rework aac_src_restart
    - scsi: aacraid: Use correct function to get ctrl health
    - scsi: aacraid: Make sure ioctl returns on controller reset
    - scsi: aacraid: Enable ctrl reset for both hba and arc
    - scsi: aacraid: Add reset debugging statements
    - scsi: aacraid: Remove reference to Series-9
    - scsi: aacraid: Update driver version to 50834
  * arm64 kernel crashdump support (LP: #1694859)
    - memblock: add memblock_clear_nomap()
    - memblock: add memblock_cap_memory_range()
    - arm64: limit memory regions based on DT property, usable-memory-range
    - arm64: kdump: reserve memory for crash dump kernel
    - arm64: mm: add set_memory_valid()
    - arm64: mm: use phys_addr_t instead of unsigned long in __map_memblock
    - arm64: kdump: protect crash dump kernel memory
    - arm64: hibernate: preserve kdump image around hibernation
    - arm64: kdump: implement machine_crash_shutdown()
    - arm64: kdump: add VMCOREINFO's for user-...

Read more...

Changed in linux-raspi2 (Ubuntu Zesty):
status: Fix Committed → Fix Released
Changed in linux-raspi2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.