Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Gem5/v4.4 #1

Open
wants to merge 10,000 commits into
base: gem5/v4.3
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
35b3154
Merge tag 'powerpc-4.4-5' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Dec 20, 2015
3a87711
Merge tag 'md/4.4-rc5-fixes' of git://neil.brown.name/md
torvalds Dec 20, 2015
24b0d5e
Merge tag 'usb-4.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Dec 20, 2015
69c37a9
Merge tag 'tty-4.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Dec 20, 2015
f076ef4
rtc: rk808: Compensate for Rockchip calendar deviation on November 31st
jwerner-chromium Dec 15, 2015
77535ac
rtc: da9063: fix access ordering error during RTC interrupt at system…
Dec 8, 2015
9f7e432
Merge tag 'rtc-4.4-3' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Dec 20, 2015
4ef7675
Linux 4.4-rc6
torvalds Dec 21, 2015
312045e
md: remove check for MD_RECOVERY_NEEDED in action_store.
Dec 21, 2015
ce360db
ACPI / processor: Fix thermal cooling device regression
spandruvada Dec 17, 2015
899cfd2
ARC: mm: HIGHMEM: Fix section mismatch splat
vineetgarc Dec 19, 2015
4b32e89
ARC: mm: fix building for MMU v2
abrodkin Dec 18, 2015
07fd7d4
ARC: Fix linking errors with CONFIG_MODULE + CONFIG_CC_OPTIMIZE_FOR_SIZE
vineetgarc Dec 21, 2015
2d64aff
Revert "ARC: dw2 unwind: Ignore CIE version !=1 gracefully instead of…
vineetgarc Dec 21, 2015
6d0d506
ARC: dw2 unwind: Don't bail for CIE.version != 1
vineetgarc Dec 21, 2015
6b538db
ARC: dw2 unwind: Catch Dwarf SNAFUs early
vineetgarc Dec 21, 2015
71a71fb
parisc: Fix syscall restarts
hdeller Dec 21, 2015
6a613ac
x86/entry: Fix some comments
amluto Dec 17, 2015
30bfa7b
x86/entry: Restore traditional SYSENTER calling convention
amluto Dec 17, 2015
670c0d6
net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card
dnlplm Dec 18, 2015
fb83d5f
net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T Mobile Broadband Card
dnlplm Dec 18, 2015
987aaad
Merge branch 'cdc_ncm-new-Dell-devices'
davem330 Dec 21, 2015
9c1d9c2
sd: Reject optimal transfer length smaller than page size
martinkpetersen Dec 16, 2015
9f660a1
ALSA: hda/realtek - Fix silent headphone output on MacPro 4,1 (v2)
kleinerm Dec 21, 2015
615cb24
drm/i915: Drop the broken cursor base==0 special casing
vsyrjala Dec 14, 2015
62d622c
drm/i915: Set the map-and-fenceable flag for preallocated objects
ickle Nov 20, 2015
a59fac6
drm/i915: Disable primary plane if we fail to reconstruct BIOS fb (v2)
mattrope Dec 3, 2015
5dc62fd
MIPS: uaccess: Fix strlen_user with EVA
Aug 5, 2015
e7571f7
drm/i915: Break busywaiting for requests on pending signals
ickle Dec 11, 2015
6f06a2c
MIPS: uaccess: Take EVA into account in __copy_from_user()
Aug 5, 2015
f87a780
drm/i915: Limit the busy wait on requests to 5us not 10ms!
ickle Dec 11, 2015
0f0cd47
drm/i915: Only spin whilst waiting on the current request
ickle Dec 11, 2015
ef8dd37
drm/i915: Workaround CHV pipe C cursor fail
vsyrjala Dec 18, 2015
d6a428f
MIPS: uaccess: Take EVA into account in [__]clear_user
Aug 5, 2015
57a2af6
drm/i915: Kill intel_crtc->cursor_bo
vsyrjala Dec 14, 2015
97f9010
drm/i915: mdelay(10) considered harmful
danvet Dec 11, 2015
a98728e
drm/i915: Correct max delay for HDMI hotplug live status checking
zcwang Dec 15, 2015
f3575e2
MIPS: CPS: drop .set mips64r2 directives
paulburton Aug 5, 2015
2a037f3
MIPS: VDSO: Fix build error
Dec 8, 2015
0d96e4b
crypto: algif_skcipher - Use new skcipher interface
herbertx Dec 18, 2015
ec7b972
MIPS: Fix build error due to unused variables.
ralfbaechle Nov 27, 2015
a7f2d78
KVM: MTRR: fix fixed MTRR segment look up
AlexisC0de Dec 14, 2015
fa7c4eb
KVM: MTRR: observe maxphyaddr from guest CPUID, not host
bonzini Dec 14, 2015
e24dea2
KVM: MTRR: treat memory as writeback if MTRR is disabled in guest CPUID
bonzini Dec 22, 2015
0185604
KVM: x86: Reload pit counters for all channels when restoring state
Nov 18, 2015
b587522
NVMe: IO ending fixes on surprise removal
Dec 11, 2015
23688bf
block: ensure to split after potentially bouncing a bio
nomuranec Dec 22, 2015
e827120
null_blk: fix use-after-free error
krinkinmu Dec 15, 2015
427d6e4
bus: sunxi-rsb: Fix primary PMIC mapping hardware address
wens Dec 16, 2015
bccd240
bus: sunxi-rsb: Fix peripheral IC mapping runtime address
wens Dec 16, 2015
8b9c133
Merge tag 'imx-fixes-4.4-3' of git://git.kernel.org/pub/scm/linux/ker…
olofj Dec 22, 2015
a7c09ae
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
davem330 Dec 22, 2015
ce8c839
veth: don’t modify ip_summed; doing so treats packets with bad checks…
vijayp Dec 18, 2015
5cbf20c
sh_eth: fix 16-bit descriptor field access endianness too
Dec 19, 2015
ef9cdd0
switchdev: bridge: Pass ageing time as clock_t instead of jiffies
idosch Dec 21, 2015
e459dfe
ipv6/addrlabel: fix ip6addrlbl_get()
aryabinin Dec 21, 2015
741db4a
Merge tag 'omap-for-v4.4/fixes-rc6' of git://git.kernel.org/pub/scm/l…
olofj Dec 22, 2015
024f35c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
davem330 Dec 22, 2015
5449a5c
addrconf: always initialize sysctl table data
congwang Dec 21, 2015
de37937
um: Fix pointer cast
l0kod Dec 22, 2015
ea82813
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Dec 22, 2015
80373d3
ARM: tegra: Fix suspend hang on Tegra124 Chromebooks
jonhunter Dec 8, 2015
ad3d1ab
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Dec 22, 2015
e73a317
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Dec 22, 2015
0bee6ec
Merge tag 'nfsd-4.4-1' of git://linux-nfs.org/~bfields/linux
torvalds Dec 22, 2015
24bc3ea
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Dec 23, 2015
d380561
block: Split bios on chunk boundaries
Dec 22, 2015
3dd5fc0
Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328',…
broonie Dec 23, 2015
fac5159
IB/cma: cma_match_net_dev needs to take into account port_num
matanb10 Dec 21, 2015
df41766
IB/mlx4: Replace kfree with kvfree in mlx4_ib_destroy_srq
Wengang-oracle Dec 17, 2015
0fb0b82
Merge tag 'asoc-fix-v4.4-rc6' of git://git.kernel.org/pub/scm/linux/k…
tiwai Dec 23, 2015
ae35b56
drm/i915: Unbreak check_digital_port_conflicts()
vsyrjala Dec 10, 2015
2bfd43d
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
torvalds Dec 23, 2015
5b726e0
Merge tag 'drm-intel-fixes-2015-12-23' of git://anongit.freedesktop.o…
torvalds Dec 23, 2015
a881643
Merge tag 'sound-4.4-rc7' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Dec 23, 2015
9bcfd78
sparc: Hook up userfaultfd system call
mjkravetz Nov 20, 2015
a7def56
cpufreq: scpi-cpufreq: signedness bug in scpi_get_dvfs_info()
Dec 15, 2015
c1a9a29
ipv6: honor ifindex in case we receive ll addresses in router adverti…
strssndktn Dec 23, 2015
184fc8b
geneve: initialize needed_headroom
Dec 23, 2015
1dfddff
net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
bmork Dec 23, 2015
3358a5c
qlcnic: fix a loop exit condition better
Dec 24, 2015
01fd3c2
tty: serial: constify sunhv_ops structs
Dec 14, 2015
82924e5
sparc64: Add ADI capability to cpu capabilities
hikerockies Dec 17, 2015
1ca04a4
sparc64: Don't set %pil in rtrap_nmi too early
Dec 22, 2015
3f74306
sparc64: Ensure perf can access user stacks
Dec 23, 2015
8335269
sparc64: Perf should save/restore fault info
Dec 23, 2015
a7c5724
sparc64: fix FP corruption in user copy functions
Dec 23, 2015
079317a
tty/serial: Skip 'NULL' char after console break when sysrq enabled
vijaykumar-s Dec 23, 2015
e73694d
ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz
Dec 23, 2015
682cb0c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
torvalds Dec 25, 2015
8db7b3c
Merge branch 'parisc-4.4-4' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Dec 25, 2015
43b28ca
Merge branches 'acpi-processor' and 'pm-cpufreq'
rafaeljw Dec 26, 2015
12261f4
Merge tag 'arc-4.4-rc7-fixes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Dec 26, 2015
e2b0a16
Merge tag 'trace-v4.4-rc4-2' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Dec 27, 2015
3bef22e
Merge tag 'upstream-4.4-rc7' of git://git.infradead.org/linux-ubifs
torvalds Dec 27, 2015
f0cf008
Merge tag 'md/4.4-rc6-fix' of git://neil.brown.name/md
torvalds Dec 27, 2015
2c96961
Merge tag 'pm+acpi-4.4-rc7' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Dec 27, 2015
930c0f7
MIPS: Fix bitrot in __get_user_unaligned()
Dec 25, 2015
db06650
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Dec 28, 2015
3ae86f1
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…
torvalds Dec 28, 2015
74bf8ef
Linux 4.4-rc7
torvalds Dec 28, 2015
9ba0b96
sctp: use GFP_USER for user-controlled kmalloc
marceloleitner Dec 23, 2015
3538a5c
sctp: label accepted/peeled off sockets
marceloleitner Dec 23, 2015
f9ec0d5
Merge remote-tracking branch 'mkp-scsi/4.4/scsi-fixes' into fixes
Dec 28, 2015
5b11e9c
iommu/dma: Add some missing #includes
rmurphy-arm Dec 18, 2015
0a9afed
iommu/dma: Avoid unlikely high-order allocations
rmurphy-arm Dec 18, 2015
f64232e
iommu/ipmmu-vmsa: Don't truncate ttbr if LPAE is not enabled
geertu Dec 22, 2015
c6002d5
RDMA/ocrdma: Fix vlan-id assignment in qp parameters
Dec 24, 2015
36ac0db
RDMA/ocrdma: Dispatch only port event when port state changes
Dec 24, 2015
10a214d
RDMA/ocrdma: Depend on async link events from CNA
Dec 24, 2015
f41647e
RDMA/be2net: Remove open and close entry points
Dec 24, 2015
2c7143d
Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Dec 28, 2015
8513342
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git…
torvalds Dec 28, 2015
2149141
block: add blk_start_queue_async()
axboe Dec 28, 2015
48cc661
null_blk: use async queue restart helper
axboe Dec 28, 2015
1e60508
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Dec 29, 2015
3694cb2
ALSA: hda - Add mic mute hotkey quirk for Lenovo ThinkCentre AIO
KailangYang Dec 28, 2015
c7b60a8
ALSA: hda - Add keycode map for alc input device
jason77-wang Dec 28, 2015
c3293a9
lightnvm: wrong offset in bad blk lun calculation
MatiasBjorling Dec 29, 2015
76cc404
[PATCH] arm: fix handling of F_OFD_... in oabi_fcntl64()
Dec 29, 2015
90c7afc
openvswitch: Fix template leak in error cases.
joestringer Dec 23, 2015
c1e3334
drivers: net: cpsw: fix error return code
JuliaLawall Dec 26, 2015
398c750
MIPS: VDSO: Fix build error with binutils 2.24 and earlier
groeck Dec 24, 2015
5c9ee4c
ocfs2: fix BUG when calculate new backup super
josephhz Dec 29, 2015
6df3868
mm: memcontrol: fix possible memcg leak due to interrupted reclaim
Dec 29, 2015
facca61
arch/x86/xen/suspend.c: include xen/xen.h
akpm00 Dec 29, 2015
6122192
m32r: fix build failure
sudipm-mukherjee Dec 29, 2015
92a8ed4
m32r: add io*_rep helpers
sudipm-mukherjee Dec 29, 2015
b5a8bc3
ocfs2: fix flock panic issue
biger410 Dec 29, 2015
5f0f288
mm/memory_hotplug.c: check for missing sections in test_pages_in_a_zo…
Dec 29, 2015
cc28d6d
ocfs2/dlm: clear migration_pending when migration target goes down
xuejiufei Dec 29, 2015
6cdb18a
mm/vmstat: fix overflow in mod_zone_page_state()
heicarst Dec 29, 2015
e25bd6c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Dec 30, 2015
866be88
Merge branch 'akpm' (patches from Andrew)
torvalds Dec 30, 2015
3d8acd1
drm/i915: increase the tries for HDMI hotplug live status checking
zcwang Dec 23, 2015
ca8457b
ASoC: rt5645: add sys clk detection
Dec 30, 2015
783513e
ASoC: Use nested lock for snd_soc_dapm_mutex_lock
charleskeepax Dec 29, 2015
dd7a5ab
x86/numachip: Fix NumaConnect2 MMCFG PCI access
dblueman Dec 30, 2015
c616920
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Dec 30, 2015
574aab1
net, socket, socket_wq: fix missing initialization of flags
nicstange Dec 29, 2015
a0ccc3f
Merge tag 'wireless-drivers-for-davem-2015-12-28' of git://git.kernel…
davem330 Dec 30, 2015
068d8bd
sctp: sctp should release assoc when sctp_make_abort_user return NULL…
lxin Dec 29, 2015
694341c
ARM: Fix broken USB support in sunxi_defconfig
silentcreek Dec 29, 2015
8b30ca7
sparc: Add all necessary direct socket system calls.
davem330 Dec 31, 2015
42d85c5
sparc: Wire up mlock2 system call.
davem330 Dec 31, 2015
8f5daf2
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Dec 31, 2015
7c672dd
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
torvalds Dec 31, 2015
9c982e8
Merge tag 'pci-v4.4-fixes-3' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Dec 31, 2015
4e5e384
Merge tag 'drm-intel-fixes-2016-01-02' of git://anongit.freedesktop.o…
torvalds Jan 3, 2016
4294616
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…
torvalds Jan 3, 2016
1683098
Linux 4.4-rc8
torvalds Jan 3, 2016
713a3e4
ftrace/scripts: Fix incorrect use of sprintf in recordmcount
Dec 30, 2015
472b444
mtd: fix cmdlinepart parser, early naming for auto-filled MTD
computersforpeace Dec 11, 2015
f36d1be
tracing: Fix setting of start_index in find_next()
QiuPeiyang Dec 31, 2015
9daf38f
drm/nouveau/gr/nv40: fix oops in interrupt handler
Jan 3, 2016
b77357b
qlcnic: correctly handle qlcnic_alloc_mbx_args
insuyun Dec 29, 2015
3934aa4
cxgb4: correctly handling failed allocation
insuyun Dec 29, 2015
55285bf
connector: bump skb->users before callback invocation
Dec 31, 2015
7ec2541
r8152: add reset_resume function
hayesorz Jan 4, 2016
b5bdacf
net: Propagate lookup failure in l3mdev_get_saddr to caller
Jan 4, 2016
c845acb
af_unix: Fix splice-bind deadlock
Jan 3, 2016
fb203ad
ASoC: Intel: Skylake: Revert previous broken fix memory leak fix
Jan 5, 2016
d801836
ASoC: Intel: Skylake: Fix the memory leak
Jan 5, 2016
c1b27ab
tile: provide CONFIG_PAGE_SIZE_64KB etc for tilepro
Dec 22, 2015
3331f99
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Jan 5, 2016
ee9a7d2
Merge tag 'trace-v4.4-rc4-3' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jan 5, 2016
ff62198
bridge: Only call /sbin/bridge-stp for the initial network namespace
strssndktn Jan 5, 2016
7a78d94
Merge remote-tracking branch 'asoc/fix/arizona' into asoc-linus
broonie Jan 5, 2016
449af26
Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
broonie Jan 5, 2016
84a5347
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-linus
broonie Jan 5, 2016
bc42f36
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
broonie Jan 5, 2016
67b9bcd
mtd: spi-nor: fix Spansion regressions (aliased with Winbond)
computersforpeace Dec 15, 2015
a32d5b7
mtd: spi-nor: fix stm_is_locked_sr() parameters
computersforpeace Dec 15, 2015
55795ef
net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
vitkyrka Jan 5, 2016
60aa3b0
6pack: fix free memory scribbles
Jan 5, 2016
f941461
ARM: net: bpf: fix zero right shift
vitkyrka Jan 5, 2016
73c20a8
net: sched: fix missing free per cpu on qstats
jrfastab Jan 5, 2016
16605e8
dmaengine: Revert "dmaengine: mic_x100: add missing spin_unlock"
ashutoshx Dec 23, 2015
c127449
perf: Fix race in perf_event_exec()
Dec 10, 2015
12ca6ad
perf: Fix race in swevent hash
Dec 15, 2015
9e0e83a
sched/fair: Fix multiplication overflow on 32-bit systems
aryabinin Dec 14, 2015
570f524
sched/core: Check tgid in is_global_init()
sergey-senozhatsky Jan 1, 2016
be958bd
sched/core: Fix unserialized r-m-w scribbling stuff
Nov 25, 2015
093e584
sched/core: Reset task's lockless wake-queues on fork()
Dec 21, 2015
e7b11dc
ARM: OMAP2+: Fix onenand rate detection to avoid filesystem corruption
tmlind Jan 5, 2016
3f37b26
Merge tag 'asoc-fix-v4.4-rc8' of git://git.kernel.org/pub/scm/linux/k…
tiwai Jan 6, 2016
07a5d38
net: possible use after free in dst_release
Jan 6, 2016
fde55c4
mkiss: fix scribble on freed memory
Jan 6, 2016
e439bd4
net: qmi_wwan: Add WeTelecom-WPD600N
kristrev Jan 6, 2016
58caf63
Driver: Vmxnet3: Fix regression caused by 5738a09
Jan 6, 2016
8b8a321
tcp: fix zero cwnd in tcp_cwnd_reduction
yuchungcheng Jan 6, 2016
51cb67c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Jan 7, 2016
b06f3a1
Merge tag 'for-linus-20160106' of git://git.infradead.org/linux-mtd
torvalds Jan 7, 2016
a461a3e
ARM: nomadik: set latencies to 8 cycles
linusw Jan 4, 2016
20f1275
ARM: versatile: fix MMC/SD interrupt assignment
linusw Jan 5, 2016
b02bab6
async_tx: use GFP_NOWAIT rather than GFP_IO
Jan 7, 2016
b0b7902
dmaengine: xgene-dma: Fix double IRQ issue by setting IRQ_DISABLE_UNL…
Dec 23, 2015
3bea6a4
Merge branch 'linux-4.4' of git://github.com/skeggsb/linux into drm-f…
airlied Jan 7, 2016
164afb1
iommu/dma: Use correct offset in map_sg
rmurphy-arm Jan 4, 2016
e5e57e7
kvm: x86: only channel 0 of the i8254 is linked to the HPET
bonzini Jan 7, 2016
5b1a618
ARM: Fix broken USB support in multi_v7_defconfig for sunxi devices
silentcreek Jan 1, 2016
0f090bf
dts: vt8500: Add SDHC node to DTS file for WM8650
Jan 1, 2016
049fb9b
ftrace/module: Call clean up function when module init fails early
rostedt Jan 6, 2016
2626820
Merge tag 'trace-v4.4-rc4-4' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jan 7, 2016
1d8b0e7
Merge tag 'iommu-fixes-v4.4-rc8' of git://git.kernel.org/pub/scm/linu…
torvalds Jan 7, 2016
02006f7
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
torvalds Jan 7, 2016
9db22d9
ACPI / property: avoid leaking format string into kobject name
kees Jan 7, 2016
ff4319d
firmware: dmi_scan: Fix UUID endianness for SMBIOS >= 2.6
aagit Jan 8, 2016
5c3b99d
PCI: dra7xx: Mark driver as broken
richardcochran Jan 8, 2016
6126eb2
Revert "block: Split bios on chunk boundaries"
axboe Jan 8, 2016
841bcd2
Merge tag 'omap-for-v4.4/onenand-corruption' of git://git.kernel.org/…
arndb Jan 8, 2016
4054f64
Merge tag 'sound-4.4' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Jan 8, 2016
436950a
Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jan 8, 2016
212c7f6
Merge tag 'dmaengine-fix-4.4' of git://git.infradead.org/users/vkoul/…
torvalds Jan 8, 2016
a6a7358
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Jan 8, 2016
ea83ae2
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Jan 8, 2016
3ab6d1e
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…
torvalds Jan 8, 2016
de03017
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…
torvalds Jan 8, 2016
650e545
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Jan 8, 2016
496b0b5
Merge tag 'pm+acpi-4.4-final' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 8, 2016
516c50c
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Jan 8, 2016
44d8a7d
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jan 9, 2016
751e5f5
vmstat: allocate vmstat_wq before it is used
Jan 8, 2016
c0cb139
Merge tag 'pci-v4.4-fixes-4' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jan 9, 2016
eac6f76
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Jan 9, 2016
afd2ff9
Linux 4.4
torvalds Jan 10, 2016
e35fa92
gem5: Add gem5 instrumentation
andysan Dec 1, 2015
7d85279
gem5: Add support for gem5's extended GIC mode
andysan Dec 1, 2015
e12ffd4
gem5: Add aarch32 default configurations
andysan Dec 8, 2015
7ae8120
gem5: add defconfig for arm64
Apr 5, 2016
86a7b4a
gem5: Add readq and writeq support to arch/arm/include/asm/io.h
Apr 6, 2016
795add6
gem5: Add MSI and GIC_v2m build support to arm architecture
Apr 6, 2016
4bfd6d0
gem5: Update armv7 gem5_defconfig to support MSI and GIC_v2m
Apr 6, 2016
c7b7dc2
drm: Add support for ARM's HDLCD controller.
dliviu Apr 2, 2015
9e633bb
drm: ARM HDLCD - get rid of devm_clk_put()
abrodkin Feb 19, 2016
fbae3f4
drm: ARM HDLCD - fix an error code
Apr 2, 2016
edd74f2
Documentation: drm: Add DT bindings for ARM HDLCD
dliviu Dec 12, 2013
2fe5557
dt/bindings: display: Add DT bindings for the DRM virtual encoder
dliviu Mar 15, 2016
443c2d9
drm: Add component-aware simple encoder
dliviu Mar 7, 2016
ea23f2f
fbdev: add dma-buf support
Aug 22, 2014
e8c0cf8
fbdev: Add missing dependency on CONFIG_DMA_SHARED_BUFFER
andysan May 5, 2016
ed48cad
drm/fb_cma_helper: Add support for the fbdev dma-buf API
andysan Nov 20, 2015
09d200b
gem5: Enable the HDLCD driver by default on v7
andysan May 5, 2016
8062a3b
gem5: Update defconfigs with defaults for 4.4
andysan May 6, 2016
e16f94e
gem5: Fix initialization of gem5 GIC extensions
andysan Jul 20, 2016
25f51f6
drm: Add missing dependency for the component-aware simple encoder
andysan Aug 19, 2016
2e54922
drm/fb_cma_helper: Increase ref count when exporting dma-buf
andysan Sep 7, 2016
6a5a789
gem5, ARM: Add support for the gem5 energy controller
Sticklyman1936 Jan 14, 2016
5b15712
gem5, ARM: Enable the CPUFreq framework and corresponding drivers
Sticklyman1936 May 16, 2016
5c8b411
gem5, ARM64: Enable the CPUFreq framework and corresponding drivers
Sticklyman1936 May 16, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rtc: da9063: fix access ordering error during RTC interrupt at system…
… power on

This fix alters the ordering of the IRQ and device registrations in the RTC
driver probe function. This change will apply to the RTC driver that supports
both DA9063 and DA9062 PMICs.

A problem could occur with the existing RTC driver if:

A system is started from a cold boot using the PMIC RTC IRQ to initiate a
power on operation. For instance, if an RTC alarm is used to start a
platform from power off.
The existing driver IRQ is requested before the device has been properly
registered.
i.e.
    ret = devm_request_threaded_irq()
comes before
    rtc->rtc_dev = devm_rtc_device_register();

In this case, the interrupt can be called before the device has been
registered and the handler can be called immediately. The IRQ handler
da9063_alarm_event() contains the function call

    rtc_update_irq(rtc->rtc_dev, 1, RTC_IRQF | RTC_AF);

which in turn tries to access the unavailable rtc->rtc_dev.

The fix is to reorder the functions inside the RTC probe. The IRQ is
requested after the RTC device resource has been registered so that
get_irq_byname is the last thing to happen.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
  • Loading branch information
Steve Twiss authored and alexandrebelloni committed Dec 20, 2015
commit 77535acedc26627f16a1a39c1471f942689fe11e
19 changes: 9 additions & 10 deletions drivers/rtc/rtc-da9063.c
Original file line number Diff line number Diff line change
@@ -483,24 +483,23 @@ static int da9063_rtc_probe(struct platform_device *pdev)

platform_set_drvdata(pdev, rtc);

rtc->rtc_dev = devm_rtc_device_register(&pdev->dev, DA9063_DRVNAME_RTC,
&da9063_rtc_ops, THIS_MODULE);
if (IS_ERR(rtc->rtc_dev))
return PTR_ERR(rtc->rtc_dev);

da9063_data_to_tm(data, &rtc->alarm_time, rtc);
rtc->rtc_sync = false;

irq_alarm = platform_get_irq_byname(pdev, "ALARM");
ret = devm_request_threaded_irq(&pdev->dev, irq_alarm, NULL,
da9063_alarm_event,
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
"ALARM", rtc);
if (ret) {
if (ret)
dev_err(&pdev->dev, "Failed to request ALARM IRQ %d: %d\n",
irq_alarm, ret);
return ret;
}

rtc->rtc_dev = devm_rtc_device_register(&pdev->dev, DA9063_DRVNAME_RTC,
&da9063_rtc_ops, THIS_MODULE);
if (IS_ERR(rtc->rtc_dev))
return PTR_ERR(rtc->rtc_dev);

da9063_data_to_tm(data, &rtc->alarm_time, rtc);
rtc->rtc_sync = false;
return ret;
}