Merge changes from sid up to 3.2.39-1
Drop most patches as they're already upstream in 3.8 or early. Refresh some others for 3.8. In particular, remove use of __devinit from debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch as this macro is no longer defined or needed. svn path=/dists/trunk/linux/; revision=19856
This commit is contained in:
commit
a3590a7797
|
@ -374,6 +374,209 @@ linux-2.6 (3.3~rc6-1~experimental.1) experimental; urgency=low
|
|||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Sun, 04 Mar 2012 20:27:42 +0000
|
||||
|
||||
linux (3.2.39-1) unstable; urgency=high
|
||||
|
||||
* New upstream stable update:
|
||||
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.36
|
||||
- freezer: PF_FREEZER_NOSIG should be cleared along with PF_NOFREEZE
|
||||
(Closes: #697077)
|
||||
- tmpfs: fix shared mempolicy leak
|
||||
- virtio: 9p: correctly pass physical address to userspace for high pages
|
||||
- virtio: force vring descriptors to be allocated from lowmem
|
||||
- USB: EHCI: bugfix: urb->hcpriv should not be NULL
|
||||
- rcu: Fix batch-limit size problem
|
||||
- Bluetooth: ath3k: Add support for VAIO VPCEH [0489:e027]
|
||||
(Closes: #700550)
|
||||
- mvsas: fix undefined bit shift
|
||||
- ALSA: usb-audio: Avoid autopm calls after disconnection; Fix missing
|
||||
autopm for MIDI input (Closes: #664068)
|
||||
- target/file: Fix 32-bit highmem breakage for SGL -> iovec mapping
|
||||
- SCSI: fix Null pointer dereference on disk error
|
||||
- proc: pid/status: show all supplementary groups
|
||||
- nfsd4: fix oops on unusual readlike compound
|
||||
- ARM: missing ->mmap_sem around find_vma() in swp_emulate.c
|
||||
- sctp: fix memory leak in sctp_datamsg_from_user() when copy from user
|
||||
space fails
|
||||
- ne2000: add the right platform device
|
||||
- irda: sir_dev: Fix copy/paste typo
|
||||
- ipv4: ip_check_defrag must not modify skb before unsharing
|
||||
- telephony: ijx: buffer overflow in ixj_write_cid()
|
||||
- udf: fix memory leak while allocating blocks during write
|
||||
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.37
|
||||
- ext4: fix extent tree corruption caused by hole punch
|
||||
- jbd2: fix assertion failure in jbd2_journal_flush()
|
||||
- tmpfs mempolicy: fix /proc/mounts corrupting memory
|
||||
- sparc: huge_ptep_set_* functions need to call set_huge_pte_at()
|
||||
- inet: Fix kmemleak in tcp_v4/6_syn_recv_sock and
|
||||
dccp_v4/6_request_recv_sock
|
||||
- net: sched: integer overflow fix
|
||||
- tcp: implement RFC 5961 3.2
|
||||
- tcp: implement RFC 5961 4.2
|
||||
- tcp: refine SYN handling in tcp_validate_incoming
|
||||
- tcp: tcp_replace_ts_recent() should not be called from
|
||||
tcp_validate_incoming()
|
||||
- tcp: RFC 5961 5.2 Blind Data Injection Attack Mitigation
|
||||
- RDMA/nes: Fix for crash when registering zero length MR for CQ
|
||||
- ACPI : do not use Lid and Sleep button for S5 wakeup
|
||||
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.38
|
||||
- staging: comedi: comedi_test: fix race when cancelling command
|
||||
- mm: use aligned zone start for pfn_to_bitidx calculation
|
||||
- [s390] s390/time: fix sched_clock() overflow (Closes: #698382)
|
||||
- [i386] xen: Fix stack corruption in xen_failsafe_callback for 32bit
|
||||
PVOPS guests. (CVE-2013-0190)
|
||||
- KVM: PPC: Emulate dcbf
|
||||
- evm: checking if removexattr is not a NULL
|
||||
- ath9k_htc: Fix memory leak
|
||||
- ath9k: do not link receive buffers during flush
|
||||
- ath9k: fix double-free bug on beacon generate failure
|
||||
- x86/msr: Add capabilities check
|
||||
- can: c_can: fix invalid error codes
|
||||
- can: ti_hecc: fix invalid error codes
|
||||
- can: pch_can: fix invalid error codes
|
||||
- smp: Fix SMP function call empty cpu mask race
|
||||
- xfs: Fix possible use-after-free with AIO
|
||||
- EDAC: Test correct variable in ->store function
|
||||
- samsung-laptop: Disable on EFI hardware, to avoid damaging it
|
||||
- NFS: Don't silently fail setattr() requests on mountpoints
|
||||
- intel-iommu: Prevent devices with RMRRs from being placed into SI Domain
|
||||
- ALSA: usb-audio: Fix regression by disconnection-race-fix patch
|
||||
(Closes: #696321)
|
||||
- printk: fix buffer overflow when calling log_prefix function from
|
||||
call_console_drivers
|
||||
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.39
|
||||
- USB: XHCI: fix memory leak of URB-private data
|
||||
- sched/rt: Use root_domain of rt_rq not current processor
|
||||
- mwifiex: fix incomplete scan in case of IE parsing error
|
||||
- x86-64: Replace left over sti/cli in ia32 audit exit code
|
||||
- Bluetooth: Fix handling of unexpected SMP PDUs
|
||||
- ptrace/x86: Partly fix set_task_blockstep()->update_debugctlmsr() logic
|
||||
- Fix race condition with PTRACE_SETREGS and fatal signal (CVE-2013-0871)
|
||||
+ ptrace: introduce signal_wake_up_state() and ptrace_signal_wake_up()
|
||||
+ ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILL
|
||||
+ wake_up_process() should be never used to wakeup a TASK_STOPPED/TRACED
|
||||
task
|
||||
- net: prevent setting ttl=0 via IP_TTL
|
||||
- ipv6: fix header length calculation in ip6_append_data()
|
||||
- netxen: fix off by one bug in netxen_release_tx_buffer()
|
||||
- r8169: remove the obsolete and incorrect AMD workaround
|
||||
- net: loopback: fix a dst refcounting issue
|
||||
- packet: fix leakage of tx_ring memory
|
||||
- net: sctp: sctp_setsockopt_auth_key: use kzfree instead of kfree
|
||||
- net: sctp: sctp_endpoint_free: zero out secret key data
|
||||
- xen/netback: shutdown the ring if it contains garbage. (CVE-2013-0216)
|
||||
- xen/netback: don't leak pages on failure in xen_netbk_tx_check_gop.
|
||||
- xen/netback: free already allocated memory on failure in
|
||||
xen_netbk_get_requests
|
||||
- netback: correct netbk_tx_err to handle wrap around. (CVE-2013-0217)
|
||||
- tcp: frto should not set snd_cwnd to 0
|
||||
- tcp: fix for zero packets_in_flight was too broad
|
||||
- tcp: fix MSG_SENDPAGE_NOTLAST logic
|
||||
- bridge: Pull ip header into skb->data before looking into ip header.
|
||||
(Closes: #697903)
|
||||
- x86/xen: don't assume %ds is usable in xen_iret for 32-bit PVOPS.
|
||||
(CVE-2013-0228)
|
||||
|
||||
[ Aurelien Jarno ]
|
||||
* [armhf/vexpress] Add kernel udebs.
|
||||
|
||||
[ Julien Cristau ]
|
||||
* Backport drm and agp subsystems from Linux 3.4.29 (closes: #687442)
|
||||
- [x86] i915: Fixes freezes on Ivy Bridge (Closes: #689268)
|
||||
- nouveau: Support for newer nvidia chipsets (Closes: #690284)
|
||||
- radeon: Support for HD7000 'Southern Islands' chips
|
||||
- [x86] drm/i915: add Ivy Bridge GT2 Server entries (Closes: #684767)
|
||||
- [x86] drm/i915: Close race between processing unpin task and queueing
|
||||
the flip
|
||||
|
||||
[ Ben Hutchings ]
|
||||
* Input: wacom - fix touch support for Bamboo Fun CTH-461
|
||||
* media/rc: Add iguanair driver from Linux 3.7 (Closes: #696925)
|
||||
* rt2800: add chipset revision RT5390R support (Closes: #696592)
|
||||
* [armhf/mx5] mtd: Enable MTD_BLOCK as module
|
||||
* [armhf/mx5] udeb: Add missing storage drivers (Closes: #697128)
|
||||
- Add ata-modules including libata, pata-modules including pata_imx,
|
||||
sata-modules including ahci_platform
|
||||
- Add sdhci-esdhc-imx to mmc-modules
|
||||
- Add mtd-modules including mtd, mtdblock and m25p80
|
||||
* [armhf] udeb: Fix network driver selection
|
||||
- [armhf/mx5] Remove nic-modules
|
||||
- [armhf/vexpress] Add usb-modules
|
||||
- Add standard set of USB drivers to nic-usb-modules
|
||||
- Add nic-wireless-modules
|
||||
* be2net: Apply backported fixes requested by Emulex (Closes: #697479)
|
||||
- be2net: do not modify PCI MaxReadReq size
|
||||
- be2net: fix reporting number of actual rx queues
|
||||
- be2net: do not use SCRATCHPAD register
|
||||
- be2net: reduce gso_max_size setting to account for ethernet header.
|
||||
- be2net: Increase statistics structure size for skyhawk.
|
||||
- be2net: Explicitly clear the reserved field in the Tx Descriptor
|
||||
- be2net: Regression bug wherein VFs creation broken for multiple cards.
|
||||
- be2net: Fix to trim skb for padded vlan packets to workaround an ASIC Bug
|
||||
- be2net: Fix Endian
|
||||
- be2net: Enable RSS UDP hashing for Lancer and Skyhawk
|
||||
- be2net: dont pull too much data in skb linear part
|
||||
- be2net: Fix to parse RSS hash from Receive completions correctly.
|
||||
- be2net: Avoid disabling BH in be_poll()
|
||||
* udeb: Add specialised USB keyboard/mouse drivers to input-modules:
|
||||
hid-a4tech, hid-cypress, hid-ezkey (Closes: #697035), hid-kensington,
|
||||
hid-keytouch, hid-kye, hid-multitouch, hid-ortek, hid-primax,
|
||||
hid-quanta, hid-samsung, hid-speedlink
|
||||
* radeon: Firmware is required for DRM and KMS on R600 onward, but not
|
||||
for KMS on earlier chips (Closes: #697229)
|
||||
* [!powerpc] radeon: Reenable DRM_RADEON_KMS, as it apparently works on
|
||||
most non-PowerMac systems
|
||||
* fs: cachefiles: add support for large files in filesystem caching
|
||||
(Closes: #698376)
|
||||
* [rt] Update to 3.2.38-rt57:
|
||||
- sched: Adjust sched_reset_on_fork when nothing else changes
|
||||
- sched: Queue RT tasks to head when prio drops
|
||||
- sched: Consider pi boosting in setscheduler
|
||||
- sched: Init idle->on_rq in init_idle()
|
||||
- sched: Check for idle task in might_sleep()
|
||||
- mm: swap: Initialize local locks early
|
||||
* [armel/versatile,armhf/vexpress] i2c: Enable I2C, I2C_VERSATILE as modules
|
||||
(Closes: #696182)
|
||||
* ext4: Fix corruption by hole punch in large files (Closes: #685726)
|
||||
- rewrite punch hole to use ext4_ext_remove_space()
|
||||
- fix hole punch failure when depth is greater than 0
|
||||
- fix kernel BUG on large-scale rm -rf commands
|
||||
* md: protect against crash upon fsync on ro array (Closes: #696650)
|
||||
* net: Add alx driver for Atheros AR8161 and AR8162 (Closes: #699129)
|
||||
- Mark as staging, since it has not been accepted upstream
|
||||
* [armel/kirkwood] rtc-s35390a: add wakealarm support (Closes: #693997)
|
||||
* [x86] i915: Invert backlight brightness control for various models
|
||||
including Packard Bell NCL20 (Closes: #627372) and eMachines G725
|
||||
(Closes: #680737)
|
||||
- Also allow this behaviour to be enabled via module parameter
|
||||
invert_brightness=1
|
||||
* [amd64] edac: Enable EDAC_SBRIDGE as module (Closes: #699283)
|
||||
* SCSI: Add virtio_scsi driver (Closes: #686636)
|
||||
* [x86] sound: Enable LINE6_USB as module (Closes: #700211)
|
||||
- Apply upstream changes up to Linux 3.8-rc1
|
||||
* [armhf/mx5] Update description to mention i.MX53
|
||||
* mm: Try harder to allocate vmemmap blocks (Closes: #699913)
|
||||
* aufs: Update to aufs3.2-20130204:
|
||||
- support for syncfs(2)
|
||||
- possible bugfix, race in lookup
|
||||
- bugfix, half refreshed iinfo
|
||||
- possible bugfix, au_lkup_by_ino() returns ESTALE
|
||||
* [x86] efi: Clear EFI_RUNTIME_SERVICES rather than EFI_BOOT by "noefi" boot
|
||||
parameter
|
||||
* [x86] efi: Make "noefi" really disable EFI runtime serivces
|
||||
* drm, agp: Update to 3.4.32
|
||||
- drm/radeon: add WAIT_UNTIL to the non-VM safe regs list for cayman/TN
|
||||
- drm/radeon: prevent crash in the ring space allocation
|
||||
* linux-image-dbg: Add symlinks to vmlinux from the locations expected by
|
||||
kdump-tools (Closes: #700418), systemtap and others
|
||||
* mm: fix pageblock bitmap allocation (fixes regression in 3.2.38)
|
||||
* USB: usb-storage: unusual_devs update for Super TOP SATA bridge
|
||||
|
||||
[ Cyril Brulebois ]
|
||||
* Bump python build-dep, needed since the switch from local SortedDict
|
||||
to collections.OrderedDict (new in version 2.7). (Closes: #697740)
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Mon, 25 Feb 2013 00:36:51 +0000
|
||||
|
||||
linux (3.2.35-2) unstable; urgency=low
|
||||
|
||||
* [ia64] Make IPV6 built-in (fixes FTBFS)
|
||||
|
|
|
@ -145,7 +145,16 @@ CONFIG_ATM_DRIVERS=y
|
|||
##
|
||||
## file: drivers/i2c/Kconfig
|
||||
##
|
||||
# CONFIG_I2C is not set
|
||||
CONFIG_I2C=m
|
||||
|
||||
##
|
||||
## file: drivers/i2c/busses/Kconfig
|
||||
##
|
||||
# CONFIG_I2C_ISCH is not set
|
||||
# CONFIG_I2C_OCORES is not set
|
||||
# CONFIG_I2C_PCA_PLATFORM is not set
|
||||
# CONFIG_I2C_SIMTEC is not set
|
||||
CONFIG_I2C_VERSATILE=m
|
||||
|
||||
##
|
||||
## file: drivers/input/keyboard/Kconfig
|
||||
|
|
|
@ -79,19 +79,20 @@ CONFIG_MMC=m
|
|||
##
|
||||
## file: drivers/mmc/card/Kconfig
|
||||
##
|
||||
CONFIG_MMC_BLOCK=y
|
||||
CONFIG_MMC_BLOCK=m
|
||||
|
||||
##
|
||||
## file: drivers/mmc/host/Kconfig
|
||||
##
|
||||
CONFIG_MMC_SDHCI_ESDHC_IMX=y
|
||||
CONFIG_MMC_MXC=y
|
||||
CONFIG_MMC_SDHCI_ESDHC_IMX=m
|
||||
CONFIG_MMC_MXC=m
|
||||
|
||||
##
|
||||
## file: drivers/mtd/Kconfig
|
||||
##
|
||||
#. Efika has SPI NOR MTD device
|
||||
CONFIG_MTD=m
|
||||
CONFIG_MTD_BLOCK=m
|
||||
|
||||
##
|
||||
## file: drivers/net/wireless/mwifiex/Kconfig
|
||||
|
|
|
@ -28,6 +28,20 @@ CONFIG_ARCH_VEXPRESS_CA9X4=y
|
|||
##
|
||||
CONFIG_PATA_PLATFORM=m
|
||||
|
||||
##
|
||||
## file: drivers/i2c/Kconfig
|
||||
##
|
||||
CONFIG_I2C=m
|
||||
|
||||
##
|
||||
## file: drivers/i2c/busses/Kconfig
|
||||
##
|
||||
# CONFIG_I2C_ISCH is not set
|
||||
# CONFIG_I2C_OCORES is not set
|
||||
# CONFIG_I2C_PCA_PLATFORM is not set
|
||||
# CONFIG_I2C_SIMTEC is not set
|
||||
CONFIG_I2C_VERSATILE=m
|
||||
|
||||
##
|
||||
## file: drivers/input/serio/Kconfig
|
||||
##
|
||||
|
|
|
@ -15,8 +15,8 @@ configs:
|
|||
image-file: arch/arm/boot/zImage
|
||||
|
||||
[mx5_description]
|
||||
hardware: Freescale i.MX51
|
||||
hardware-long: Support for Freescale i.MX51 family of processors
|
||||
hardware: Freescale i.MX51/53
|
||||
hardware-long: Freescale i.MX51 or i.MX53 based systems
|
||||
|
||||
[omap_build]
|
||||
image-file: arch/arm/boot/zImage
|
||||
|
|
|
@ -418,7 +418,7 @@ CONFIG_DRM_NOUVEAU_BACKLIGHT=y
|
|||
##
|
||||
## file: drivers/gpu/drm/radeon/Kconfig
|
||||
##
|
||||
# CONFIG_DRM_RADEON_KMS is not set
|
||||
CONFIG_DRM_RADEON_KMS=y
|
||||
|
||||
##
|
||||
## file: drivers/gpu/drm/udl/Kconfig
|
||||
|
@ -1899,6 +1899,7 @@ CONFIG_ATL2=m
|
|||
CONFIG_ATL1=m
|
||||
CONFIG_ATL1E=m
|
||||
CONFIG_ATL1C=m
|
||||
CONFIG_ALX=m
|
||||
|
||||
##
|
||||
## file: drivers/net/ethernet/broadcom/Kconfig
|
||||
|
@ -4829,6 +4830,11 @@ CONFIG_TIPC_PORTS=8191
|
|||
CONFIG_UNIX=y
|
||||
CONFIG_UNIX_DIAG=m
|
||||
|
||||
##
|
||||
## file: net/wanrouter/Kconfig
|
||||
##
|
||||
# CONFIG_WAN_ROUTER is not set
|
||||
|
||||
##
|
||||
## file: net/wimax/Kconfig
|
||||
##
|
||||
|
|
|
@ -465,11 +465,6 @@ CONFIG_DRM_NOUVEAU_BACKLIGHT=y
|
|||
CONFIG_DRM_I2C_CH7006=m
|
||||
CONFIG_DRM_I2C_SIL164=m
|
||||
|
||||
##
|
||||
## file: drivers/gpu/drm/radeon/Kconfig
|
||||
##
|
||||
CONFIG_DRM_RADEON_KMS=y
|
||||
|
||||
##
|
||||
## file: drivers/gpu/drm/vmwgfx/Kconfig
|
||||
##
|
||||
|
@ -1337,6 +1332,13 @@ CONFIG_STAGING_MEDIA=y
|
|||
##
|
||||
CONFIG_EASYCAP=m
|
||||
|
||||
##
|
||||
## file: drivers/staging/line6/Kconfig
|
||||
##
|
||||
CONFIG_LINE6_USB=m
|
||||
# CONFIG_LINE6_USB_DUMP_PCM is not set
|
||||
# CONFIG_LINE6_USB_IMPULSE_RESPONSE is not set
|
||||
|
||||
##
|
||||
## file: drivers/staging/media/go7007/Kconfig
|
||||
##
|
||||
|
|
|
@ -56,6 +56,11 @@ CONFIG_AGP=y
|
|||
#. Needed by GART_IOMMU
|
||||
CONFIG_AGP_AMD64=y
|
||||
|
||||
##
|
||||
## file: drivers/edac/Kconfig
|
||||
##
|
||||
CONFIG_EDAC_SBRIDGE=m
|
||||
|
||||
##
|
||||
## file: drivers/i2c/busses/Kconfig
|
||||
##
|
||||
|
|
|
@ -206,6 +206,11 @@ CONFIG_DRM_NOUVEAU_BACKLIGHT=y
|
|||
CONFIG_DRM_I2C_CH7006=m
|
||||
CONFIG_DRM_I2C_SIL164=m
|
||||
|
||||
##
|
||||
## file: drivers/gpu/drm/radeon/Kconfig
|
||||
##
|
||||
# CONFIG_DRM_RADEON_KMS is not set
|
||||
|
||||
##
|
||||
## file: drivers/hid/usbhid/Kconfig
|
||||
##
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
zlib_deflate.ko
|
|
@ -1,2 +1,3 @@
|
|||
# arch version flavour installedname suffix build-depends
|
||||
armhf - mx5 - y -
|
||||
# arch version flavour installedname suffix build-depends
|
||||
armhf - mx5 - y -
|
||||
armhf - vexpress - y -
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libata
|
|
@ -1,2 +1,2 @@
|
|||
#include <mmc-modules>
|
||||
tifm_sd -
|
||||
sdhci-esdhc-imx
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#include <mtd-modules>
|
||||
|
||||
# SPI NOR flash for Efika
|
||||
m25p80
|
|
@ -1,3 +0,0 @@
|
|||
inet_lro -
|
||||
asix ?
|
||||
rt2800usb
|
|
@ -0,0 +1 @@
|
|||
#include <nic-wireless-modules>
|
|
@ -0,0 +1 @@
|
|||
pata_imx
|
|
@ -0,0 +1 @@
|
|||
ahci_platform
|
|
@ -0,0 +1 @@
|
|||
#include <btrfs-modules>
|
|
@ -0,0 +1,2 @@
|
|||
#include <core-modules>
|
||||
mbcache
|
|
@ -0,0 +1 @@
|
|||
#include <crc-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <crypto-dm-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <crypto-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <ext2-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <ext3-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <ext4-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <fat-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <fuse-modules>
|
|
@ -0,0 +1,4 @@
|
|||
#include <input-modules>
|
||||
usbhid -
|
||||
usbmouse -
|
||||
usbkbd -
|
|
@ -0,0 +1 @@
|
|||
#include <ipv6-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <isofs-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <jfs-modules>
|
|
@ -0,0 +1 @@
|
|||
# empty
|
|
@ -0,0 +1 @@
|
|||
#include <loop-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <md-modules>
|
|
@ -0,0 +1,2 @@
|
|||
#include <mmc-modules>
|
||||
tifm_sd -
|
|
@ -0,0 +1 @@
|
|||
#include <multipath-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <nbd-modules>
|
|
@ -0,0 +1 @@
|
|||
smsc911x
|
|
@ -0,0 +1,2 @@
|
|||
mii
|
||||
libphy
|
|
@ -0,0 +1 @@
|
|||
#include <nic-usb-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <nic-wireless-modules>
|
|
@ -0,0 +1,3 @@
|
|||
#include <scsi-core-modules>
|
||||
scsi_mod -
|
||||
sd_mod -
|
|
@ -0,0 +1 @@
|
|||
#include <squashfs-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <udf-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <uinput-modules>
|
|
@ -0,0 +1 @@
|
|||
#include <usb-modules>
|
|
@ -0,0 +1,2 @@
|
|||
#include <usb-storage-modules>
|
||||
usb-storage -
|
|
@ -5,6 +5,7 @@
|
|||
#
|
||||
Package: kernel-image
|
||||
Provides_mx5: rtc-modules
|
||||
Provides_vexpress: rtc-modules
|
||||
|
||||
Package: ext2-modules
|
||||
Depends: kernel-image, core-modules
|
||||
|
@ -26,7 +27,6 @@ Depends: kernel-image, ata-modules
|
|||
Priority: extra
|
||||
|
||||
Package: ext4-modules
|
||||
Priority_ixp4xx: extra
|
||||
|
||||
Package: nbd-modules
|
||||
Depends: kernel-image
|
||||
|
|
|
@ -1,12 +1,24 @@
|
|||
hid
|
||||
usbhid
|
||||
hid-a4tech ?
|
||||
hid-apple ?
|
||||
hid-belkin ?
|
||||
hid-microsoft ?
|
||||
hid-cherry ?
|
||||
hid-cypress ?
|
||||
hid-ezkey ?
|
||||
hid-kensington ?
|
||||
hid-keytouch ?
|
||||
hid-kye ?
|
||||
hid-logitech ?
|
||||
hid-logitech-dj
|
||||
hid-microsoft ?
|
||||
hid-monterey ?
|
||||
hid-multitouch ?
|
||||
hid-ortek ?
|
||||
hid-primax ?
|
||||
hid-quanta ?
|
||||
hid-samsung ?
|
||||
hid-speedlink ?
|
||||
hid-sunplus ?
|
||||
hid-cherry ?
|
||||
synaptics_usb ?
|
||||
wistron_btns ?
|
||||
|
|
|
@ -2,4 +2,4 @@ mmc_block
|
|||
sdhci
|
||||
sdhci-pci ?
|
||||
ricoh_mmc ?
|
||||
tifm_sd
|
||||
tifm_sd ?
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
mtd
|
||||
mtdblock
|
|
@ -1,5 +1,6 @@
|
|||
82596 ?
|
||||
ac3200 ?
|
||||
alx ?
|
||||
amd8111e ?
|
||||
at1700 ?
|
||||
cs89x0 ?
|
||||
|
|
|
@ -3,13 +3,13 @@ atmel_pci ?
|
|||
hermes ?
|
||||
ipw2100 ?
|
||||
ipw2200 ?
|
||||
orinoco
|
||||
hostap_pci
|
||||
orinoco_plx
|
||||
orinoco ?
|
||||
hostap_pci ?
|
||||
orinoco_plx ?
|
||||
orinoco_nortel ?
|
||||
orinoco_tmd ?
|
||||
prism54 ?
|
||||
p54pci
|
||||
p54pci ?
|
||||
p54usb
|
||||
wavelan ?
|
||||
usb8xxx ?
|
||||
|
|
|
@ -466,3 +466,9 @@ Depends: kernel-image
|
|||
Priority: extra
|
||||
Description: FUSE modules
|
||||
This package contains the Filesystem in Userspace (FUSE) module.
|
||||
|
||||
Package: mtd-modules
|
||||
Depends: kernel-image
|
||||
Priority: extra
|
||||
Description: MTD modules
|
||||
This package contains MTD modules.
|
||||
|
|
38
debian/patches/bugfix/all/USB-usb-storage-unusual_devs-update-for-Super-TOP-SA.patch
vendored
Normal file
38
debian/patches/bugfix/all/USB-usb-storage-unusual_devs-update-for-Super-TOP-SA.patch
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
From: Josh Boyer <jwboyer@redhat.com>
|
||||
Date: Thu, 14 Feb 2013 09:39:09 -0500
|
||||
Subject: USB: usb-storage: unusual_devs update for Super TOP SATA bridge
|
||||
|
||||
commit 18e03310b5caa6d11c1a8c61b982c37047693fba upstream.
|
||||
|
||||
The current entry in unusual_cypress.h for the Super TOP SATA bridge devices
|
||||
seems to be causing corruption on newer revisions of this device. This has
|
||||
been reported in Arch Linux and Fedora. The original patch was tested on
|
||||
devices with bcdDevice of 1.60, whereas the newer devices report bcdDevice
|
||||
as 2.20. Limit the UNUSUAL_DEV entry to devices less than 2.20.
|
||||
|
||||
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=909591
|
||||
|
||||
The Arch Forum post on this is here:
|
||||
https://bbs.archlinux.org/viewtopic.php?id=152011
|
||||
|
||||
Reported-by: Carsten S. <carsteniq@yahoo.com>
|
||||
Tested-by: Carsten S. <carsteniq@yahoo.com>
|
||||
Signed-off-by: Josh Boyer <jwboyer@redhat.com>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
---
|
||||
drivers/usb/storage/unusual_cypress.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/usb/storage/unusual_cypress.h b/drivers/usb/storage/unusual_cypress.h
|
||||
index 2c85530..65a6a75 100644
|
||||
--- a/drivers/usb/storage/unusual_cypress.h
|
||||
+++ b/drivers/usb/storage/unusual_cypress.h
|
||||
@@ -31,7 +31,7 @@ UNUSUAL_DEV( 0x04b4, 0x6831, 0x0000, 0x9999,
|
||||
"Cypress ISD-300LP",
|
||||
USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
|
||||
|
||||
-UNUSUAL_DEV( 0x14cd, 0x6116, 0x0000, 0x9999,
|
||||
+UNUSUAL_DEV( 0x14cd, 0x6116, 0x0000, 0x0219,
|
||||
"Super Top",
|
||||
"USB 2.0 SATA BRIDGE",
|
||||
USB_SC_CYP_ATACB, USB_PR_DEVICE, NULL, 0),
|
41
debian/patches/bugfix/all/md-protect-against-crash-upon-fsync-on-ro-array.patch
vendored
Normal file
41
debian/patches/bugfix/all/md-protect-against-crash-upon-fsync-on-ro-array.patch
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
From: Sebastian Riemer <sebastian.riemer@profitbricks.com>
|
||||
Date: Fri, 25 Jan 2013 12:46:59 +0100
|
||||
Subject: md: protect against crash upon fsync on ro array
|
||||
Bug-Debian: http://bugs.debian.org/696650
|
||||
|
||||
commit 0ecfa11f08c79be05eb00bba537e764e6672774d upstream.
|
||||
|
||||
If an fsync occurs on a read-only array, we need to send a
|
||||
completion for the IO and may not increment the active IO count.
|
||||
Otherwise, we hit a bug trace and can't stop the MD array anymore.
|
||||
|
||||
By advice of Christoph Hellwig we return success upon a flush
|
||||
request but we return -EROFS for other writes.
|
||||
We detect flush requests by checking if the bio has zero sectors.
|
||||
|
||||
Cc: Christoph Hellwig <hch@infradead.org>
|
||||
Cc: Ben Hutchings <ben@decadent.org.uk>
|
||||
Cc: NeilBrown <neilb@suse.de>
|
||||
Signed-off-by: Sebastian Riemer <sebastian.riemer@profitbricks.com>
|
||||
Reported-by: Ben Hutchings <ben@decadent.org.uk>
|
||||
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
|
||||
Signed-off-by: NeilBrown <neilb@suse.de>
|
||||
---
|
||||
drivers/md/md.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/drivers/md/md.c b/drivers/md/md.c
|
||||
index 3db3d1b..1e634a6 100644
|
||||
--- a/drivers/md/md.c
|
||||
+++ b/drivers/md/md.c
|
||||
@@ -307,6 +307,10 @@ static void md_make_request(struct request_queue *q, struct bio *bio)
|
||||
bio_io_error(bio);
|
||||
return;
|
||||
}
|
||||
+ if (mddev->ro == 1 && unlikely(rw == WRITE)) {
|
||||
+ bio_endio(bio, bio_sectors(bio) == 0 ? 0 : -EROFS);
|
||||
+ return;
|
||||
+ }
|
||||
smp_rmb(); /* Ensure implications of 'active' are visible */
|
||||
rcu_read_lock();
|
||||
if (mddev->suspended) {
|
|
@ -0,0 +1,36 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Date: Mon, 11 Feb 2013 00:56:24 +0000
|
||||
Subject: mm: Try harder to allocate vmemmap blocks
|
||||
Bug-Debian: http://bugs.debian.org/699913
|
||||
|
||||
Hot-adding memory on x86_64 normally requires huge page allocation.
|
||||
When this is done to a VM guest, it's usually because the system is
|
||||
already tight on memory, so the request tends to fail. Try to avoid
|
||||
this by adding __GFP_REPEAT to the allocation flags.
|
||||
|
||||
Reported-and-tested-by: Bernhard Schmidt <Bernhard.Schmidt@lrz.de>
|
||||
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
||||
---
|
||||
mm/sparse-vmemmap.c | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c
|
||||
index 1b7e22a..22b7e18 100644
|
||||
--- a/mm/sparse-vmemmap.c
|
||||
+++ b/mm/sparse-vmemmap.c
|
||||
@@ -53,10 +53,12 @@ void * __meminit vmemmap_alloc_block(unsigned long size, int node)
|
||||
struct page *page;
|
||||
|
||||
if (node_state(node, N_HIGH_MEMORY))
|
||||
- page = alloc_pages_node(node,
|
||||
- GFP_KERNEL | __GFP_ZERO, get_order(size));
|
||||
+ page = alloc_pages_node(
|
||||
+ node, GFP_KERNEL | __GFP_ZERO | __GFP_REPEAT,
|
||||
+ get_order(size));
|
||||
else
|
||||
- page = alloc_pages(GFP_KERNEL | __GFP_ZERO,
|
||||
+ page = alloc_pages(
|
||||
+ GFP_KERNEL | __GFP_ZERO | __GFP_REPEAT,
|
||||
get_order(size));
|
||||
if (page)
|
||||
return page_address(page);
|
26
debian/patches/bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-emachines-e725.patch
vendored
Normal file
26
debian/patches/bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-emachines-e725.patch
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
From: Jani Nikula <jani.nikula@intel.com>
|
||||
Date: Tue, 22 Jan 2013 10:50:35 +0000
|
||||
Subject: drm/i915: add quirk to invert brightness on eMachines e725
|
||||
|
||||
commit 01e3a8feb40e54b962a20fa7eb595c5efef5e109 upstream.
|
||||
|
||||
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=31522#c35
|
||||
[Note: There are more than one broken setups in the bug. This fixes one.]
|
||||
Reported-by: Martins <andrissr@inbox.lv>
|
||||
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
|
||||
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
||||
---
|
||||
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
|
||||
index 44f9d8f..8575a62 100644
|
||||
--- a/drivers/gpu/drm/i915/intel_display.c
|
||||
+++ b/drivers/gpu/drm/i915/intel_display.c
|
||||
@@ -8602,6 +8602,9 @@ static struct intel_quirk intel_quirks[] = {
|
||||
|
||||
/* Acer/eMachines G725 */
|
||||
{ 0x2a42, 0x1025, 0x0210, quirk_invert_brightness },
|
||||
+
|
||||
+ /* Acer/eMachines e725 */
|
||||
+ { 0x2a42, 0x1025, 0x0212, quirk_invert_brightness },
|
||||
};
|
||||
|
||||
static void intel_init_quirks(struct drm_device *dev)
|
25
debian/patches/bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-emachines-g725.patch
vendored
Normal file
25
debian/patches/bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-emachines-g725.patch
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
From: Jani Nikula <jani.nikula@intel.com>
|
||||
Date: Tue, 22 Jan 2013 10:50:34 +0000
|
||||
Subject: drm/i915: add quirk to invert brightness on eMachines G725
|
||||
|
||||
commit 1ffff60320879830e469e26062c18f75236822ba upstream.
|
||||
|
||||
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59628
|
||||
Reported-by: Roland Gruber <post@rolandgruber.de>
|
||||
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
|
||||
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
||||
---
|
||||
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
|
||||
index 7725446..44f9d8f 100644
|
||||
--- a/drivers/gpu/drm/i915/intel_display.c
|
||||
+++ b/drivers/gpu/drm/i915/intel_display.c
|
||||
@@ -8599,6 +8599,9 @@ static struct intel_quirk intel_quirks[] = {
|
||||
|
||||
/* Acer Aspire 5734Z must invert backlight brightness */
|
||||
{ 0x2a42, 0x1025, 0x0459, quirk_invert_brightness },
|
||||
+
|
||||
+ /* Acer/eMachines G725 */
|
||||
+ { 0x2a42, 0x1025, 0x0210, quirk_invert_brightness },
|
||||
};
|
||||
|
||||
static void intel_init_quirks(struct drm_device *dev)
|
25
debian/patches/bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-packard-bell-ncl20.patch
vendored
Normal file
25
debian/patches/bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-packard-bell-ncl20.patch
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
From: Jani Nikula <jani.nikula@intel.com>
|
||||
Date: Tue, 22 Jan 2013 10:50:36 +0000
|
||||
Subject: drm/i915: add quirk to invert brightness on Packard Bell NCL20
|
||||
|
||||
commit 5559ecadad5a73b27f863e92f4b4f369501dce6f upstream.
|
||||
|
||||
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44156
|
||||
Reported-by: Alan Zimmerman <alan.zimm@gmail.com>
|
||||
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
|
||||
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
||||
---
|
||||
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
|
||||
index 8575a62..7262786 100644
|
||||
--- a/drivers/gpu/drm/i915/intel_display.c
|
||||
+++ b/drivers/gpu/drm/i915/intel_display.c
|
||||
@@ -8605,6 +8605,9 @@ static struct intel_quirk intel_quirks[] = {
|
||||
|
||||
/* Acer/eMachines e725 */
|
||||
{ 0x2a42, 0x1025, 0x0212, quirk_invert_brightness },
|
||||
+
|
||||
+ /* Acer/Packard Bell NCL20 */
|
||||
+ { 0x2a42, 0x1025, 0x034b, quirk_invert_brightness },
|
||||
};
|
||||
|
||||
static void intel_init_quirks(struct drm_device *dev)
|
52
debian/patches/bugfix/x86/x86-efi-Make-noefi-really-disable-EFI-runtime-serivc.patch
vendored
Normal file
52
debian/patches/bugfix/x86/x86-efi-Make-noefi-really-disable-EFI-runtime-serivc.patch
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
From: Matt Fleming <matt.fleming@intel.com>
|
||||
Date: Wed, 20 Feb 2013 20:36:12 +0000
|
||||
Subject: x86, efi: Make "noefi" really disable EFI runtime serivces
|
||||
|
||||
commit fb834c7acc5e140cf4f9e86da93a66de8c0514da upstream.
|
||||
|
||||
commit 1de63d60cd5b ("efi: Clear EFI_RUNTIME_SERVICES rather than
|
||||
EFI_BOOT by "noefi" boot parameter") attempted to make "noefi" true to
|
||||
its documentation and disable EFI runtime services to prevent the
|
||||
bricking bug described in commit e0094244e41c ("samsung-laptop:
|
||||
Disable on EFI hardware"). However, it's not possible to clear
|
||||
EFI_RUNTIME_SERVICES from an early param function because
|
||||
EFI_RUNTIME_SERVICES is set in efi_init() *after* parse_early_param().
|
||||
|
||||
This resulted in "noefi" effectively becoming a no-op and no longer
|
||||
providing users with a way to disable EFI, which is bad for those
|
||||
users that have buggy machines.
|
||||
|
||||
Reported-by: Walt Nelson Jr <walt0924@gmail.com>
|
||||
Cc: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
|
||||
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
|
||||
Link: http://lkml.kernel.org/r/1361392572-25657-1-git-send-email-matt@console-pimps.org
|
||||
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
||||
---
|
||||
arch/x86/platform/efi/efi.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
|
||||
index 928bf83..e2cd38f 100644
|
||||
--- a/arch/x86/platform/efi/efi.c
|
||||
+++ b/arch/x86/platform/efi/efi.c
|
||||
@@ -85,9 +85,10 @@ int efi_enabled(int facility)
|
||||
}
|
||||
EXPORT_SYMBOL(efi_enabled);
|
||||
|
||||
+static bool disable_runtime = false;
|
||||
static int __init setup_noefi(char *arg)
|
||||
{
|
||||
- clear_bit(EFI_RUNTIME_SERVICES, &x86_efi_facility);
|
||||
+ disable_runtime = true;
|
||||
return 0;
|
||||
}
|
||||
early_param("noefi", setup_noefi);
|
||||
@@ -734,7 +735,7 @@ void __init efi_init(void)
|
||||
if (!efi_is_native())
|
||||
pr_info("No EFI runtime due to 32/64-bit mismatch with kernel\n");
|
||||
else {
|
||||
- if (efi_runtime_init())
|
||||
+ if (disable_runtime || efi_runtime_init())
|
||||
return;
|
||||
set_bit(EFI_RUNTIME_SERVICES, &x86_efi_facility);
|
||||
}
|
95
debian/patches/debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
vendored
Normal file
95
debian/patches/debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
vendored
Normal file
|
@ -0,0 +1,95 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Subject: radeon: Firmware is required for DRM and KMS on R600 onward
|
||||
Date: Tue, 08 Jan 2013 03:25:52 +0000
|
||||
Bug-Debian: http://bugs.debian.org/607194
|
||||
Bug-Debian: http://bugs.debian.org/607471
|
||||
Bug-Debian: http://bugs.debian.org/610851
|
||||
Bug-Debian: http://bugs.debian.org/627497
|
||||
Bug-Debian: http://bugs.debian.org/632212
|
||||
Bug-Debian: http://bugs.debian.org/637943
|
||||
Bug-Debian: http://bugs.debian.org/649448
|
||||
Bug-Debian: http://bugs.debian.org/697229
|
||||
|
||||
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.
|
||||
This does not seem to happen if KMS is disabled, but with both KMS
|
||||
and GPU acceleration disabled radeon is not doing anything useful!
|
||||
|
||||
Therefore, perform a basic check for the existence of
|
||||
/lib/firmware/radeon when a device is probed, and abort if it is
|
||||
missing, except for the pre-R600 KMS case.
|
||||
|
||||
---
|
||||
--- a/drivers/gpu/drm/radeon/radeon_drv.c
|
||||
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
|
||||
@@ -36,6 +36,8 @@
|
||||
#include <drm/drm_pciids.h>
|
||||
#include <linux/console.h>
|
||||
#include <linux/module.h>
|
||||
+#include <linux/namei.h>
|
||||
+#include <linux/path.h>
|
||||
|
||||
|
||||
/*
|
||||
@@ -286,6 +288,35 @@ static struct drm_driver driver_old = {
|
||||
|
||||
static struct drm_driver kms_driver;
|
||||
|
||||
+/* Test that /lib/firmware/radeon is a directory (or symlink to a
|
||||
+ * directory). We could try to match the udev search path, but let's
|
||||
+ * assume people take the easy route and install
|
||||
+ * firmware-linux-nonfree.
|
||||
+ */
|
||||
+static bool radeon_firmware_installed(void)
|
||||
+{
|
||||
+ struct path path;
|
||||
+
|
||||
+ if (kern_path("/lib/firmware/radeon", LOOKUP_DIRECTORY | LOOKUP_FOLLOW,
|
||||
+ &path) == 0) {
|
||||
+ path_put(&path);
|
||||
+ return true;
|
||||
+ }
|
||||
+
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+radeon_ums_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
+{
|
||||
+ if (!radeon_firmware_installed()) {
|
||||
+ DRM_ERROR("radeon DRM requires firmware-linux-nonfree.\n");
|
||||
+ return -ENODEV;
|
||||
+ }
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
static int radeon_kick_out_firmware_fb(struct pci_dev *pdev)
|
||||
{
|
||||
struct apertures_struct *ap;
|
||||
@@ -312,6 +343,12 @@ static int radeon_pci_probe(struct pci_d
|
||||
{
|
||||
int ret;
|
||||
|
||||
+ if ((ent->driver_data & RADEON_FAMILY_MASK) >= CHIP_R600 &&
|
||||
+ !radeon_firmware_installed()) {
|
||||
+ DRM_ERROR("radeon kernel modesetting for R600 or later requires firmware-linux-nonfree.\n");
|
||||
+ return -ENODEV;
|
||||
+ }
|
||||
+
|
||||
/* Get rid of things like offb */
|
||||
ret = radeon_kick_out_firmware_fb(pdev);
|
||||
if (ret)
|
||||
@@ -414,6 +451,7 @@ static struct pci_driver *pdriver;
|
||||
static struct pci_driver radeon_pci_driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.id_table = pciidlist,
|
||||
+ .probe = radeon_ums_pci_probe,
|
||||
};
|
||||
|
||||
static struct pci_driver radeon_kms_pci_driver = {
|
|
@ -1,83 +0,0 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Subject: radeon: No MODESET without firmware
|
||||
Date: Sat, 17 Nov 2012 05:28:53 +0000
|
||||
Bug-Debian: http://bugs.debian.org/607194
|
||||
Bug-Debian: http://bugs.debian.org/607471
|
||||
Bug-Debian: http://bugs.debian.org/610851
|
||||
Bug-Debian: http://bugs.debian.org/627497
|
||||
Bug-Debian: http://bugs.debian.org/632212
|
||||
Bug-Debian: http://bugs.debian.org/637943
|
||||
Bug-Debian: http://bugs.debian.org/649448
|
||||
|
||||
radeon requires firmware/microcode for the GPU 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.
|
||||
This does not seem to happen if KMS is disabled.
|
||||
|
||||
Unfortunately, it is not possible to properly disable KMS once the
|
||||
missing firmware is discovered. Each driver registers with the DRM
|
||||
core as having certain capabilities such as DRIVER_MODESET (KMS) and
|
||||
the DRM does not allow for individual devices to have different
|
||||
capabilities!
|
||||
|
||||
Therefore, perform a basic check for the existence of
|
||||
/lib/firmware/radeon when the driver is loaded, and disable KMS
|
||||
if it is missing. I apologise for this gross hack, but I cannot
|
||||
see any more reliable solution that doesn't involve major changes
|
||||
to both DRM and radeon.
|
||||
|
||||
---
|
||||
--- a/drivers/gpu/drm/radeon/radeon_drv.c
|
||||
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
|
||||
@@ -36,6 +36,8 @@
|
||||
#include <drm/drm_pciids.h>
|
||||
#include <linux/console.h>
|
||||
#include <linux/module.h>
|
||||
+#include <linux/namei.h>
|
||||
+#include <linux/path.h>
|
||||
|
||||
|
||||
/*
|
||||
@@ -411,6 +413,24 @@ static struct pci_driver radeon_kms_pci_
|
||||
.resume = radeon_pci_resume,
|
||||
};
|
||||
|
||||
+/* Test that /lib/firmware/radeon is a directory (or symlink to a
|
||||
+ * directory). We could try to match the udev search path, but let's
|
||||
+ * assume people take the easy route and install
|
||||
+ * firmware-linux-nonfree.
|
||||
+ */
|
||||
+static bool __init radeon_firmware_installed(void)
|
||||
+{
|
||||
+ struct path path;
|
||||
+
|
||||
+ if (kern_path("/lib/firmware/radeon", LOOKUP_DIRECTORY | LOOKUP_FOLLOW,
|
||||
+ &path) == 0) {
|
||||
+ path_put(&path);
|
||||
+ return true;
|
||||
+ }
|
||||
+
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
static int __init radeon_init(void)
|
||||
{
|
||||
driver = &driver_old;
|
||||
@@ -435,6 +455,13 @@ static int __init radeon_init(void)
|
||||
radeon_modeset = 0;
|
||||
#endif
|
||||
}
|
||||
+ /* We have to commit to KMS before we've seen any devices, so
|
||||
+ * make a basic check to reduce the risk of failure later.
|
||||
+ */
|
||||
+ if (radeon_modeset == 1 && !radeon_firmware_installed()) {
|
||||
+ DRM_INFO("radeon kernel modesetting disabled; it requires firmware-linux-nonfree.\n");
|
||||
+ radeon_modeset = 0;
|
||||
+ }
|
||||
if (radeon_modeset == 1) {
|
||||
DRM_INFO("radeon kernel modesetting enabled.\n");
|
||||
driver = &kms_driver;
|
13499
debian/patches/features/all/alx/alx-add-new-QCA-ethernet-driver-which-supercedes-atl.patch
vendored
Normal file
13499
debian/patches/features/all/alx/alx-add-new-QCA-ethernet-driver-which-supercedes-atl.patch
vendored
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,36 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Subject: alx: mark as staging
|
||||
Date: Sun, 27 Jan 2013 23:43:01 +0000
|
||||
Bug-Debian: http://bugs.debian.org/699129
|
||||
Forwarded: not-needed
|
||||
|
||||
Since alx has not been accepted upstream (or even re-submitted for
|
||||
many months), it should be treated as staging.
|
||||
|
||||
Also remove the netdev list and supported flag from its MAINTAINERS
|
||||
entry.
|
||||
|
||||
---
|
||||
--- a/MAINTAINERS
|
||||
+++ b/MAINTAINERS
|
||||
@@ -1326,10 +1326,8 @@ M: Cloud Ren <cjren@qca.qualcomm.com>
|
||||
M: Stevent Li <steventl@qca.qualcomm.com>
|
||||
M: Wu Ken <kenw@qca.qualcomm.com>
|
||||
M: David Liu <dwliu@qca.qualcomm.com>
|
||||
-L: netdev@vger.kernel.org
|
||||
L: nic-devel@qualcomm.com
|
||||
W: http://wireless.kernel.org/en/users/Drivers/ethernet/alx
|
||||
-S: Supported
|
||||
F: drivers/net/ethernet/atheros/alx/
|
||||
|
||||
ATM
|
||||
--- a/drivers/net/ethernet/atheros/alx/alx_main.c
|
||||
+++ b/drivers/net/ethernet/atheros/alx/alx_main.c
|
||||
@@ -41,6 +41,7 @@ MODULE_DEVICE_TABLE(pci, alx_pci_tbl);
|
||||
MODULE_AUTHOR("Qualcomm Corporation, <nic-devel@qualcomm.com>");
|
||||
MODULE_DESCRIPTION("Qualcomm Atheros Gigabit Ethernet Driver");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
+MODULE_INFO(staging, "Y");
|
||||
|
||||
static int alx_open_internal(struct alx_adapter *adpt, u32 ctrl);
|
||||
static void alx_stop_internal(struct alx_adapter *adpt, u32 ctrl);
|
|
@ -0,0 +1,71 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Subject: alx: remove atl1c devices
|
||||
Date: Sun, 27 Jan 2013 23:37:52 +0000
|
||||
Bug-Debian: http://bugs.debian.org/699129
|
||||
Forwarded: not-needed
|
||||
|
||||
When alx was first reviewed, upstream demanded that any changes to
|
||||
support for the currently supported AR8131/8132/8151/8152 chips be
|
||||
made as a series of patches, not by deprecating or removing atl1c in a
|
||||
monolithic patch. Therefore:
|
||||
|
||||
Luis R. Rodriguez <mcgrof@frijolero.org> wrote:
|
||||
> The alx driver is to only support the AR8161 and AR8162
|
||||
> devices. The older devices are supported through atl1c.
|
||||
|
||||
I've also changed the Kconfig help text to reflect this.
|
||||
|
||||
---
|
||||
--- a/drivers/net/ethernet/atheros/Kconfig
|
||||
+++ b/drivers/net/ethernet/atheros/Kconfig
|
||||
@@ -56,14 +56,13 @@ config ATL1E
|
||||
will be called atl1e.
|
||||
|
||||
config ATL1C
|
||||
- tristate "Atheros L1C Gigabit Ethernet support (DEPRECATED)"
|
||||
+ tristate "Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)"
|
||||
depends on PCI && EXPERIMENTAL
|
||||
select CRC32
|
||||
select NET_CORE
|
||||
select MII
|
||||
---help---
|
||||
This driver supports the Atheros L1C gigabit ethernet adapter.
|
||||
- This driver is deprecated in favor for the alx (CONFIG_ALX) driver.
|
||||
This driver supports the following chipsets:
|
||||
|
||||
1969:1063 - AR8131 Gigabit Ethernet
|
||||
@@ -84,18 +83,7 @@ config ALX
|
||||
select MII
|
||||
---help---
|
||||
This driver supports the Atheros L1C/L1D/L1F gigabit ethernet
|
||||
- adapter. The alx driver is intended to replace completely the
|
||||
- atl1c driver with proper support and commitment from Qualcomm
|
||||
- Atheros (QCA). Both atl1c and alx supports the following chipsets:
|
||||
-
|
||||
- 1969:1063 - AR8131 Gigabit Ethernet
|
||||
- 1969:1062 - AR8132 Fast Ethernet (10/100 Mbit/s)
|
||||
- 1969:2062 - AR8152 v2.0 Fast Ethernet
|
||||
- 1969:2060 - AR8152 v1.1 Fast Ethernet
|
||||
- 1969:1073 - AR8151 v1.0 Gigabit Ethernet
|
||||
- 1969:1083 - AR8151 v2.0 Gigabit Ethernet
|
||||
-
|
||||
- Only alx supports the following chipsets:
|
||||
+ adapter. alx supports the following chipsets:
|
||||
|
||||
1969:1091 - AR8161
|
||||
1969:1090 - AR8162
|
||||
--- a/drivers/net/ethernet/atheros/alx/alx_main.c
|
||||
+++ b/drivers/net/ethernet/atheros/alx/alx_main.c
|
||||
@@ -33,12 +33,6 @@ static const char alx_drv_description[]
|
||||
#define ALX_ETHER_DEVICE(device_id) {\
|
||||
PCI_DEVICE(ALX_VENDOR_ID, device_id)}
|
||||
static DEFINE_PCI_DEVICE_TABLE(alx_pci_tbl) = {
|
||||
- ALX_ETHER_DEVICE(ALX_DEV_ID_AR8131),
|
||||
- ALX_ETHER_DEVICE(ALX_DEV_ID_AR8132),
|
||||
- ALX_ETHER_DEVICE(ALX_DEV_ID_AR8151_V1),
|
||||
- ALX_ETHER_DEVICE(ALX_DEV_ID_AR8151_V2),
|
||||
- ALX_ETHER_DEVICE(ALX_DEV_ID_AR8152_V1),
|
||||
- ALX_ETHER_DEVICE(ALX_DEV_ID_AR8152_V2),
|
||||
ALX_ETHER_DEVICE(ALX_DEV_ID_AR8161),
|
||||
ALX_ETHER_DEVICE(ALX_DEV_ID_AR8162),
|
||||
{0,}
|
|
@ -37,7 +37,6 @@ features/all/Kbuild-kconfig-Verbose-version-of-listnewconfig.patch
|
|||
debian/sched-autogroup-disabled.patch
|
||||
features/all/cgroups-Allow-memory-cgroup-support-to-be-included-b.patch
|
||||
debian/cgroups-Document-the-Debian-memory-resource-controll.patch
|
||||
bugfix/ia64/nouveau-ACPI-support-is-dependent-on-X86.patch
|
||||
bugfix/arm/ixp4xx_iobe.patch
|
||||
debian/x86-memtest-WARN-if-bad-RAM-found.patch
|
||||
|
||||
|
@ -50,7 +49,6 @@ debian/fs-enable-link-security-restrictions-by-default.patch
|
|||
bugfix/arm/omap-musb-choice.patch
|
||||
|
||||
features/all/xen/microcode.patch
|
||||
debian/radeon-no-modeset-without-firmware.patch
|
||||
features/all/xen/microcode-amd-fam15plus.patch
|
||||
features/all/xen/microcode-typo.patch
|
||||
|
||||
|
@ -65,3 +63,20 @@ bugfix/all/ath6kl-do-not-use-virt_addr_valid.patch
|
|||
|
||||
features/all/xen/microcode-api-update.patch
|
||||
bugfix/all/sock_diag-Fix-out-of-bounds-access-to-sock_diag_hand.patch
|
||||
|
||||
bugfix/all/md-protect-against-crash-upon-fsync-on-ro-array.patch
|
||||
|
||||
# alx *still* isn't upstream
|
||||
features/all/alx/alx-add-new-QCA-ethernet-driver-which-supercedes-atl.patch
|
||||
features/all/alx/remove-atl1c-devices-from-alx.patch
|
||||
features/all/alx/mark-as-staging.patch
|
||||
|
||||
bugfix/ia64/nouveau-ACPI-support-is-dependent-on-X86.patch
|
||||
debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
|
||||
bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-emachines-g725.patch
|
||||
bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-emachines-e725.patch
|
||||
bugfix/x86/drm-i915-add-quirk-to-invert-brightness-on-packard-bell-ncl20.patch
|
||||
|
||||
bugfix/all/mm-Try-harder-to-allocate-vmemmap-blocks.patch
|
||||
bugfix/x86/x86-efi-Make-noefi-really-disable-EFI-runtime-serivc.patch
|
||||
bugfix/all/USB-usb-storage-unusual_devs-update-for-Super-TOP-SA.patch
|
||||
|
|
|
@ -479,6 +479,11 @@ ifeq ($(MODULES),True)
|
|||
find $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/ -mindepth 1 -maxdepth 1 \! -name kernel -exec rm {} \+
|
||||
rm $(DEBUG_DIR)/lib/firmware -rf
|
||||
endif
|
||||
# Add symlinks to vmlinux from the locations expected by kdump-tools,
|
||||
# systemtap and others
|
||||
ln -s boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/
|
||||
mkdir -p $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)
|
||||
ln -s ../../../boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vmlinux
|
||||
+$(MAKE_SELF) install-base
|
||||
|
||||
install-udeb_$(ARCH): export KW_DEFCONFIG_DIR=debian/installer
|
||||
|
|
|
@ -3,7 +3,7 @@ Priority: optional
|
|||
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
|
||||
Uploaders: Bastian Blank <waldi@debian.org>, Frederik Schüler <fs@debian.org>, maximilian attems <maks@debian.org>, Ben Hutchings <ben@decadent.org.uk>
|
||||
Standards-Version: 3.9.2
|
||||
Build-Depends: debhelper (>> 7), cpio, kmod | module-init-tools, python (>= 2.6.6-3~), lzma [armel], kernel-wedge (>= 2.84), quilt, patchutils
|
||||
Build-Depends: debhelper (>> 7), cpio, kmod | module-init-tools, python (>= 2.7), lzma [armel], kernel-wedge (>= 2.84), quilt, patchutils
|
||||
Build-Depends-Indep: bzip2, xmlto
|
||||
Vcs-Svn: svn://svn.debian.org/svn/kernel/dists/trunk/linux/
|
||||
Vcs-Browser: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/
|
||||
|
|
Loading…
Reference in New Issue