summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ben Hutchings [Mon, 12 Mar 2018 01:14:03 +0000 (01:14 +0000)]
firmware_class: Refer to Debian wiki page when logging missing firmware
Bug-Debian: https://bugs.debian.org/888405
Forwarded: not-needed
If firmware loading fails due to a missing file, log a second error
message referring to our wiki page about firmware. This will explain
why some firmware is in non-free, or can't be packaged at all. Only
do this once per boot.
Do something similar in the radeon and amdgpu drivers, where we have
an early check to avoid failing at a point where we cannot display
anything.
Gbp-Pq: Topic debian
Gbp-Pq: Name firmware_class-refer-to-debian-wiki-firmware-page.patch
Ben Hutchings [Tue, 8 Jan 2013 03:25:52 +0000 (03:25 +0000)]
radeon, amdgpu: Firmware is required for DRM and KMS on R600 onward
Bug-Debian: https://bugs.debian.org/607194
Bug-Debian: https://bugs.debian.org/607471
Bug-Debian: https://bugs.debian.org/610851
Bug-Debian: https://bugs.debian.org/627497
Bug-Debian: https://bugs.debian.org/632212
Bug-Debian: https://bugs.debian.org/637943
Bug-Debian: https://bugs.debian.org/649448
Bug-Debian: https://bugs.debian.org/697229
Forwarded: no
radeon requires firmware/microcode for the GPU in all chips, but for
newer chips (apparently R600 'Evergreen' onward) it also expects
firmware for the memory controller and other sub-blocks.
radeon attempts to gracefully fall back and disable some features if
the firmware is not available, but becomes unstable - the framebuffer
and/or system memory may be corrupted, or the display may stay black.
Therefore, perform a basic check for the existence of
/lib/firmware/{radeon,amdgpu} when a device is probed, and abort if it
is missing, except for the pre-R600 case.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name radeon-amdgpu-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
Ben Hutchings [Sun, 9 Dec 2012 16:40:31 +0000 (16:40 +0000)]
firmware: Remove redundant log messages from drivers
Forwarded: no
Now that firmware_class logs every success and failure consistently,
many other log messages can be removed from drivers.
This will probably need to be split up into multiple patches prior to
upstream submission.
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name firmware-remove-redundant-log-messages-from-drivers.patch
Ben Hutchings [Sun, 9 Dec 2012 16:02:00 +0000 (16:02 +0000)]
firmware_class: Log every success and failure against given device
Forwarded: no
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
Ben Hutchings [Sat, 6 Feb 2021 08:23:52 +0000 (08:23 +0000)]
iwlwifi: Do not request unreleased firmware for IWL6000
Bug-Debian: https://bugs.debian.org/689416
Forwarded: not-needed
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
Ben Hutchings [Mon, 24 Aug 2009 22:19:58 +0000 (23:19 +0100)]
af9005: Use request_firmware() to load register init script
Forwarded: no
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
Ben Hutchings [Thu, 10 Dec 2020 16:31:39 +0000 (17:31 +0100)]
kbuild: Look for module.lds under arch directory too
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/975571
The module.lds linker script is now built under the scripts directory,
where previously it was under arch/$(SRCARCH).
However, we package the scripts directory as linux-kbuild, which is
meant to be able to do support native and cross-builds. That means it
shouldn't contain files for a specific target architecture without a
wrapper to select between them, and it doesn't appear that linker
scripts are powerful enough to implement such a wrapper.
Building module.lds in a different location would require relatively
large changes. Moving it in the package build rules can work, but we
need to support custom kernel builds from the same source so we can't
assume it's moved.
Therefore, we move module.lds under the arch build directory in
rules.real and change Makefile.modfinal to look for it in both places.
Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-look-for-module.lds-under-arch-directory-too.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:37 +0000 (09:44 +0000)]
[PATCH 2/2] perf/traceevent: Support asciidoctor for documentation
From
cd02fc78859ef9aefd7c92406f9523622da0b472 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name perf-traceevent-support-asciidoctor-for-documentatio.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:19 +0000 (09:44 +0000)]
[PATCH 1/2] Documentation: Drop sphinx version check
From
252aa79fdbd4ac2da09d9b98f81bf11f5e3e1870 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name documentation-drop-sphinx-version-check.patch
Ben Hutchings [Fri, 22 Jun 2018 16:27:00 +0000 (17:27 +0100)]
android: Enable building ashmem and binder as modules
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
- Add a MODULE_LICENSE declaration to ashmem
- Change the Makefiles to build each driver as an object with the
"_linux" suffix (which is what Anbox expects)
- Change config symbol types to tristate
Gbp-Pq: Topic debian
Gbp-Pq: Name android-enable-building-ashmem-and-binder-as-modules.patch
Ben Hutchings [Mon, 7 Sep 2020 01:51:53 +0000 (02:51 +0100)]
Export symbols needed by Android drivers
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
Export the currently un-exported symbols they depend on.
Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch
Ben Hutchings [Fri, 13 Apr 2018 19:10:28 +0000 (20:10 +0100)]
wireless: Add Debian wireless-regdb certificates
Forwarded: not-needed
This hex dump is generated using:
{
for cert in debian/certs/wireless-regdb-*.pem; do
openssl x509 -in $cert -outform der;
done
} | hexdump -v -e '1/1 "0x%.2x," "\n"' > net/wireless/certs/debian.hex
Gbp-Pq: Topic debian
Gbp-Pq: Name wireless-add-debian-wireless-regdb-certificates.patch
Bastian Blank [Fri, 7 Oct 2011 20:37:52 +0000 (21:37 +0100)]
Install perf scripts non-executable
Forwarded: no
[bwh: Forward-ported to 4.13]
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install.patch
Bastian Blank [Mon, 26 Sep 2011 12:53:12 +0000 (13:53 +0100)]
Create manpages and binaries including the version
Forwarded: no
[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
Nobuhiro Iwamatsu [Sat, 6 Feb 2021 08:23:52 +0000 (08:23 +0000)]
[sh4] Fix uImage build
Bug-Debian: https://bugs.debian.org/569034
Forwarded: not-needed
[bwh: This was added without a description, but I think it is done
only to avoid a build-dependency on u-boot-tools.]
Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch
YunQiang Su [Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)]
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
Forwarded: not-needed
There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.
To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.
https://web.archive.org/web/
20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Disable uImage generation for mips generic
Forwarded: not-needed
MIPS generic trys to generate uImage when build, which then ask for
u-boot-tools.
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-boston-disable-its.patch
Ben Hutchings [Mon, 13 Sep 2010 01:16:18 +0000 (02:16 +0100)]
[PATCH] Partially revert "MIPS: Add -Werror to arch/mips/Kbuild"
Forwarded: not-needed
This reverts commits
66f9ba101f54bda63ab1db97f9e9e94763d0651b and
5373633cc9253ba82547473e899cab141c54133e.
We really don't want to add -Werror anywhere.
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-disable-werror.patch
dann frazier [Mon, 26 Mar 2007 22:30:51 +0000 (16:30 -0600)]
Hardcode arch script output
Bug-Debian: https://bugs.debian.org/392592
Forwarded: not-needed
Here's a patch that simply uses hardcoded definitions instead of
doing the dynamic tests that require architecture-specific scripts.
I don't particularly like this approach because it restricts
portability and diverts from upstream. But, it is simpler, and this
really needs to be fixed somehow before etch (along with a rebuild of
linux-modules-extra-2.6), so I'm willing to live with it if my other
patch is deemed unacceptable.
My primary concern is that, in the future, the output of these scripts
will change and we (or our successors) will either not notice or
forget to update the hardcoded values.
Including the scripts in linux-kbuild will avoid this manual step
altogether, and allow for the possibility of other archs to provide
their own scripts in the future.
Gbp-Pq: Topic debian
Gbp-Pq: Name ia64-hardcode-arch-script-output.patch
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable
Forwarded: not-needed
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, KCFLAGS.
This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.
[bwh: Updated for 5.3: include .kernelvariables from current directory
rather than using undefined $(obj).]
Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string
Forwarded: not-needed
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
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces
Forwarded: not-needed
For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.
Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch
Ben Hutchings [Sat, 24 Aug 2019 18:00:41 +0000 (19:00 +0100)]
Documentation: Fix broken link to CIPSO draft
Forwarded: not-needed
We exclude the CIPSO draft text as its licence is not DFSG compliant.
Link to the IETF's online version instead.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name documentation-fix-broken-link-to-cipso-draft.patch
Ben Hutchings [Sat, 2 Jun 2012 18:53:38 +0000 (19:53 +0100)]
video: Remove nvidiafb and rivafb
Bug-Debian: https://bugs.debian.org/383481
Forwarded: no
These drivers contain register programming code provided by the
hardware vendor that appears to have been deliberately obfuscated.
This is arguably not the preferred form for modification.
These drivers are also largely redundant with nouveau. The RIVA 128
(NV3) is not supported by nouveau but is about 15 years old and
probably discontinued 10 years ago.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name video-remove-nvidiafb-and-rivafb.patch
Frederik Schüler [Fri, 5 Jan 2007 15:55:24 +0000 (15:55 +0000)]
Add removal patches for: 3c359, smctr, keyspan, cops
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-net-appletalk-cops.patch
Ben Hutchings [Sun, 27 May 2012 00:56:58 +0000 (01:56 +0100)]
vs6624: mark as broken
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name vs6624-disable.patch
Ben Hutchings [Mon, 17 Aug 2009 01:45:41 +0000 (02:45 +0100)]
dvb-usb-af9005: mark as broken
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-media-dvb-dvb-usb-af9005-disable.patch
Ben Hutchings [Mon, 13 Apr 2009 16:34:00 +0000 (17:34 +0100)]
Remove microcode patches for mgsuvd (not enabled in Debian configs)
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name arch-powerpc-platforms-8xx-ucode-disable.patch
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git svn.
Forwarded: not-needed
[bwh: Tweak further for pure git]
Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch
Salvatore Bonaccorso [Sat, 6 Feb 2021 08:23:52 +0000 (08:23 +0000)]
linux (5.10.13-1) unstable; urgency=medium
* New upstream stable update:
https://www.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.13
- iwlwifi: provide gso_type to GSO packets
- nbd: freeze the queue while we're adding connections (CVE-2021-3348)
- tty: avoid using vfs_iocb_iter_write() for redirected console writes
- ACPI: sysfs: Prefer "compatible" modalias
- ACPI: thermal: Do not call acpi_thermal_check() directly
- kernel: kexec: remove the lock operation of system_transition_mutex
- ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
- ALSA: hda/via: Apply the workaround generically for Clevo machines
- [arm64,armhf] media: cedrus: Fix H264 decoding
- media: rc: fix timeout handling after switch to microsecond durations
- [x86] media: rc: ite-cir: fix min_timeout calculation
- media: rc: ensure that uevent can be read directly after rc device
register
- [armhf] dts: tbs2910: rename MMC node aliases
- wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
- [amd64] ASoC: AMD Renoir - refine DMI entries for some Lenovo products
- drm/nouveau/kms/gk104-gp1xx: Fix > 64x64 cursors
- [x86] drm/i915: Always flush the active worker before returning from the
wait
- [x86] drm/i915/gt: Always try to reserve GGTT address 0x0
- drivers/nouveau/kms/nv50-: Reject format modifiers for cursor planes
- bcache: only check feature sets when sb->version >=
BCACHE_SB_VERSION_CDEV_WITH_FEATURES
- net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem
family
- [s390x] uv: Fix sysfs max number of VCPUs reporting
- PM: hibernate: flush swap writer after marking
- [x86] efi/apple-properties: Reinstate support for boolean properties
- btrfs: fix lockdep warning due to seqcount_mutex on 32bit arch
- btrfs: fix possible free space tree corruption with online conversion
- [x86] KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in
intel_arch_events[]
- [x86] KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in
intel_pmu_refresh()
- [arm64] KVM: Filter out v8.1+ events on v8.0 HW
- [x86] KVM: nSVM: cancel KVM_REQ_GET_NESTED_STATE_PAGES on nested vmexit
- [x86] KVM: x86: allow KVM_REQ_GET_NESTED_STATE_PAGES outside guest mode
for VMX
- [x86] KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
- [x86] KVM: get smi pending status correctly
- KVM: Forbid the use of tagged userspace addresses for memslots
- io_uring: fix wqe->lock/completion_lock deadlock
- leds: trigger: fix potential deadlock with libata
- mt7601u: fix kernel crash unplugging the device
- mt7601u: fix rx buffer refcounting
- iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.
- [x86] drm/i915/gt: Clear CACHE_MODE prior to clearing residuals
- [x86] drm/i915/pmu: Don't grab wakeref when enabling events
- [arm*] drm/vc4: Correct lbm size and calculation
- [arm*] drm/vc4: Correct POS1_SCL for hvs5
- drm/nouveau/dispnv50: Restore pushing of all data.
- [x86] drm/i915: Check for all subplatform bits
- uapi: fix big endian definition of ipv6_rpl_sr_hdr
- KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM
- [arm64] tee: optee: replace might_sleep with cond_resched
- xen-blkfront: allow discard-* nodes to be optional
- blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue
- [armhf] imx: build suspend-imx6.S with arm instruction set
- netfilter: nft_dynset: add timeout extension to template
- Revert "RDMA/mlx5: Fix devlink deadlock on net namespace deletion"
- Revert "block: simplify set_init_blocksize" to regain lost performance
- xfrm: Fix oops in xfrm_replay_advance_bmp
- xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
- xfrm: Fix wraparound in xfrm_policy_addr_delta()
- RDMA/cxgb4: Fix the reported max_recv_sge value
- [arm64] ASoC: qcom: Fix incorrect volatile registers
- [arm64] ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY
- [x86] ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
- [powerpc*] 64s: prevent recursive replay_soft_interrupts causing
superfluous interrupt
- pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
- pNFS/NFSv4: Update the layout barrier when we schedule a layoutreturn
- ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies
- ASoC: qcom: lpass: Fix out-of-bounds DAI ID lookup
- iwlwifi: pcie: avoid potential PNVM leaks
- iwlwifi: pnvm: don't skip everything when not reloading
- iwlwifi: pnvm: don't try to load after failures
- iwlwifi: pcie: set LTR on more devices
- iwlwifi: pcie: use jiffies for memory read spin time limit
- iwlwifi: pcie: reschedule in long-running memory reads
- mac80211: pause TX while changing interface type
- ice: fix FDir IPv6 flexbyte
- ice: Implement flow for IPv6 next header (extension header)
- ice: update dev_addr in ice_set_mac_address even if HW filter exists
- ice: Don't allow more channels than LAN MSI-X available
- ice: Fix MSI-X vector fallback logic
- i40e: acquire VSI pointer only after VF is initialized
- igc: fix link speed advertising
- net/mlx5: Fix memory leak on flow table creation error flow
- net/mlx5e: E-switch, Fix rate calculation for overflow
- net/mlx5e: free page before return
- net/mlx5e: Reduce tc unsupported key print level
- net/mlx5: Maintain separate page trees for ECPF and PF functions
- net/mlx5e: Disable hw-tc-offload when MLX5_CLS_ACT config is disabled
- net/mlx5e: Fix CT rule + encap slow path offload and deletion
- net/mlx5e: Correctly handle changing the number of queues when the
interface is down
- net/mlx5e: Revert parameters on errors when changing trust state without
reset
- net/mlx5e: Revert parameters on errors when changing MTU and LRO state
without reset
- can: dev: prevent potential information leak in can_fill_info()
- [arm64] ACPI/IORT: Do not blindly trust DMA masks from firmware
- of/device: Update dma_range_map only when dev has valid dma-ranges
- [amd64] iommu/amd: Use IVHD EFR for early initialization of IOMMU
features
- [amd64] iommu/vt-d: Correctly check addr alignment in
qi_flush_dev_iotlb_pasid()
- nvme-multipath: Early exit if no path is available
- rxrpc: Fix memory leak in rxrpc_lookup_local
- NFC: fix resource leak when target index is invalid
- NFC: fix possible resource leak
- [x86] ASoC: topology: Properly unregister DAI on removal
- [x86] ASoC: topology: Fix memory corruption in
soc_tplg_denum_create_values()
- scsi: qla2xxx: Fix description for parameter ql2xenforce_iocb_limit
- team: protect features update by RCU to avoid deadlock
- tcp: make TCP_USER_TIMEOUT accurate for zero window probes
- tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
- vsock: fix the race conditions in multi-transport support
(CVE-2021-26708)
[ Salvatore Bonaccorso ]
* arch/s390: uv_info: Ignore ABI changes
[ Vincent Blut ]
* [arm64] Enable CRYPTO_NHPOLY1305_NEON. (closes: #980214)
* [armhf] Enable KERNEL_MODE_NEON.
[dgit import unpatched linux 5.10.13-1]
Salvatore Bonaccorso [Sat, 6 Feb 2021 08:23:52 +0000 (08:23 +0000)]
Import linux_5.10.13.orig.tar.xz
[dgit import orig linux_5.10.13.orig.tar.xz]
Salvatore Bonaccorso [Sat, 6 Feb 2021 08:23:52 +0000 (08:23 +0000)]
Import linux_5.10.13-1.debian.tar.xz
[dgit import tarball linux 5.10.13-1 linux_5.10.13-1.debian.tar.xz]