Commit Graph

8482 Commits

Author SHA1 Message Date
Ben Hutchings 1eff5d823e udeb: Make nic-wireless-modules depend on mmc-core-modules, not mmc-modules 2019-02-13 00:21:25 +00:00
Ben Hutchings f5c38df428 [armel] udeb: Add mmc-core-modules 2019-02-13 00:21:24 +00:00
Ben Hutchings 1d8da34a80 [powerpc*] udeb: Add mmc-core-modules and nic-wireless-modules
* Move airport into nic-wireless-modules
* Remove overrides for Depends field of nic-pcmcia-modules
2019-02-12 22:07:51 +00:00
Ben Hutchings 1d80b19d87 mt76: Use the correct hweight8() function (fixes FTBFS on ia64) 2019-02-12 15:39:34 +00:00
Ben Hutchings 300cb820cd [sparc64] udeb: Add i2c-modules and nic-shared-modules to avoid duplication 2019-02-12 12:51:59 +00:00
Ben Hutchings 9050e91ac0 Prepare to release linux (4.19.20-1). 2019-02-11 16:56:00 +00:00
Ben Hutchings b4995d6607 video: Disable FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER again
It won't work nicely unless we make the boot loader completely silent,
and we might need to update themes as well.
<https://fedoraproject.org/wiki/Changes/FlickerFreeBoot> has the full
details.
2019-02-11 16:55:58 +00:00
Ben Hutchings fd527676dd rmi4: Disable RMI_F54
Enabling this symbol makes rmi4_core depend on the media/v4l2
subsystem which is not only weird but also results in duplicate
modules at kernel-wedge time.
2019-02-11 14:06:39 +00:00
Ben Hutchings 07c5106918 udeb: Add scsi-nic-modules containing Chelsio and Qlogic iSCSI/FC drivers
These drivers depend on the corresponding net drivers, or at least
common modules built under drivers/net/ethernet, currently leading
to duplicate modules.

I don't want to resolve this by adding a dependency between
nic-modules and scsi-modules, as that would pull in both into
installer images that previously only needed one set of drivers.  I
also don't want to add the common modules into kernel-image as that
would bloat all installer images.  Instead, put the drivers in a new
package and we can work out which installer images should include it
later.

Build scsi-nic-modules for all architectures/flavours that build
scsi-modules using the common module list now.
2019-02-11 14:00:58 +00:00
Ben Hutchings b7a2d1a5e6 debian/changelog: Close more bugs that requested config changes 2019-02-11 01:49:14 +00:00
Ben Hutchings 4a73a700d4 [armhf,riscv64,s390x] udeb: Add cdrom-core-modules 2019-02-11 01:40:18 +00:00
Ben Hutchings 1a8256e0fb Enable some more new(ish) kconfig options
* [arm64,armhf] drm: Enable DRM_PANEL_RASPBERRYPI_TOUCHSCREEN as module
* dvb-usb-v2: Enable DVB_USB_ZD1301 as module
* gpio: Enable GPIO_EXAR, GPIO_PCI_IDIO_16, GPIO_PCIE_IDIO_24 as modules
* HID: Enable HID_ACCUTOUCH, HID_COUGAR, HID_ELAN, HID_ITE, HID_JABRA,
  HID_MAYFLASH, HID_REDRAGON, HID_RETRODE, HID_STEAM, HID_UDRAW_PS3 as
  modules
* [x86] i2c: Enable I2C_DESIGNWARE_BAYTRAIL
* media/rc: Enable IR_IMON_DECODER, IR_IMON_RAW as modules
* [x86] mfd: Enable INTEL_SOC_PMIC_BXTWC, INTEL_SOC_PMIC_CHTDC_TI as modules
* [x86] pinctrl: Enable PINCTRL_CANNONLAKE, PINCTRL_CEDARFORK,
  PINCTRL_DENVERTON, PINCTRL_GEMINILAKE, PINCTRL_ICELAKE, PINCTRL_LEWISBURG
* ptp: Change PTP_1588_CLOCK_KVM from built-in to module
* serial: Enable USB_SERIAL_F8153X, USB_SERIAL_UPD78F0730 as modules
* sound: Enable SND_FIREWIRE_MOTU, SND_FIREFACE, SND_XEN_FRONTEND as modules
* [x86] sound: Enable SND_SOC_AMD_CZ_DA7219MX98357_MACH,
  SND_SOC_AMD_CZ_RT5645_MACH, SND_SOC_INTEL_CHT_BSW_NAU8824_MACH,
  SND_SOC_INTEL_BYT_CHT_DA7213_MACH, SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH,
  SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH,
  SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH,
  SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH as modules
* thermal: Enable DEVFREQ_THERMAL, THERMAL_STATISTICS
* video: Enable FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
* watchdog: Enable WATCHDOG_PRETIMEOUT_GOV, WATCHDOG_PRETIMEOUT_GOV_NOOP,
  WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP; WATCHDOG_PRETIMEOUT_GOV_PANIC,
  WDAT_WDT as modules
* [x86] watchdog: Enable INTEL_MEI_WDT, NI903X_WDT, NIC7018_WDT as modules
2019-02-11 01:35:14 +00:00
Ben Hutchings 9954895622 Enable lots of new(ish) kconfig options
* 9p: Enable NET_9P_XEN as module
* ACPI: Enable ACPI_TAD as module
* amd-xgbe: Enable AMD_XGBE_DCB
* ath9k: Enable ATH9K_CHANNEL_CONTEXT
* block: Enable BLK_DEV_ZONED (except armel/marvell)
* bluetooth: Enable BT_HCIUART_RTL; BT_HCIUART_NOKIA, BT_MTKUART as modules
* bnxt: Enable BNXT_DCB
* ethernet: Enable HINIC, ICE, LAN743X, LIQUIDIO_VF as modules
* can: Enable CAN_VXCAN, CAN_MCBA_USB, CAN_UCAN as modules
* dm: Enable DM_UNSTRIPED, DM_WRITECACHE, DM_ZONED as modules
* gnss: Enable GNSS, GNSS_SIRF_SERIAL, GNSS_UBX_SERIAL as modules
* IB: Enable CGROUP_RDMA (except armel/marvell)
* ieee802154: Enable IEEE802154_HWSIM as module
* inet: Enable INET_RAW_DIAG as module
* input: Enable INPUT_AXP20X_PEK as module
* IPMI: Enable IPMI_SSIF as module
* joystick: Enable JOYSTICK_PXRC as module
* mlx5: Enable MLX5_FPGA, MLX5_CORE_IPOIB; MLXFW as module
* net: Enable BPF_STREAM_PARSER, XDP_SOCKETS (except armel/marvell);
  NET_FAILOVER, SMC, SMC_DIAG, VSOCKMON as modules
* net/phy: Enable LED_TRIGGER_PHY; CORTINA_PHY, DP83822_PHY, DP83TC811_PHY,
  MARVELL_10G_PHY, MICROCHIP_T1_PHY, RENESAS_PHY, ROCKCHIP_PHY as modules
* net/sched: Enable NET_SCH_CBS, NET_SCH_ETF, NET_SCH_SKBPRIO, NET_EMATCH_IPT
  as modules
* PCMCIA: Enable SCR24X as module
* [x86] rmi4: Re-enable RMI4_CORE, RMI4_SMB as modules (Closes: #875621);
  RMI4_F03, RMI4_F11, RMI4_F12, RMI4_F30, RMI4_F34, RMI4_F54, RMI4_F55
* xfrm: Enable XFRM_INTERFACE as module
* PCI: Enable PCI_PF_STUB as module
* random: Enable RANDOM_TRUST_CPU. This can be reverted using the kernel
  parameter: random.trust_cpu=off
* SCSI: Enable QEDF, QEDI as modules
* serial: Enable SERIAL_8250_EXAR as module
* tpm: Enable TCG_TIS_SPI, TCG_VTPM_PROXY as modules
* usbtouchscreen: Enable TOUCHSCREEN_USB_EASYTOUCH
* wireless: Enable MT76x0U, MT76x2E, MT76x2U, QTNFMAC_PEARL_PCIE as modules
* zram: Enable ZRAM_WRITEBACK, ZRAM_MEMORY_TRACKING
2019-02-10 23:16:32 +00:00
Ben Hutchings d73ca07047 [powerpc*,sparc64] udeb: Add nic-usb-modules 2019-02-10 18:13:34 +00:00
Ben Hutchings e62943f64c [arm64,armhf,ia64,riscv64,sparc64] udeb: Add usb-serial-modules
Closes: #903824
2019-02-10 18:13:34 +00:00
Ben Hutchings 1ca5094557 drivers/firmware: Enable FW_CFG_SYSFS as module (Closes: #882208) 2019-02-10 18:13:34 +00:00
Marcin Juszkiewicz 3efa0022ac arm64: Enable ARM64_ERRATUM_843419 (Closes: #920866) 2019-02-10 00:26:21 +01:00
Salvatore Bonaccorso 5019a8394c HID: debug: fix the ring buffer implementation (CVE-2019-3819) 2019-02-09 15:14:06 +01:00
Ben Hutchings 9c88b474fe Merge branch 'henrich/ARM_ARMADA_37XX_CPUFREQ' into sid
enable CONFIG_ARM_ARMADA_37XX_CPUFREQ for arm64 (Closes: #917939)

See merge request kernel-team/linux!121
2019-02-08 23:12:46 +00:00
Ben Hutchings 98ad181d65 Merge branch 'henrich/IMX_THERMAL' into 'sid'
enable CONFIG_IMX_THERMAL (#883023)

See merge request kernel-team/linux!120
2019-02-08 23:09:34 +00:00
Ben Hutchings e773a42de0 debian/changelog: Add nf_conncount fixes in 4.19.17 and related Debian bug 2019-02-08 22:52:17 +00:00
Ben Hutchings 152737c8ce debian/changelog: Wrap an over-long line 2019-02-08 22:48:16 +00:00
Ben Hutchings fc8bea1698 Bump ABI to 3
struct hd_struct changed and it's not obvious how to avoid an ABI
change.
2019-02-08 22:39:29 +00:00
Hideki Yamane 00adcacb33 enable CONFIG_ARM_ARMADA_37XX_CPUFREQ for arm64 (Closes: #917939) 2019-02-09 02:38:04 +09:00
Hideki Yamane ee08aef37e enable CONFIG_IMX_THERMAL (#883023) 2019-02-09 02:28:23 +09:00
Salvatore Bonaccorso 00224672bb [x86] KVM: nVMX: unconditionally cancel preemption timer in free_nested (CVE-2019-7221) 2019-02-08 10:32:39 +01:00
Salvatore Bonaccorso fb1b32a316 [x86] KVM: work around leak of uninitialized stack contents (CVE-2019-7222) 2019-02-08 10:18:28 +01:00
Salvatore Bonaccorso 71aa687bf8 kvm: fix kvm_ioctl_create_device() reference counting (CVE-2019-6974) 2019-02-08 10:01:58 +01:00
Ben Hutchings e898a5d96a Update "Revert "objtool: Fix CONFIG_STACK_VALIDATION=y warning for ..."
Part of the section we move was moved upstream in 4.19.15 by commit
ae206a1a5e3a "kbuild: fix false positive warning/error about missing
libelf".  Don't duplicate that section.
2019-02-07 23:09:25 +00:00
Marcin Juszkiewicz bf22005770 Enable virtio-gpu for debian installer
This will allow to get graphics support in VM instances right from
Debian installer phase.

(cherry picked from commit fb11c71e7c36b2e9abb7535e6c9c0ddbb8dc7c15)
2019-02-07 22:47:54 +00:00
Ben Hutchings f6cfd5f990 Merge branch 'hrw-guest/linux-sid' into sid
Update to 4.19.20

See merge request kernel-team/linux!116
2019-02-07 21:00:43 +00:00
Marcin Juszkiewicz bb2161ae6c changelog: cleanup and debianization 2019-02-07 19:48:45 +01:00
Ben Hutchings 406f867ae8 debian/tests/python: Fix spurious failure due to misuse of stderr
While pycodestyle and pyflakes wrongly write error messages to stdout,
the unittest module has the opposite bug: it writes successful status
messages to stderr.
2019-02-07 04:14:55 +00:00
Ben Hutchings 886c02b804 percpu: convert spin_lock_irq to spin_lock_irqsave
This fixes boot failure with the alpha-generic flavour, discussed in
https://lists.debian.org/debian-alpha/2018/12/msg00001.html and
https://salsa.debian.org/kernel-team/linux/merge_requests/79
2019-02-06 23:41:18 +00:00
Ben Hutchings 3bdfe29c3e [armhf,arm64] serial: 8250: Disable SERIAL_8250_DEPRECATED_OPTIONS
8250 was only called 8250_core in Linux 3.7 and 3.8, so there's
been plenty of time for people to switch back to setting module
parameters on 8250.
2019-02-06 23:18:32 +00:00
Ben Hutchings f217e5602b Merge branch 'henrich/sensors-lm75' into sid
enable CONFIG_SENSORS_LM75 for armhf (Closes: #918114)

See merge request kernel-team/linux!114
2019-02-06 23:10:05 +00:00
Marcin Juszkiewicz 8f73ffdafe Update to 4.19.20 2019-02-06 19:57:01 +00:00
Marcin Juszkiewicz 954102fe6b Update to 4.19.19 2019-02-06 19:57:01 +00:00
Hideki Yamane f9020427df enable CONFIG_SENSORS_LM75 for armhf (Closes: #918114) 2019-02-05 19:11:44 +09:00
Hideki Yamane fbaa5ba879 enable CONFIG_CAN_PEAK_PCIEFD (Closes: #920809) 2019-02-04 07:20:00 +09:00
Uwe Kleine-König 1ed7357997 [armel] add spi-orion to mtd.udeb 2019-02-02 16:16:02 +01:00
Hideki Yamane 5b1537b234 enable CONFIG_SENSORS_NCT7802 and others (Closes: #912597)
NCT7802,NCT7904,NPCM7XX,ASPEED and W83773G
2019-02-02 13:13:39 +09:00
Ben Hutchings e18af5fcd1 Merge branch 'henrich/es8316' into 'sid'
enable SND_SOC_ES8316 in debian/config/kernelarch-x86/config (Closes: #918589)

See merge request kernel-team/linux!106
2019-02-01 22:24:17 +00:00
Vagrant Cascadian 0837abc977 [armhf] Enable CONFIG_MMC_SDHCI_OMAP=m, used on DRA7 and related SoCs. 2019-02-01 12:01:01 -08:00
Hideki Yamane d8bee97bd3 enable SND_SOC_ES8316 in debian/config/kernelarch-x86/config (Closes: #918589)
enabled SND_SOC_ES8316 in debian/config/kernelarch-x86/config and
Baytrail & Cherrytrail with ES8316 codec, too
2019-02-01 22:03:22 +09:00
Ben Hutchings a5c82d1497 Merge branch 'sid' into 'sid'
make Touchpad working on Gemini Lake laptop (Closes: #917388)

See merge request kernel-team/linux!105
2019-02-01 02:44:59 +00:00
Ben Hutchings bb99bcfc51 Merge branch 'hrw-guest/linux-debian-enable-pci-options' into sid 2019-02-01 02:38:40 +00:00
Salvatore Bonaccorso 86ff06cd73 [x86] kvmclock: set offset for kvm unstable clock
Closes: #918036
2019-01-30 17:14:36 +01:00
Uwe Kleine-König 5fec0e0218 Merge branch 'debian-enable-arm-cci-pmu' of https://salsa.debian.org/hrw-guest/linux into sid 2019-01-29 18:33:48 +01:00
Marcin Juszkiewicz 27eecf10bf [arm64] enable PCI_PRI, PCI_PASID
On ARM64 servers PCI devices can be behind IOMMU.
2019-01-29 16:58:48 +00:00
Marcin Juszkiewicz 93c485ea3e [arm64] enable ARM_CCI_PMU
Both ARM_CCI400_PMU and ARM_CCI5xx_PMU options require ARM_CCI_PMU to be
enabled.
2019-01-29 16:52:01 +00:00
Salvatore Bonaccorso d3c3eedb65 Add CVE id for CVE-2019-3701 2019-01-29 17:06:51 +01:00
Romain Perier 87753f2642 Update to 4.19.17 2019-01-29 11:34:12 +01:00
Hideki Yamane 55449ebd02 make Touchpad working on Gemini Lake laptop (Closes: #917388) 2019-01-28 16:55:00 +09:00
Ben Hutchings 1fd1e48157 debian/README.source: Document how to run kconfigeditor2 2019-01-23 17:37:47 +00:00
Luca Boccassi 338140ddae cloud-amd64: enable UIO, UIO_HV_GENERIC, VFIO.
In order to access Azure's VMbus via /sys/vmbus, the corresponding
UIO module must be available.
Also enable VFIO for safe userspace device handling when the host
exposes a vIOMMU.
2019-01-21 16:37:23 +00:00
Ben Hutchings 18d72fb7b8 [i386] debian/control: Fix cross-compiler build-dependency
gcc-8-x86_64-linux-gnu is obviously not the right cross-compiler for i386!
2019-01-18 23:54:28 +00:00
Ben Hutchings 86a5455b20 debian/control: Add !pkg.linux.nokernel to qualification for compiler build-deps
We use the default compiler provided by (cross-)build-essential for
userland, so the compiler build-dependencies are not needed when
the pkg.linux.nokernel profile is used.
2019-01-18 23:54:28 +00:00
Ben Hutchings 6c01fb1460 debian/rules.d/tools/perf/Makefile: Delete redundant arch/profile checks
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." the architecture and profile checks are done in
debian/rules.real.
2019-01-18 23:54:28 +00:00
Ben Hutchings 5b0c3258f6 debian/rules.d: Delete now-unused recursive makefiles
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." these recursive makefiles are not used.

(debian/rules.d/Makefile can additionally install the top-level Kbuild
and Makefile, but that target hasn't been used since svn rev 18133
(version 3.1-1~experimental.1).)
2019-01-18 23:54:28 +00:00
Ben Hutchings cd07c2e48b debian/rules.d, debian/rules.real: Restore build of userland headers for tools
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." debian/rules.d/Makefile is not used and the current
kernel's UAPI headers are not installed.  This hasn't caused breakage
yet, probably because many tools have their own workaround using
include/uapi etc. directly, but could break backports builds at some
point.

Move the build of userland headers up into debian/rules.real and
make all tools build targets depend on it.
2019-01-18 23:54:28 +00:00
Luca Boccassi 7368dbe6c6 Document pkg.linux.nosource in debian/README.source. 2019-01-18 20:59:11 +00:00
Luca Boccassi 7a4961e3fc linux-perf: explicitly disable the jvmti feature and shared library. 2019-01-18 20:57:32 +00:00
Luca Boccassi 380ff19d50 Don't add linux-source to d/control when source: false
With the recent refactor, setting source: false in debian/config/defines
is no longer enough to disable the linux-source-$ver package build, as
dh_listpackages is used to determine what is built.
Do not add linux-source-$ver to d/control if it is disabled.
2019-01-18 20:57:32 +00:00
Ben Hutchings 3cc965234c Prepare to release linux (4.19.16-1). 2019-01-17 18:56:17 +00:00
Ben Hutchings a54836a8ea Update to 4.19.16 2019-01-16 22:08:49 +00:00
Ben Hutchings 4a61bb4df9 Merge branch 'leds-apu' into 'sid'
Enable LEDS_APU to support leds on PC Engines APU

See merge request kernel-team/linux!101
2019-01-16 19:00:52 +00:00
Luigi Baldoni b835b5ea87 Enable LEDS_APU to support leds on PC Engines APU 2019-01-16 13:04:14 +01:00
Yves-Alexis Perez 9bba1fb9b9 [rt] Update to 4.19.15-rt12 2019-01-16 11:09:49 +01:00
Yves-Alexis Perez fceb8a1734 update to 4.19.15 2019-01-16 11:09:49 +01:00
Yves-Alexis Perez bfc928ff1a update to 4.19.14 2019-01-16 11:09:26 +01:00
Salvatore Bonaccorso c2ac4cd321 posix-cpu-timers: Unbreak timer rearming
Closes: #919019
Closes: #919049
2019-01-12 11:25:48 +01:00
Romain Perier fe5142170f [rt] Update to 4.19.13-rt10 2019-01-11 17:44:15 +01:00
YunQiang Su d31776d28d Enable FB_SM750 and DRM_AST for Loongson-3
Some new Loongson servers are using Aspeed BMC, which has an GPU.
Some other Loongson servers are using SM750 GPU instead of AMD's.

Since MIPS doesn't have a generic display driver like VESA, we need
to install sm750fb and (drm_)ast into Loongson's fb-moduels udeb package.

(cherry picked from commit 6fbe9f4e363b32a70adf391e6d74ae21c52f16b6)
2019-01-08 07:03:29 +00:00
Michal Simek dfc91d42a7 [arm64] Enable drivers for Xilinx ZynqMP
Enable ZynqMP architecture and sata(ceva), ethernet(macb),
uart(ps_uart), pcie(xilinx_nwl) and gpio drivers.

(cherry picked from commit 4bdb05f65df963a7e304ab62449be6d693c781ba)
[bwh: Replace CONFIG_NET_CADENCE with CONFIG_NET_VENDOR_CADENCE]
2019-01-05 20:13:50 +00:00
Salvatore Bonaccorso c91e16558f ipv6: Consider sk_bound_dev_if when binding a socket to an address
Closes: #918103
2019-01-04 10:33:34 +01:00
Yves-Alexis Perez f58750e12d smb3: fix large reads on encrypted connections 2019-01-02 10:39:19 +01:00
Ben Hutchings 80c2596a7c Add pkg.linux.nokernel build profile that excludes kernel image/header packages
This should mostly be useful for testing changes that only affect
the userland packages.
2019-01-01 19:27:10 +00:00
Ben Hutchings fdd6dadb4a Use dh_listpackages to determine which packages to build
The packages we should build are restricted by:

* Package configuration in debian/config (limits which binary packages are
  included in debian/control)
* Architecture (specified per package in debian/templates/control.* and
  then in debian/control)
* Build profile (specified per package in debian/templates/control.* and
  then in debian/control)

The logic for these restrictions is currently repeated in
debian/rules.real, but sometimes it becomes inconsistent with
debian/control (as with my recent changes for libbpf).

dh_listpackages reads debian/control and filters it by the current
host architecture and build profiles, so that it reliably reports
which packages we should build.

Therefore:

* Replace the logic in debian/rules.real with checks for package names
  in the output of dh_listpackages
* Remove the redundant flag variables passed by debian/rules and
  debian/rules.gen
* Remove the special-casing of stage1 in debian/rules and
  debian/rules.gen
2019-01-01 18:29:56 +00:00
Ben Hutchings 46fcfa88d1 [ia64,m68k] libbpf: Really don't build on architectures without perf events
The architecture filtering needs to be done in debian/rules.real as well.
2019-01-01 16:38:41 +00:00
John Paul Adrian Glaubitz ce458bb4d5 [m68k] Add patch to build with -ffreestanding to fix FTBFS 2018-12-30 10:31:31 +01:00
Salvatore Bonaccorso 77c3f59731 Prepare to release linux (4.19.13-1). 2018-12-30 10:04:03 +01:00
Salvatore Bonaccorso fae8df0f68 Update to 4.19.13
Drop iomap-Revert-fs-iomap.c-get-put-the-page-in-iomap_pa.patch

Drop usb-hso-fix-oob-memory-access-in-hso_probe-hso_get_config_data.patch

Add bug closer for #917569

Cleanup debian/changelog file
2018-12-29 14:21:52 +01:00
Ben Hutchings f8450c79c8 Fix pycodestyle "inalid escape sequence" warnings 2018-12-28 15:35:50 +00:00
Ben Hutchings a54c09f109 Fix pycodestyle "line break after binary operator" warnings 2018-12-28 15:35:38 +00:00
Ben Hutchings 32af5cef75 debian/lib/python/debian_linux/debian.py: Fix deprecated import of MutableSet
Python 3.7 warns:

.../debian/lib/python/debian_linux/debian.py:403: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class PackageArchitecture(collections.MutableSet):
2018-12-28 15:35:29 +00:00
Romain Perier 5b89c3198f [rt] Update to 4.19.10-rt8 2018-12-28 10:04:16 +01:00
Salvatore Bonaccorso 7fb96c41ce USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data (CVE-2018-19985) 2018-12-27 09:00:59 +01:00
Ben Hutchings 130a6a563b [riscv64] tools uapi: fix RISC-V 64-bit support
Apply Aurelien's patch instead of mine.
2018-12-26 01:44:33 +00:00
Ben Hutchings 6a75ed21c7 [powerpcspe] Fix -mcpu= options for SPE-only compiler 2018-12-26 00:06:02 +00:00
Ben Hutchings 562a1601c8 [powerpc,powerpcspe,ppc64] linux-config: Eliminate config.*_bootwrapper.gz files
On powerpc architectures that may use a bootwrapper, we create a
temporary build_<arch>_<featureset>_<flavour>_bootwrapper directory
for each kernel configuration to hold the related tools which we won't
install for real (because they are always native).

This directory is then matched by the wildcard used in building
linux-config, causing linux-config packages to contain spurious
(empty) kconfig files based on these directories in addition to the
real kconfig files.

Rename the temporary directory to avoid matching that wildcard.
2018-12-25 23:20:03 +00:00
Ben Hutchings 64e3d0683d [riscv64] tools/include/.../bitsperlong.h: Add support for riscv 2018-12-25 23:02:20 +00:00
Ben Hutchings 01f97819f6 [ia64,m68k] libbpf: Don't build on architectures without performance events 2018-12-25 23:01:57 +00:00
Ben Hutchings 248736d493 linux-image-*-unsigned: Remove Provides field (Closes: #916927)
In unstable, linux-image-*-unsigned packages and any corresponding
metapackage updates tend to be available a few hours before the
corresponding signed packages.  An automatic upgrade with aptitude (at
least) may then install the unsigned kernel where a signed kernel
was previously used, resulting in boot failure.

I gave the linux-image-*-unsigned packages a Provides relation to the
unsuffixed (i.e. signed) package name because I thought packages built
by module-assistant generally depended on the corresponding kernel
package.  That may have been true once but doesn't appear to be so
now.

So the Provides field can be harmful and doesn't appear to be useful,
and should be removed.
2018-12-25 20:00:34 +00:00
Uwe Kleine-König 96ff8f1ba0 [armhf] enable some kconfig items for Allwinner SoCs 2018-12-23 17:31:16 +01:00
Salvatore Bonaccorso 4097f88361 Prepare to release linux (4.19.12-1). 2018-12-22 09:06:46 +01:00
Salvatore Bonaccorso 6886800dea iomap: Revert "fs/iomap.c: get/put the page in iomap_page_create/release()" 2018-12-21 23:14:53 +01:00
Salvatore Bonaccorso be9c4f49fd debian/changelog: Add back one relevant entry ("fs/iomap.c: get/put the page in iomap_page_create/release()")
This patch needs to be reverted for now as per upstream in
https://git.kernel.org/linus/a837eca2412051628c0529768c9bc4f3580b040e

Gbp-Dch: Ignore
2018-12-21 23:06:36 +01:00
Salvatore Bonaccorso 3c623d29c0 Update to 4.19.12
Cleanup debian/changelog file
2018-12-21 21:37:20 +01:00
Romain Perier 9237824a62 Remove not-enabled features from changelog 2018-12-20 12:22:49 +01:00
Salvatore Bonaccorso 6d099e7212 Update to 4.19.11
Drop ARM-dts-bcm2837-Fix-polarity-of-wifi-reset-GPIOs.patch

Cleanup debian/changelog file
2018-12-20 08:51:48 +01:00
Bastian Blank 27af619b3a Ignore various ABI changes 2018-12-18 21:40:24 +01:00
Bastian Blank a484545688 Merge branch 'noahm/linux-4.19.5+ena202' into sid
Backport Amazon ENA ethernet driver version 2.0.2 from Linux 4.20

See merge request kernel-team/linux!77
2018-12-18 21:14:09 +01:00
Bastian Blank 68fcddf0f3 Merge branch 'master' into sid 2018-12-18 20:36:28 +01:00
Uwe Kleine-König 12e23cb061 [arm] Fix reset polarity of the wifi device on Raspberry Pi 3 2018-12-18 20:32:51 +01:00
Ben Hutchings d19f7ed1a4 linux-perf: Fix installation directories for BPF headers and examples
Closes: #916774
2018-12-18 17:20:51 +00:00
Ben Hutchings aaa2152dc5 linux-perf: Fix build-time check for unversioned files
The current check has never worked because the find -path predicate
matches against the whole path, including the given root.  In this
case that is $DESTDIR which always includes the version string.
Change to use cd before find.

Also, check all non-directories rather than all entries with "perf" in
the name.
2018-12-18 17:04:08 +00:00
Romain Perier 718d2285c2 Update to 4.19.10 2018-12-18 10:45:45 +01:00
Noah Meyerhans 3024a2d70d drivers/net/ethernet/amazon: Backport v2.0.2 from Linux 4.20
Backport Amazon ENA ethernet driver version 2.0.2 from Linux 4.20

This mostly ammounts to cherry-picking the commits in the range described by
git log v4.19.5..v4.20-rc7 drivers/net/ethernet/amazon

Change e641e99f261f5203a911a9e0db54a214460d2cc4 introduced changes outside the
ena directory, but only removed a redundant #include and was trivial to scope
down.

Upstream dealt with merge conflicts in
d864991b220b7c62e81d21209e1fd978fd67352c; the resolution here was identical to
upstream.
2018-12-17 23:47:08 -08:00
Uwe Kleine-König a48b719088 [arm] Fix probing of 3rd gpio device on Armada 370. 2018-12-17 11:30:59 +01:00
Bastian Blank 9b22ee4b80 Prepare to release linux (4.19.9-1) 2018-12-16 19:46:40 +01:00
Bastian Blank ddc3772e93 Enable EFI_BOOTLOADER_CONTROL, EFI_CAPSULE_LOADER 2018-12-16 18:38:21 +01:00
Bastian Blank f027037f86 [x86] Enable DRM_XEN_FRONTEND 2018-12-16 18:23:38 +01:00
Bastian Blank 443f43fdf3 Enable netfilter flow table support 2018-12-16 18:21:04 +01:00
Bastian Blank b997f7d5e5 Enable IP_VS_MH 2018-12-16 18:15:09 +01:00
Bastian Blank 6069ca359b Enable NFT_CONNLIMIT, NFT_TUNNEL, NFT_SOCKET, NFT_OSF, NFT_TPROXY 2018-12-16 18:13:08 +01:00
Salvatore Bonaccorso 24537c953a Add changelog entry for CVE-2018-19824 2018-12-16 16:04:04 +01:00
Hans van Kranenburg 4d63e6ccbb [x86] Support booting a Xen PVH guest via Grub2
tl;dr: Xen PVH is the perfect upgrade path from PV and in combination
with grub2 support, it's the Xen "killer feature" we really should have
in Buster.

    Background info about Xen PVH:
https://wiki.xen.org/wiki/Virtualization_Spectrum#Almost_fully_PV:_PVH_mode

PVH mode in Xen, a.k.a. "HVM without having to run qemu" is a Xen guest
type best supported since Xen 4.11 and Linux kernel 4.17. Just like when
using PV mode, the guest does not have an emulated BIOS and the guest
kernel is directly started by the dom0. Buster will ship with Xen 4.11.

   Why is PVH interesting?

1. When the whole Meltdown/Spectre story started, it quickly became
apparent that 64-bit PV is the most problematic virtualization mode to
protect and to protect from, since address space from the hypervisor and
other guests (including dom0) is reachable from a 64-bit PV domU. To
mitigate this, XPTI (the Xen variant of PTI) has been implemented in the
hypervisor, but with a performance hit. HVM (so, also PVH) guests are
better isolated from the hypervisor and other guests. Inside the guest a
choice can be made about which mitigations to enable or not.  Also see
https://xenbits.xen.org/xsa/advisory-254.html

2. Unlike HVM, it's not needed to have a boot loader/sector, partitions,
and a qemu process in the dom0 (using cpu and memory and having an
attack surface).  Also, when running a largeish amount of domUs on a
physical server, not having all the qemu processes is an advantage.

3. Unlike PV, PVH makes use of all hardware features that accelerate
virtualization.

   The upgrade path from PV to PVH is super optimal. It's just setting
type='pvh' in the guest file and doing a full restart of the domU!

Unless... (insert Monty Python's Dramatic Chord!)

Unless... grub2 was used to boot the PV guests.

   Why is it interesting to be able to use grub?

Without using grub in between, the guest kernel and initrd have to be
copied out of the guest onto the dom0 filesystem, because the guest has
to be booted with them directly.  Currently, we already have the
grub-xen packages in Debian, which provide grub images which can be used
as kernel for a PV guest, after which it can load the actual linux
kernel that is symlinked from /vmlinuz on the guest filesystem at that
moment.

The final changes to the Linux kernel for grub+PVH are in Linux 4.20.
This request, to carry a few patches from Linux 4.20, provides one half
of the dots that need to be connected to make the full thing happen for
Buster.

Since we'll have Xen 4.11 in Buster, PVH is supported. The related grub2
patchset was committed to the grub master branch on Dec 12 2018 (yup,
today). So, I'll also start contacting the debian grub team soon to ask
(and help) to get the current grub-xen functionality in Debian to be
extended with PVH capabilities as well.

Test reports:
https://lists.xenproject.org/archives/html/xen-devel/2018-10/msg01913.html
https://lists.xenproject.org/archives/html/xen-devel/2018-11/msg03312.html
2018-12-14 16:55:04 +01:00
Romain Perier 79a9cada15 [rt] Update to 4.19.8-rt6 2018-12-14 10:56:14 +01:00
Ben Hutchings eea45f09a7 Merge branch 'enable-morus-and-aegis' into 'master'
Enable MORUS and AEGIS AEAD ciphers

See merge request kernel-team/linux!83
2018-12-14 05:52:27 +00:00
Salvatore Bonaccorso dfa9b24000 Update to 4.19.9
Drop vhost-vsock-fix-use-after-free-in-network-stack-call.patch

Cleanup debian/changelog file
2018-12-13 09:42:28 +01:00
Christoph Anton Mitterer 52a8f5d992 Enable MORUS and AEGIS AEAD ciphers
Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
2018-12-13 05:43:02 +01:00
Hans van Kranenburg edc7c6ee64 [x86] Fix booting as Xen dom0
This patch is from the tip repo, and will show up in 4.19 later.
2018-12-12 15:57:21 +01:00
Ben Hutchings 17d52832bc Merge branch 'libbpf-pr' into 'master'
Add libbpf0, libbpf-dev packages (#914428)

See merge request kernel-team/linux!74
2018-12-09 21:40:33 +00:00
Hilko Bengen 9eeeda7c0d Add versioned libbpf, libbpf-dev package (Closes: #914428) 2018-12-09 22:11:42 +01:00
Ben Hutchings 1240fb3ac3 integrity: Disable INTEGRITY_TRUSTED_KEYRING (Closes: #865277) 2018-12-08 21:34:33 +00:00
Ben Hutchings a5cdd1f2cb Merge branch 'master' of salsa.debian.org:nsc-guest/linux 2018-12-08 18:58:30 +00:00
Salvatore Bonaccorso d7534bd9b6 vhost/vsock: fix use-after-free in network stack callers (CVE-2018-14625) 2018-12-08 15:40:45 +01:00
Salvatore Bonaccorso a69098a3f1 Prepare to upload to unstable
Drop the ~exp1 from the version.

Set ABI to 1.
2018-12-08 15:05:46 +01:00
Hilko Bengen 4f1f7c5735 Add patches to build libbpf.so with SONAME, link against libelf 2018-12-08 15:02:05 +01:00
Salvatore Bonaccorso fae4befcc9 Merge branch 'sid' 2018-12-08 15:02:01 +01:00
Nicolas Schier 3436e1c735
ovl: permit overlayfs mounts in user namespaces (Closes: #913880)
Permit overlayfs mounts within user namespaces to allow utilisation of e.g.
unprivileged LXC overlay snapshots.

Except by the Ubuntu community [1], overlayfs mounts in user namespaces are
expected to be a security risk [2] and thus are not enabled on upstream
Linux kernels.  For the non-Ubuntu users that have to stick to unprivileged
overlay-based LXCs, this meant to patch and compile the kernel manually.
Instead, adding the kernel tainting 'permit_mounts_in_userns' module
parameter allows a kind of a user-friendly way to enable the feature.

Testable with:

    sudo modprobe overlay permit_mounts_in_userns=1
    sudo sysctl -w kernel.unprivileged_userns_clone=1
    mkdir -p lower upper work mnt
    unshare --map-root-user --mount \
        mount -t overlay none mnt \
              -o lowerdir=lower,upperdir=upper,workdir=work

[1]: Ubuntu allows unprivileged mounting of overlay filesystem
https://lists.ubuntu.com/archives/kernel-team/2014-February/038091.html

[2]: User namespaces + overlayfs = root privileges
https://lwn.net/Articles/671641/

Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>
2018-12-08 12:34:31 +00:00
Salvatore Bonaccorso 014c728272 Update to 4.19.8
Drop patches applied upstream in 4.19.8

Cleanup debian/changelog file

Add CVE id for CVE-2018-18397
2018-12-08 13:27:04 +01:00
Salvatore Bonaccorso 4237db03be blk-mq: punt failed direct issue to dispatch list 2018-12-08 11:28:12 +01:00
Salvatore Bonaccorso 771f295a0f blk-mq: fix corruption with direct issue
Closes: #915666
2018-12-06 17:39:15 +01:00
Salvatore Bonaccorso 1966fd8d99 Add CVE id information for CVE-2018-16862
Gbp-Dch: Ignore
2018-12-05 22:16:56 +01:00
Salvatore Bonaccorso 72b28400e1 Move debian/changelog entry to upstream entry for CVE-2018-19406
Gbp-Dch: Ignore
2018-12-05 20:44:39 +01:00
Romain Perier 5222653db6 Update to 4.19.7 2018-12-05 19:59:32 +01:00
Romain Perier 36bf3a2656 Update to 4.19.5-rt4 2018-12-04 21:08:34 +01:00
Salvatore Bonaccorso 37094dbb55 [x86] KVM: LAPIC: Fix pv ipis use-before-initialization (CVE-2018-19406) 2018-12-03 21:11:24 +01:00
Ben Hutchings 64dab5b29a libcpupower: Hide private function and drop it from .symbols file
This avoids an FTBFS after this function was renamed in 4.19.6.
2018-12-02 19:23:13 +00:00
Ben Hutchings 5a00e93df2 debian/rules: Mark more targets as phony 2018-12-01 19:18:56 +00:00
Ben Hutchings 63b7ced1fc debian/rules.real: Mark most targets as phony 2018-12-01 18:59:32 +00:00
Ben Hutchings 94a9229d27 Merge branch 'tools' into 'master'
Split build rules for tools to fix build without unversioned tools

See merge request kernel-team/linux!69
2018-12-01 18:53:13 +00:00
Salvatore Bonaccorso 53423211c4 Update to 4.19.6 2018-12-01 11:38:04 +01:00
Luca Boccassi b193cef0c3 Override dbg-package-missing-depends in source too
Lintian now warns about it on the source package as well.

Signed-off-by: Luca Boccassi <bluca@debian.org>
2018-11-30 14:03:52 +00:00
Luca Boccassi 6de833bc7e Do not ship python2-only call-graph-from-sql. 2018-11-30 14:03:52 +00:00
Luca Boccassi f5f169ba99 Split build rules for tools to allow skipping them.
Split the rules in d/rules.real so that the [un]versioned_tools
knobs can be used to avoid building them.

This is necessary since the build-dependency were moved to be
conditional on those knobs, so the build fails when the
unversioned tools are set to disabled as libpci-dev is not
installed but the tools are built and fail due to it missing.

Signed-off-by: Luca Boccassi <bluca@debian.org>
2018-11-30 14:03:52 +00:00
Uwe Kleine-König 983a169e24 Enable ATH10K_USB as a module 2018-11-30 10:39:33 +01:00
Romain Perier 4b1506935b [x86] Enable support for EDAC on the Intel Pondicherry2 Integrated Memory
Controller (Closes: #914946)
2018-11-29 16:15:55 +01:00