4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Takatoshi Akiyama
commit 3c9101766b502a0163d1d437fada5801cf616be2 upstream.
This patch fixes an issue that kernel panic happens when DMA is enabled
and we press enter key while the kernel boot
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Paul Moore
commit 48d0e023af9799cd7220335baf8e3ba61eeafbeb upstream.
Cong Wang correctly pointed out that the RCU read locking of the
auditd_connection struct was wrong, this patch correct thi
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Amey Telawane
commit e09e28671cda63e6308b31798b997639120e2a21 upstream.
Strcpy is inherently not safe, and strlcpy() should be used instead.
__trace_find_cmdline() uses strcpy() because the co
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Sawan Chandak
commit b95b9452aacf80659ea67bf0948cbfa7e28e5e0b upstream.
when driver is loaded with Multi Queue enabled, it was noticed that
there was one less queue pair created.
Following me
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Christophe Leroy
commit 6f553912eedafae13ff20b322a65e471fe7f5236 upstream.
of_mm_gpiochip_add_data() generates an oops for NULL pointer dereference.
of_mm_gpiochip_add_data() calls mm_gc->sav
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Joe Carnuccio
commit 74939a0bc772d642b1c12827966c4c3a3c90ea2c upstream.
Signed-off-by: Joe Carnuccio
Signed-off-by: Himanshu Madhani
Signed-off-by: Martin K. Petersen
Signed-off-by: Greg Kr
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Sebastian Andrzej Siewior
commit 40da1b11f01e43aad1aa6cea64681b6125e8a2a7 upstream.
If a custom CPU target is specified and that one is not available _or_
can't be interrupted then the code re
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Vladis Dronov
commit ee9c4e681ec4f58e42a83cb0c22a0289ade1aacf upstream.
The 'req->mip_levels' parameter in vmw_gb_surface_define_ioctl() is
a user-controlled 'uint32_t' value which is used as
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Jin Yao
commit cc1582c231ea041fbc68861dfaf957eaf902b829 upstream.
When doing sampling, for example:
perf record -e cycles:u ...
On workloads that do a lot of kernel entry/exits we see kern
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Jason A. Donenfeld
commit b169c13de473a85b3c859bb36216a4cb5f00a54a upstream.
It's possible that get_random_{u32,u64} is used before the crng has
initialized, in which case, its output might no
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Johannes Thumshirn
commit ddff7ed45edce4a4c92949d3c61cd25d229c4a14 upstream.
When pci_enable_device() or pci_enable_device_mem() fail in
qla2x00_probe_one() we bail out but do a call to
pci_di
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Rob Clark
commit 786813c343cb619d23cb0990e152e350b826d810 upstream.
Somehow the helper was never retrofitted for mdp5. Which meant when
plane_state->fence was added, it could get copied into
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Andrew Lunn
commit 3e4240da0e3673637c1c995bdd14cfdbc8f4dc4c upstream.
This reverts commit 368e5fbdfc60732643f34f538823ed4bc8829827.
devm_ioremap_resource() enforces that there are no overlapp
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Dominik Brodowski
commit 5b0bc9ac2ce4881ee318a21f31140584ce4dbdad upstream.
During early boot, load_ucode_intel_ap() uses __load_ucode_intel()
to obtain a pointer to the relevant microcode pat
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Takashi Iwai
commit d11662f4f798b50d8c8743f433842c3e40fe3378 upstream.
The read from ALSA timer device, the function snd_timer_user_tread(),
may access to an uninitialized struct snd_timer_use
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Bart Van Assche
commit b425e50492583b10cceb388af36ef0bd3bdf842a upstream.
Since the introduction of .init_rq_fn() and .exit_rq_fn() it is
essential that the memory allocated for struct request
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Jeff Mahoney
commit 896533a7da929136d0432713f02a3edffece2826 upstream.
If we fail to add the space_info kobject, we'll leak the memory
for the percpu counter.
Fixes: 6ab0a2029c (btrfs: publis
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Frederic Barrat
commit cec422c11caeeccae709e9942058b6b644ce434c upstream.
Fix error path if we can't copy user structure on CXL_IOCTL_START_WORK
ioctl. We shouldn't unlock the context status m
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Jeff Mahoney
commit a9b3311ef36b670909ea4443f306c8318082c8f0 upstream.
If we have to recover relocation during mount, we'll ultimately have to
evict the orphan inode. That goes through the re
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Al Viro
commit 8785d84d002c2ce0f68fbcd6c2c86be859802c7e upstream.
Signed-off-by: Al Viro
Signed-off-by: Greg Kroah-Hartman
---
fs/ufs/inode.c |2 +-
1 file changed, 1 insertion(+), 1 d
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Alexander Sverdlin
commit 98f9de366fccee7572c646af226b2d4b4841e3b5 upstream.
Draining the transfers in terminate_all callback happens with IRQs disabled,
therefore induces huge latency:
irqs
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Ulrik De Bie
commit 47eb0c8b4d9eb6368941c6a9bb443f00847a46d7 upstream.
The Lifebook E546 and E557 touchpad were also not functioning and
worked after running:
echo "1" > /sys/devices/
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Sui Chen
commit 8bfd174312629866efa535193d9e563768ff4307 upstream.
(Correction in this resend: fixed function name acer_sa5_271_workaround; fixed
the always-true condition in the function; fi
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Hanna Hawa
commit ab2c5f0a77fe49bdb6e307b397496373cb47d2c2 upstream.
The engine was enabled prior to its configuration, which isn't
correct. This patch relocates the activation of the XOR engi
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Franziska Naepelt
commit 7cc3bff4efe6164a0c8163331c8aa55454799f42 upstream.
The register mapping for the IIO driver for the Liteon Light and Proximity
sensor LTR501 interrupt mode is interchan
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Oleg Drokin
commit 0a33252e060e97ed3fbdcec9517672f1e91aaef3 upstream.
lov_getstripe() calls set_fs(KERNEL_DS) so that it can handle a struct
lov_user_md pointer from user- or kernel-space. Th
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Konstantin Khlebnikov
commit 887a9730614727c4fff7cb756711b190593fc1df upstream.
ext4_expand_extra_isize() should clear only space between old and new
size.
Fixes: 6dd4ee7cab7e # v2.6.23
Signe
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Thomas Petazzoni
commit 2aab4e18152cd30cb5d2f4c27629fc8a04aed979 upstream.
mv_xor_v2_tasklet() is looping over completed HW descriptors. Before the
loop, it initializes 'next_pending_hw_desc'
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Thomas Petazzoni
commit eb8df543e92328f506adffc7dfe94111f1bd upstream.
The mv_xor_v2_prep_sw_desc() is called from a few different places in
the driver, but we never take into account the
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Eric Biggers
commit e9ff56ac352446f55141aaef1553cee662b2e310 upstream.
Since v4.9, the crypto API cannot (normally) be used to encrypt/decrypt
stack buffers because the stack may be virtually
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Luis Henriques
commit f9797c2f20c0160edd718aa467101f3301e57e59 upstream.
ftrace_hash is being kfree'ed in ftrace_graph_release(), however the
->buckets field is not. This results in a memory
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Alexander Sverdlin
commit 0037ae47812b1f431cc602100d1d51f37d77b61e upstream.
The current buffer is being reset to zero on device_free_chan_resources()
but not on device_terminate_all(). It cou
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Hiroyuki Yokoyama
commit 9a445bbb1607d9f14556a532453dd86d1b7e381e upstream.
This patch fixes the register definition of AE (Address Error flag) bit.
Fixes: 0c1c8ff32fa2 ("dmaengine: usb-dmac:
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Gilad Ben-Yossef
commit a5dfefb1c3f3db81662556393fd9283511e08430 upstream.
drbg_kcapi_sym_ctr() was using wait_for_completion_interruptible() to
wait for completion of async crypto op but if a
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Marc Zyngier
commit 33b5c38852b29736f3b472dd095c9a18ec22746f upstream.
We currently have the HSCTLR.A bit set, trapping unaligned accesses
at HYP, but we're not really prepared to deal with it
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Dave Young
commit 7425826f4f7ac60f2538b06a7f0a5d1006405159 upstream.
Sabrina Dubroca reported an early panic:
BUG: unable to handle kernel paging request at ff240001
IP: efi_bgrt_
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Amir Goldstein
commit 8137ae26d25303e7b5cfb418fd28b976461e5b6e upstream.
Fixes: 42f269b92540 ("ovl: rearrange code in ovl_copy_up_locked()")
Signed-off-by: Amir Goldstein
Signed-off-by: Miklo
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Gilad Ben-Yossef
commit f3ad587070d6bd961ab942b3fd7a85d00dfc934b upstream.
crypto_gcm_setkey() was using wait_for_completion_interruptible() to
wait for completion of async crypto op but if a
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Mark Bloch
[ Upstream commit a53cb29b0af346af44e4abf13d7e59f807fba690 ]
Adding a vxlan interface to a socket isn't symmetrical, while adding
is done in vxlan_open() the deletion is done in vx
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: "David S. Miller"
[ Upstream commit e3e86b5119f81e5e2499bea7ea1ebe8ac6aab789 ]
If ip6_find_1stfragopt() fails and we return an error we have to free
up 'segs' because nobody else is going to.
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Yuchung Cheng
[ Upstream commit 44abafc4cc094214a99f860f778c48ecb23422fc ]
When the sender switches its congestion control during loss
recovery, if the recovery is spurious then it may incorr
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Pavel Tatashin
[ Upstream commit 14d0334c6748ff2aedb3f2f7fdc51ee90a9b54e7 ]
The only difference between these two functions is that in activate_mm we
unconditionally flush context. However, t
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Pavel Tatashin
[ Upstream commit 588974857359861891f478a070b1dc7ae04a3880 ]
After a wrap (getting a new context version) a process must get a new
context id, which means that we would need to
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: "Mintz, Yuval"
[ Upstream commit 3968d38917eb9bd0cd391265f6c9c538d9b33ffa ]
Apparently multi-cos isn't working for bnx2x quite some time -
driver implements ndo_select_queue() to allow queue-
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Eric Dumazet
[ Upstream commit 77d4b1d36926a9b8387c6b53eeba42bcaaffcea3 ]
Alexander reported various KASAN messages triggered in recent kernels
The problem is that ping sockets should not us
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Florian Fainelli
[ Upstream commit d31353cd753c443ace5723d6878a39f393a0c136 ]
On SYSTEMPORT Lite, since we have the main interrupt source in the first
cell, the second cell is the Wake-on-LAN
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Niklas Cassel
[ Upstream commit 426849e6611f2092553f8d53372ae310818a6292 ]
stmmac_tso_allocator can fail to set the Last Descriptor bit
on a descriptor that actually was the last descriptor.
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: "David S. Miller"
[ Upstream commit 1b4af13ff2cc6897557bb0b8d9e2fad4fa4d67aa ]
Reported-by: Waldemar Brodkorb
Signed-off-by: David S. Miller
Signed-off-by: Greg Kroah-Hartman
---
arch/spa
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Max Filippov
[ Upstream commit d220b942a4b6a0640aee78841608f4aa5e8e185e ]
ethoc_reset enables device interrupts, ethoc_interrupt may schedule a
NAPI poll before NAPI is enabled in the ethoc_o
4.11-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Haines
[ Upstream commit e3ebdb20fddacded2740a333ff66781e0d28b05c ]
When using CALIPSO with IPPROTO_UDP it is possible to trigger a GPF as the
IP header may have moved.
Also update t
Le 12/06/2017 à 15:25, Daniel Lezcano a écrit :
> On 12/06/2017 14:54, Nicolas Ferre wrote:
>
> [ ... ]
>
>>> I like the 'chosen' approach with the nodes you are proposing below. Thanks
>>> for
>>> the constructive suggestion. The binding description matches perfectly what
>>> we
>>> are trying
On 12/06/2017 15:59, Marc Zyngier wrote:> On 12/06/17 15:25, Phil Elwell wrote:
>> Devices in the BCM2835 AUX block share a common interrupt line, with a
>> register indicating which devices have active IRQs. Expose this as a
>> nested interrupt controller to avoid IRQ sharing problems (easily
>> o
JFTR, I am dropping this patch and will follow up with a series which
will make the hugetlb allocation reflect node/zone ordering. It doesn't
make much sense to wait for those with this series because it doesn't
depend on it.
I have some preliminary work but I would like to give it few days befor
The pm_verb() returns a pointer to string from .rodata so it should be
marked as const.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 9faee1c893e5..9
The 'info' string appearing in many places points to a .rodata string so
it should be passes as pointer to const.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/main.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers/base/power
Local instances of struct attribute_group are not modified so they can
be made const to increase code safeness.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/sysfs.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/base/power/sysfs.c b/drivers/
On Mon 12-06-17 10:37:27, Johannes Weiner wrote:
> On Mon, Jun 12, 2017 at 10:09:57AM +0200, Jan Kara wrote:
> > On Tue 16-05-17 18:03:37, Jan Kara wrote:
> > > On Tue 16-05-17 11:41:05, Johannes Weiner wrote:
> > > > On Tue, May 16, 2017 at 04:36:45PM +0200, Jan Kara wrote:
> > > > > On Mon 15-05-
genpd_syscore_switch() had two problems:
1. It silently assumed that device, it is being called for, belongs to
generic power domain and used container_of() on its power domain
pointer. Such assumption might not be true always.
2. It iterated over list of generic power domains without holdi
Commit fc5cbf0c94b6 ("PM / Domains: Support for multiple states") split
out some code out of default_power_down_ok() function so the
documentation has to be moved to appropriate place.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain_governor.c | 12 ++--
1 file changed,
pm_genpd_remove_subdomain() iterates over domain's master_links list and
removes matching element thus it has to use safe version of list
iteration.
Fixes: f721889ff65a ("PM / Domains: Support for generic I/O PM domains (v8)")
Cc:
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain
of_genpd_remove_last() iterates over list of domains and removes
matching element thus it has to use safe version of list iteration.
Fixes: 17926551c98a ("PM / Domains: Add support for removing nested PM domains
by provider")
Cc:
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain
of_genpd_del_provider() iterates over list of domain provides and
removes matching element thus it has to use safe version of list
iteration.
Fixes: aa42240ab254 ("PM / Domains: Add generic OF-based PM domain look-up")
Cc:
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain.c | 4 +
Add lockdep checks for holding domain lock in few places where this is
required. This might expose misuse even though only file-scope
functions use it for now.
Regular lockdep asserts can be entirely discarded by preprocessor, however
domain code uses mixed type of lock: spinlock or mutex. This
Mark pointer to struct generic_pm_domain const (either passed in
argument or used localy in a function), whenever it is not modifed by
the function itself.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
Add lockdep checks for holding mutex protecting the list of domains.
This might expose misuse even though only file-scope functions use it
for now.
Signed-off-by: Krzysztof Kozlowski
---
drivers/base/power/domain.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/base/power/doma
Hi,
Changes since v1:
=
1. Patch 2/8: Follow Ulf's advice and use genpd_lookup_dev() which also
solves risk of calling this for non-genpd (thus I added Ulf's
Reported-by).
Description:
Except adding lockdep assert to domains list mutex (3/8), all patches
are ind
Currently, when looking up a regulator supply, the regulator name
takes priority over the consumer mappings. As there are a lot of
regulator names that are in fairly common use (VDD, MICVDD, etc.) this
can easily lead to obtaining the wrong supply, when a system contains
two regulators that share a
On 12/06/17 15:25, Phil Elwell wrote:
> Devices in the BCM2835 AUX block share a common interrupt line, with a
> register indicating which devices have active IRQs. Expose this as a
> nested interrupt controller to avoid IRQ sharing problems (easily
> observed if UART1 and SPI1/2 are enabled simult
On Wed, 7 Jun 2017, John Allen wrote:
> A deadlock has been observed during a cpu hot add on powerpc machines.
>
> The situation is as follows:
> First, in _cpu_up, we take the cpu_hotplug lock and towards the end of
> _cpu_up,
> we make the cpu hotplug callbacks, one of which is arch_update_cpu_
On Sat, Jun 10, 2017 at 12:56 AM, Paul E. McKenney
wrote:
>> > > > +/**
>> > > > + * spin_is_locked - Conditionally interpose after prior critical
>> > > > sections
>> > > > + * @lock: the spinlock whose critical sections are to be interposed.
>> > > > + *
>> > > > + * Semantically this is equiva
On Sun, Jun 11, 2017 at 09:56:32PM +0800, Boqun Feng wrote:
> I think the term we use to refer this behavior is "fully-ordered"?
Right, that is what we used to call it, and the term even occurs in
memory-barriers.txt but isn't actually defined therein.
> Could we give it a slight formal definiti
Add the bindings for the family of HDC100x sensors.
Signed-off-by: Michael Stecklein
---
.../devicetree/bindings/iio/humidity/hdc100x.txt | 16
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/humidity/hdc100x.txt
diff --git a/D
Add of_match_table and point it to a list of compatible device tree
device id's.
Signed-off-by: Michael Stecklein
---
drivers/iio/humidity/hdc100x.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/iio/humidity/hdc100x.c b/drivers/iio/humidity/hdc100x.c
index 0e5962f..659d
Include datasheet links, add i2c_device_id entries, and update
kconfig help for compatible HDC10xx devices: HDC1000, HDC1008,
HDC1010, HDC1050, and HDC1080.
Signed-off-by: Michael Stecklein
---
drivers/iio/humidity/Kconfig | 3 ++-
drivers/iio/humidity/hdc100x.c | 9 +
2 files changed,
Hello:
On 06/06/2017 01:09 PM, Tejun Heo wrote:
> Hello,
>
> On Tue, Jun 06, 2017 at 11:18:36AM -0500, Michael Bringmann wrote:
>> On 05/25/2017 10:30 AM, Michael Bringmann wrote:
>>> I will try that patch shortly. I also updated my patch to be conditional
>>> on whether the pool's cpumask attri
On 8 June 2017 at 09:55, Dietmar Eggemann wrote:
> This patch prepares the actual implementation of the frequency-invariant
> load-tracking support provided in the next patch ("drivers
> base/arch_topology: frequency-invariant load-tracking support").
>
> The maximum supported frequency of a cpu (
Some of the files in the W1 subsystem have been moved or renamed,
update the documentation for the same.
Signed-off-by: Andrew F. Davis
---
Documentation/DocBook/w1.tmpl | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Documentation/DocBook/w1.tmpl b/Documen
Hi,
WARN_ON_ONCE is being called from idr_replace() function in file
lib/idr.c at line 157
struct radix_tree_node *node;
void __rcu **slot = NULL;
void *entry;
if (WARN_ON_ONCE(id < 0))
return ERR_PTR(-EINVAL);
if (WARN_ON_ONCE(radix_tree_is_internal_node(ptr)))
Expose the idfilter* registers of the programmable replicator.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
.../hwtracing/coresight/coresight-replicator-qcom.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-replicator-
Hi Jan,
On Mon, Jun 12, 2017 at 10:09:57AM +0200, Jan Kara wrote:
> On Tue 16-05-17 18:03:37, Jan Kara wrote:
> > On Tue 16-05-17 11:41:05, Johannes Weiner wrote:
> > > On Tue, May 16, 2017 at 04:36:45PM +0200, Jan Kara wrote:
> > > > On Mon 15-05-17 11:46:34, Johannes Weiner wrote:
> > > > > We h
Coresight TMC splits 64bit registers into a pair of 32bit registers
(e.g DBA, RRP, RWP). Provide helpers to read/write to these registers.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-priv.h| 8
drivers/hwtracing/coresight/coresight
Add support for reading a lower and upper 32bits of a register
as a single 64bit register.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-priv.h | 27 ++-
drivers/hwtracing/coresight/coresight-tmc.c | 6 +++---
2 files cha
The Coresight SoC 600 TMC ETR supports save-restore feature,
where the values of the RRP/RWP and STS.Full are retained
when it leaves the Disabled state. Hence, we must program the
RRP/RWP and STS.Full to a proper value. For now, set the RRP/RWP
to the base address of the buffer and clear the STS.F
Coresight SoC 600 defines a new configuration for TMC, Embedded Trace
Streamer (ETS), indicated by 0x3 in MODE:CONFIG_TYPE. Make sure
the driver handles the new type properly.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 14 +++---
This patch adds description of the capabilities of a given TMC.
This will help us to handle different versions of the TMC in the
same driver by checking the capabilities.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 10 +-
drivers
Add the peripheral ids for the Coresight SoC 600 TPIU, replicator
and funnel.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-funnel.c | 5 +
drivers/hwtracing/coresight/coresight-replicator-qcom.c | 6 ++
drivers/hwtracing/coresigh
The coresight SoC 600 supports ETR save-restore and also supports
a new mode, SWFIFO2, which helps to streaming the trace data through
a functional I/O (e.g, USB).
Also, TMCs have different PIDs in different configurations (ETF,
ETB & ETR), unlike the previous generation.
Cc: Mathieu Poirier
Sig
Expose DBALO,DBAHI and AXICTL registers
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-tmc.c
b/drivers/hwtracing/coresight/coresight-tmc.c
index 70
As per coresight standards, PIDR2 register has the following format :
[2-0] - JEP106_bits6to4
[3]- JEDEC, designer ID is specified by JEDEC.
However some of the drivers only use mask of 0x3 for the PIDR2 leaving
bits [3-2] unchecked, which could potentially match the component for
a differ
This series adds support for ARM Coresight SoC-600 IP, which implements
Coresight V3 architecture. It also does some clean up of the replicator
driver namings used in the driver to prevent confusions to the user.
The SoC-600 comes with an improved TMC which supports new features,
including Save-Re
Use the new compatible for ATB programmable replicator in Juno.
Cc: Sudeep Holla
Cc: Mike Leach
Cc: Mathieu Poirier
Cc: Liviu Dudau
Signed-off-by: Suzuki K Poulose
---
arch/arm64/boot/dts/arm/juno-base.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/d
The Linux coresight drivers define the programmable ATB replicator as
Qualcom replicator, while this is designed by ARM. This can cause confusion
to a user selecting the driver. Cleanup all references to make it
explicitly clear. This patch :
1) Adds a new compatible string for the same, retaini
Hi Linus,
please pull from the 'for-linus' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus
to receive the following updates:
* A fix for KVM to avoid kernel oopses in case of host protection faults
due to runtime instrumentation
* A fix for the AP bus
Punit Agrawal writes:
> When speculatively taking references to a hugepage using
> page_cache_add_speculative() in gup_huge_pmd(), it is assumed that the
> page returned by pmd_page() is the head page. Although normally true,
> this assumption doesn't hold when the hugepage comprises of successiv
On 8 June 2017 at 09:55, Dietmar Eggemann wrote:
> Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from
> weak function to #define") changed the wiring which now has to be done
> by associating arch_scale_cpu_capacity with the actual implementation
> provided by the architectur
From: Chao Yu
Commit 73faec4d9935 ("f2fs: add mount option to select fault injection
ratio") and Commit 087968974fcd ("f2fs: add fault injection to sysfs")
forget to document mount option and sysfs file.
This patch fixes to document them.
Signed-off-by: Chao Yu
Signed-off-by: Jaegeuk Kim
---
On 8 June 2017 at 09:55, Dietmar Eggemann wrote:
> Commit dfbca41f3479 ("sched: Optimize freq invariant accounting")
> changed the wiring which now has to be done by associating
> arch_scale_freq_capacity with the actual implementation provided
> by the architecture.
>
> Define arch_scale_freq_cap
On 8 June 2017 at 09:55, Dietmar Eggemann wrote:
> Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from
> weak function to #define") changed the wiring which now has to be done
> by associating arch_scale_cpu_capacity with the actual implementation
> provided by the architectur
On Monday 12 June 2017 07:34 PM, Linus Walleij wrote:
> On Sun, Jun 11, 2017 at 6:27 AM, Keerthy wrote:
>> On Friday 09 June 2017 02:06 PM, Linus Walleij wrote:
>
>>> If this IC has several function modes for the pins it should also
>>> be a pin controller... I know it is a lot of upfront code,
On 8 June 2017 at 09:55, Dietmar Eggemann wrote:
> Commit dfbca41f3479 ("sched: Optimize freq invariant accounting")
> changed the wiring which now has to be done by associating
> arch_scale_freq_capacity with the actual implementation provided
> by the architecture.
>
> Define arch_scale_freq_cap
901 - 1000 of 1294 matches
Mail list logo