linux-4.9.git
8 years agofirmware_class: Log every success and failure against given device
Ben Hutchings [Sun, 9 Dec 2012 16:02:00 +0000 (16:02 +0000)]
firmware_class: Log every success and failure against given device

The hundreds of users of request_firmware() have nearly as many
different log formats for reporting failures.  They also have only the
vaguest hint as to what went wrong; only firmware_class really knows
that.  Therefore, add specific log messages for the failure modes that
aren't currently logged.

In case of a driver that tries multiple names, this may result in the
impression that it failed to initialise.  Therefore, also log successes.

This makes many error messages in drivers redundant, which will be
removed in later patches.

This does not cover the case where we fall back to a user-mode helper
(which is no longer enabled in Debian).

NOTE: hw-detect will depend on the "firmware: failed to load %s (%d)\n"
format to detect missing firmware.

Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name firmware_class-log-every-success-and-failure.patch

8 years agoiwlwifi: Do not request unreleased firmware for IWL6000
Ben Hutchings [Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)]
iwlwifi: Do not request unreleased firmware for IWL6000

The iwlwifi driver currently supports firmware API versions 4-6 for
these devices.  It will request the file for the latest supported
version and then fall back to earlier versions.  However, the latest
version that has actually been released is 4, so we expect the
requests for versions 6 and then 5 to fail.

The installer appears to report any failed request, and it is probably
not easy to detect that this particular failure is harmless.  So stop
requesting the unreleased firmware.

Gbp-Pq: Topic debian
Gbp-Pq: Name iwlwifi-do-not-request-unreleased-firmware.patch

8 years agoaf9005: Use request_firmware() to load register init script
Ben Hutchings [Mon, 24 Aug 2009 22:19:58 +0000 (23:19 +0100)]
af9005: Use request_firmware() to load register init script

Read the register init script from the Windows driver.  This is sick
but should avoid the potential copyright infringement in distributing
a version of the script which is directly derived from the driver.

Gbp-Pq: Topic features/all
Gbp-Pq: Name drivers-media-dvb-usb-af9005-request_firmware.patch

8 years agoInstall perf scripts non-executable
Bastian Blank [Fri, 7 Oct 2011 20:37:52 +0000 (21:37 +0100)]
Install perf scripts non-executable

[bwh: Forward-ported to 3.12]

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install.patch

8 years agoCreate manpages and binaries including the version
Bastian Blank [Mon, 26 Sep 2011 12:53:12 +0000 (13:53 +0100)]
Create manpages and binaries including the version

[bwh: Fix version insertion in perf man page cross-references and perf
man page title.  Install bash_completion script for perf with a
version-dependent name.  And do the same for trace.]

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-version.patch

8 years agomodpost symbol prefix setting
Chris Boot [Mon, 1 Jul 2013 22:10:02 +0000 (23:10 +0100)]
modpost symbol prefix setting

[bwh: The original version of this was added by Bastian Blank.  The
upstream code includes <generated/autoconf.h> so that <linux/export.h>
can tell whether C symbols have an underscore prefix.  Since we build
modpost separately from the kernel, <generated/autoconf.h> won't exist.
However, no Debian Linux architecture uses the symbol prefix, so we
can simply omit it.]

Gbp-Pq: Topic debian
Gbp-Pq: Name modpost-symbol-prefix.patch

8 years agoKbuild: kconfig: Verbose version of --listnewconfig
Ben Hutchings [Tue, 14 Sep 2010 03:33:34 +0000 (04:33 +0100)]
Kbuild: kconfig: Verbose version of --listnewconfig

If the KBUILD_VERBOSE environment variable is set to non-zero, show
the default values of new symbols and not just their names.

Based on work by Bastian Blank <waldi@debian.org> and
maximilian attems <max@stro.at>.  Simplified by Michal Marek
<mmarek@suse.cz>.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic features/all
Gbp-Pq: Name Kbuild-kconfig-Verbose-version-of-listnewconfig.patch

8 years agopowerpcspe-omit-uimage
Debian Kernel Team [Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)]
powerpcspe-omit-uimage

Gbp-Pq: Topic debian
Gbp-Pq: Name powerpcspe-omit-uimage.patch

8 years agoFix uImage build
Nobuhiro Iwamatsu [Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)]
Fix uImage build

[bwh: This was added without a description, but I think it is dealing
with a similar issue to powerpcspe-omit-uimage.patch]

Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch

8 years agoPartially revert "MIPS: Add -Werror to arch/mips/Kbuild"
Ben Hutchings [Mon, 13 Sep 2010 01:16:18 +0000 (02:16 +0100)]
Partially revert "MIPS: Add -Werror to arch/mips/Kbuild"

This reverts commit 66f9ba101f54bda63ab1db97f9e9e94763d0651b.

We really don't want to add -Werror anywhere.

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-disable-werror.patch

8 years agoTweak gitignore for Debian pkg-kernel using git svn.
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git svn.

[bwh: Tweak further for pure git]

Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch

8 years agokbuild: Make the toolchain variables easily overwritable
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable

Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.

We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, CFLAGS_KERNEL and CFLAGS_MODULE.

This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.

Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch

8 years agoMake mkcompile_h accept an alternate timestamp string
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string

We want to include the Debian version in the utsname::version string
instead of a full timestamp string.  However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.

Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.

Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch

8 years agoInclude package version along with kernel release in stack traces
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces

For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.

Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch

8 years agolinux (4.9.51-1) stretch; urgency=medium
Ben Hutchings [Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)]
linux (4.9.51-1) stretch; urgency=medium

  * New upstream stable update:
    https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.48
    - [x86] i2c: ismt: Don't duplicate the receive length for block reads
    - [x86] i2c: ismt: Return EMSGSIZE for block reads with bogus length
    - crypto: algif_skcipher - only call put_page on referenced and used pages
    - mm, uprobes: fix multiple free of ->uprobes_state.xol_area
    - mm, madvise: ensure poisoned pages are removed from per-cpu lists
    - ceph: fix readpage from fscache
    - cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs
    - cpuset: Fix incorrect memory_pressure control file mapping
    - CIFS: Fix maximum SMB2 header size
    - lib/mpi: kunmap after finishing accessing buffer
    - drm/ttm: Fix accounting error when fail to get pages for pool
    - [armhf,arm64] kvm: Force reading uncached stage2 PGD
    - epoll: fix race between ep_poll_callback(POLLFREE) and
      ep_free()/ep_remove()
    https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.49
    - usb:xhci:Fix regression when ATI chipsets detected
    - [armhf] USB: musb: fix external abort on suspend
    - USB: core: Avoid race of async_completed() w/ usbdev_release()
    - [x86] staging/rts5208: fix incorrect shift to extract upper nybble
    - driver core: bus: Fix a potential double free
    - ath10k: fix memory leak in rx ring buffer allocation
    - Input: trackpoint - assume 3 buttons when buttons detection fails
    - rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter
    - dlm: avoid double-free on error path in dlm_device_{register,unregister}
    - mwifiex: correct channel stat buffer overflows
    - [s390x] mm: avoid empty zero pages for KVM guests to avoid postcopy hangs
    - drm/nouveau/pci/msi: disable MSI on big-endian platforms by default
    - scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE
    - scsi: sg: recheck MMAP_IO request length with lock held
    - [arm64] drm/bridge: adv7511: Use work_struct to defer hotplug handing to
      out of irq context
    - [arm64] drm/bridge: adv7511: Switch to using
      drm_kms_helper_hotplug_event()
    https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.50
    - [armhf] mtd: nand: mxc: Fix mxc_v1 ooblayout
    - nvme-fabrics: generate spec-compliant UUID NQNs
    - btrfs: resume qgroup rescan on rw remount
    - mm/memory.c: fix mem_cgroup_oom_disable() call missing
    - ALSA: msnd: Optimize / harden DSP and MIDI loops
    - [arm64] dts: marvell: armada-37xx: Fix GIC maintenance interrupt
    - [armhf] 8692/1: mm: abort uaccess retries upon fatal signal
    - NFS: Fix 2 use after free issues in the I/O code
    - NFS: Sync the correct byte range during synchronous writes
    https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.51
    - ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt()
    - ipv6: add rcu grace period before freeing fib6_node
    - macsec: add genl family module alias
    - udp: on peeking bad csum, drop packets even if not at head
    - qlge: avoid memcpy buffer overflow
    - [x86] netvsc: fix deadlock betwen link status and removal
    - cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox()
    - kcm: do not attach PF_KCM sockets to avoid deadlock
    - Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"
    - bridge: switchdev: Clear forward mark when transmitting packet
    - Revert "net: use lib/percpu_counter API for fragmentation mem accounting"
    - Revert "net: fix percpu memory leaks"
    - gianfar: Fix Tx flow control deactivation
    - vhost_net: correctly check tx avail during rx busy polling
    - ip6_gre: update mtu properly in ip6gre_err
    - ipv6: fix memory leak with multiple tables during netns destruction
    - ipv6: fix typo in fib6_net_exit()
    - sctp: fix missing wake ups in some situations
    - ip_tunnel: fix setting ttl and tos value in collect_md mode
    - f2fs: let fill_super handle roll-forward errors
    - f2fs: check hot_data for roll-forward recovery
    - [amd64] fsgsbase: Fully initialize FS and GS state in start_thread_common
    - [amd64] fsgsbase: Report FSBASE and GSBASE correctly in core dumps
    - [amd64] switch_to: Rewrite FS/GS switching yet again to fix AMD CPUs
    - xfs: fix spurious spin_is_locked() assert failures on non-smp kernels
    - xfs: push buffer of flush locked dquot to avoid quotacheck deadlock
    - xfs: try to avoid blowing out the transaction reservation when bunmaping
      a shared extent
    - xfs: release bli from transaction properly on fs shutdown
    - xfs: remove bli from AIL before release on transaction abort
    - xfs: don't allow bmap on rt files
    - xfs: free uncommitted transactions during log recovery
    - xfs: free cowblocks and retry on buffered write ENOSPC
    - xfs: don't crash on unexpected holes in dir/attr btrees
    - xfs: check _btree_check_block value
    - xfs: set firstfsb to NULLFSBLOCK before feeding it to _bmapi_write
    - xfs: check _alloc_read_agf buffer pointer before using
    - xfs: fix quotacheck dquot id overflow infinite loop
    - xfs: fix multi-AG deadlock in xfs_bunmapi
    - xfs: Fix per-inode DAX flag inheritance
    - xfs: fix inobt inode allocation search optimization
    - xfs: clear MS_ACTIVE after finishing log recovery
    - xfs: don't leak quotacheck dquots when cow recovery
    - iomap: fix integer truncation issues in the zeroing and dirtying helpers
    - xfs: write unmount record for ro mounts
    - xfs: toggle readonly state around xfs_log_mount_finish
    - xfs: Properly retry failed inode items in case of error during buffer
      writeback
    - xfs: fix recovery failure when log record header wraps log end
    - xfs: always verify the log tail during recovery
    - xfs: fix log recovery corruption error due to tail overwrite
    - xfs: handle -EFSCORRUPTED during head/tail verification
    - xfs: stop searching for free slots in an inode chunk when there are none
    - xfs: evict all inodes involved with log redo item
    - xfs: check for race with xfs_reclaim_inode() in xfs_ifree_cluster()
    - xfs: don't log dirty ranges for ordered buffers
    - xfs: skip bmbt block ino validation during owner change
    - xfs: move bmbt owner change to last step of extent swap
    - xfs: disallow marking previously dirty buffers as ordered
    - xfs: relog dirty buffers during swapext bmbt owner change
    - xfs: disable per-inode DAX flag
    - xfs: fix incorrect log_flushed on fsync
    - xfs: don't set v3 xflags for v2 inodes
    - xfs: open code end_buffer_async_write in xfs_finish_page_writeback
    - md/raid5: release/flush io in raid5_do_work()
    - ipv6: Fix may be used uninitialized warning in rt6_check

  [ Ben Hutchings ]
  * Fix regressions caused by fix for CVE-2016-7097 (Closes: #873026):
    - ext4: preserve i_mode if __ext4_set_acl() fails
    - ext4: Don't clear SGID when inheriting ACLs
  * [mips{,64}el/loongson-3] Add support for Loongson-3A/B 3000 CPUs, thanks to
    YunQiang Su (Closes: #871701):
    - Add Loongson-3A R3 basic support
    - Add NMI handler support
    - Support 4 packages in CPU Hwmon driver
    - IRQ balancing for PCI devices
    - support irq_set_affinity() in i8259 chip
    - Make enum loongson_cpu_type more clear
  * [ppc64el] Invalidate ERAT on powersave wakeup for POWER9, thanks to
    Michael Neuling (Closes: #868887)
  * ip6_fib: Avoid ABI change in 4.9.51
  * inet_frag: Limit ABI change in 4.9.51
  * nfs: Ignore ABI change in 4.9.50

[dgit import unpatched linux 4.9.51-1]

8 years agoImport linux_4.9.51.orig.tar.xz
Ben Hutchings [Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)]
Import linux_4.9.51.orig.tar.xz

[dgit import orig linux_4.9.51.orig.tar.xz]

8 years agoImport linux_4.9.51-1.debian.tar.xz
Ben Hutchings [Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)]
Import linux_4.9.51-1.debian.tar.xz

[dgit import tarball linux 4.9.51-1 linux_4.9.51-1.debian.tar.xz]