On Fri 24 Mar 08:06 PDT 2017, Rob Herring wrote:
> On Fri, Mar 17, 2017 at 09:15:22PM -0700, Bjorn Andersson wrote:
[..]
> > diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
> > b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
> > index 20f26fbce875..8467a181f22c 1006
On Sun, Mar 26, 2017 at 11:31:27AM +0800, kbuild test robot wrote:
> Hi Paul,
>
> FYI, the error/warning still remains.
Yeah, idiot here forgot "git add"... So it was working fine in my
local tree, but for everyone else, not so much. :-/
Mostly fixed, still at least one bug left.
Thank you ag
On Fri 24 Mar 09:07 PDT 2017, Rob Herring wrote:
> On Mon, Mar 20, 2017 at 02:09:55PM -0700, Bjorn Andersson wrote:
> > Add device tree binding documentation for the Qualcomm GLINK RPM, used
> > for communication with the Resource Power Management subsystem in
> > various Qualcomm SoCs.
> >
> > S
Use probe_kernel_read() for avoiding unexpected faults while
copying kernel text in __recover_probed_insn(),
__recover_optprobed_insn() and __copy_instruction().
Signed-off-by: Masami Hiramatsu
---
Note that this is just an update patch which I had been
sent to LKML last month ( https://lkml.
On Thu, Dec 29, 2016 at 01:34:45PM -0600, Eric Biggers wrote:
> From: Eric Biggers
>
> To install a buffer_head into the cpu's LRU queue, bh_lru_install()
> would construct a new copy of the queue and then memcpy it over the real
> queue. But it's easily possible to do the update in-place, which
Consolidate x86 instruction decoder users on the path of
copying original code for kprobes.
Kprobes decodes same instruction 3 times in maximum when
preparing instruction buffer. The first time for getting the
length of instruction, the 2nd for adjusting displacement,
and the 3rd for checking whet
Date: Sat, 25 Feb 2017 12:34:56 +
Include to fix asm/msgbuf.h userspace compilation errors
like this:
/usr/include/asm-generic/msgbuf.h:25:20: error: field 'msg_perm' has incomplete
type
struct ipc64_perm msg_perm;
/usr/include/asm-generic/msgbuf.h:26:2: error: unknown type name
'__kerne
Set the pages which is used for kprobes' singlestep buffer
and optprobe's trampoline instruction buffer to readonly.
This can prevent unexpected (or unintended) instruction
modification.
This also passes rodata_test as below.
Without this patch, rodata_test shows a warning:
[ 10.041310] --
Date: Sat, 25 Feb 2017 12:34:56 +
Include to fix asm/shmbuf.h userspace compilation errors
like this:
/usr/include/asm-generic/shmbuf.h:26:20: error: field 'shm_perm' has incomplete
type
struct ipc64_perm shm_perm; /* operation perms */
/usr/include/asm-generic/shmbuf.h:28:2: error: unkno
Hi Paul,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
dev.2017.03.16a
head: 5c1e4049e03942b1a6ec13fa8dc0d9f4b2ba0463
commit: c574d9a57769f1941153c41e5cfcd2bb13911cc3 [53/58] srcu: Create a tiny
SRCU
config: x86_64-lkp (att
Date: Sat, 25 Feb 2017 12:34:56 +
Replace size_t with __kernel_size_t to fix asm/shmbuf.h userspace
compilation errors like this:
/usr/include/asm-generic/shmbuf.h:28:2: error: unknown type name 'size_t'
size_t shm_segsz; /* size of segment (bytes) */
x32 is the only architecture where s
Date: Sat, 25 Feb 2017 12:34:56 +
Include to fix asm/sembuf.h userspace compilation errors
like this:
/usr/include/asm/sembuf.h:14:20: error: field 'sem_perm' has incomplete type
struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
/usr/include/asm/sembuf.h:15:2: error: unknown type
Make arch_specific_insn.boostable to boolean, since it has
only 2 states, boostable or not. So it is better to use
boolean from the viewpoint of code readability.
Signed-off-by: Masami Hiramatsu
---
arch/x86/include/asm/kprobes.h |7 +++
arch/x86/kernel/kprobes/core.c | 12 ++--
Date: Sat, 25 Feb 2017 12:34:56 +
Include to fix asm/ipcbuf.h userspace compilation
errors like this:
/usr/include/asm-generic/ipcbuf.h:20:2: error: unknown type name
'__kernel_key_t'
__kernel_key_t key;
/usr/include/asm-generic/ipcbuf.h:21:2: error: unknown type name
'__kernel_uid32_t'
Do not modify singlestep execution buffer (kprobe.ainsn.insn)
while resuming from single-stepping, instead, modifies
the buffer to add a jump back instruction at preparing
buffer.
Signed-off-by: Masami Hiramatsu
---
arch/x86/kernel/kprobes/core.c | 42 +++-
Use x86 instruction decoder for checking whether the probed
instruction is able to boost or not, instead of hand-written
code.
Signed-off-by: Masami Hiramatsu
---
arch/x86/kernel/kprobes/core.c | 39 ---
1 file changed, 16 insertions(+), 23 deletions(-)
dif
This is resend of short series of trivial userspace compilation fixes
acked earlier by Arnd Bergmann.
Nobody else from the long Cc list of the original patch series has shown
any interest at all, so I've trimmed Cc down.
Dmitry V. Levin (5):
uapi: fix asm/ipcbuf.h userspace compilation errors
Fix the description comment of __copy_instruction() function
since it has already been changed to return the length of
copied instruction.
Signed-off-by: Masami Hiramatsu
---
arch/x86/kernel/kprobes/core.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/x86/
Fix kprobe-booster not to boost call far instruction,
because call may store the address in singlestep
execution buffer to the stack, which should be modified
after single stepping.
Currently, this instruction will be filtered as not
boostable in resume_execution(), so this is not a
critical issue
Hi,
This series tries to make kprobes instruction buffers read-only
pages. Since those buffers are used for trampoline code, those
are a part of "text area" and it should be marked as ro for
avoiding unexpected modification. And this actually fix a warning
rodata sanity check.
This change require
From: Alexey Khoroshilov
Date: Sat, 25 Mar 2017 01:48:08 +0300
> vlsi_alloc_ring() checks for dma mapping errors by comparison
> returned address with zero, while pci_dma_mapping_error() should be used.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey
From: k...@exchange.microsoft.com
Date: Fri, 24 Mar 2017 20:54:08 -0700
> Fix miscellaneous issues.
Series applied, thanks.
From: Arnd Bergmann
Date: Fri, 24 Mar 2017 23:02:49 +0100
> When dev_dbg() is enabled, we print uninitialized data, as gcc-7.0.1
> now points out:
>
> ethernet/hisilicon/hns/hns_dsaf_main.c: In function
> 'hns_dsaf_set_promisc_tcam':
> ethernet/hisilicon/hns/hns_dsaf_main.c:2947:75: error:
> '
On Sat, Mar 25, 2017 at 08:01:51PM -0700, David Miller wrote:
> From: Steffen Klassert
> Date: Fri, 24 Mar 2017 10:41:59 +0100
>
> > On Thu, Mar 23, 2017 at 12:24:43PM +0100, Jason A. Donenfeld wrote:
> >> Under extremely heavy uses of padata, crashes occur, and with list
> >> debugging turned on
From: Arnd Bergmann
Date: Fri, 24 Mar 2017 23:02:50 +0100
> hns_dsaf_set_mac_key() calls dsaf_set_field() on an uninitialized field,
> which will then change only a few of its bits, causing a warning with
> the latest gcc:
>
> hisilicon/hns/hns_dsaf_main.c: In function 'hns_dsaf_set_mac_uc_entry
From: Steffen Klassert
Date: Fri, 24 Mar 2017 10:41:59 +0100
> On Thu, Mar 23, 2017 at 12:24:43PM +0100, Jason A. Donenfeld wrote:
>> Under extremely heavy uses of padata, crashes occur, and with list
>> debugging turned on, this happens instead:
...
>> Signed-off-by: Jason A. Donenfeld
>
> Ac
(Resent with corrected subject line and adding mailing list cc's.)
The following changes since commit cab7076a185e1e27f6879325e4da762424c3f1c9:
Merge tag 'ext4_for_linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2017-02-20 18:24:39
-0800)
are available in the git reposito
Hi Linus,
Please pull some more powerpc fixes for 4.11.
These are all pretty minor. The fix for idle wakeup would be a bad bug
but has not been observed in practice.
The update to the gcc-plugins docs was Cc'ed to Kees and Jon, Kees OK'ed
it going via powerpc and I didn't hear from Jon.
The fol
The following changes since commit cab7076a185e1e27f6879325e4da762424c3f1c9:
Merge tag 'ext4_for_linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2017-02-20 18:24:39
-0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.g
Hi Thierry,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Thierry-Escande/firmware-google-memconsole/20170326-080828
On 03/25/2017 09:02 AM, Sinan Kaya wrote:
ACPI_IPMI driver currently depends on IPMI System Interface (IPMI_SI)
driver to be enabled. IPMI_SI driver only handles KCS, SMIC and BT BMC
interfaces.
IPMI_SSIF is an alternative BMC communication method. It allows BMC to
be accessed over an I2C bus in
On Sat, Mar 25, 2017 at 08:46:01PM +0100, Nicholas Mc Guire wrote:
> beenonline is declared bool so no need for an explicit comparison
>
> Signed-off-by: Nicholas Mc Guire
Queued both for review and testing, thank you!
Thanx, Paul
> ---
>
> Foun
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
rcu/next
head: cfc71fb0749122b29a70646a9a9522003418e5dc
commit: 7cf53ca0469972c1b953b68eb6a42e5d4fe75ef4 [55/57] srcutorture: Print
Tiny SRCU reader statistics
config: xtensa-allmodconfig (attached as .config)
compile
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
rcu/next
head: cfc71fb0749122b29a70646a9a9522003418e5dc
commit: 7a0d9fab3271933e9ea1cfbc0d12182738f30684 [52/57] srcu: Create a tiny
SRCU
config: i386-randconfig-r0-201713 (attached as .config)
compiler: gcc-5 (Debian
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
rcu/next
head: cfc71fb0749122b29a70646a9a9522003418e5dc
commit: 7cf53ca0469972c1b953b68eb6a42e5d4fe75ef4 [55/57] srcutorture: Print
Tiny SRCU reader statistics
config: x86_64-randconfig-x009-201713 (attached as .confi
Hi Jan,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc3 next-20170324]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Jan-Kiszka/efi-capsule-Fix-return-code-on-failin
This patch fixes the following sparse warnings:
drivers/staging/rtl8192u/r8192U_dm.c:2307:49: warning: cast from restricted
__le16
drivers/staging/rtl8192u/r8192U_dm.c:2308:44: warning: cast from restricted
__le16
drivers/staging/rtl8192u/r8192U_dm.c:2309:44: warning: cast from restricted
__le1
On Sat, Mar 25, 2017 at 06:26:05PM +, Jonathan Cameron wrote:
> On 24/03/17 14:00, Benjamin Gaignard wrote:
> > One of the features of STM32 trigger hardware block is a quadrature
> > encoder that can counts up/down depending of the levels and edges
> > of the selected external pins.
> >
> > T
Hi,
On 24.03.2017 20:21, Nicolas Dufresne wrote:
Le vendredi 24 mars 2017 à 15:41 +0100, Hans Verkuil a écrit :
+static const struct venus_format vdec_formats[] = {
+ {
+ .pixfmt = V4L2_PIX_FMT_NV12,
+ .num_planes = 1,
+ .type = V4L2_BUF_TYPE_VIDEO_CAPTUR
On Sat, Mar 25, 2017 at 06:26:05PM +, Jonathan Cameron wrote:
> On 24/03/17 14:00, Benjamin Gaignard wrote:
> > One of the features of STM32 trigger hardware block is a quadrature
> > encoder that can counts up/down depending of the levels and edges
> > of the selected external pins.
> >
> > T
We need to ensure that all DMAs and interrupts are cleared during
shutdown operation in order for kexec to start the next kernel clearly.
Otherwise, HW could be performing a DMA into random addresses in the
middle of second kernel start.
Signed-off-by: Sinan Kaya
---
drivers/dma/qcom/hidma.c |
Once the channels are stopped, disable interrupts to make sure no new
HW interaction can happen.
Similarly, re-enable the interrupts only if we know that channel is
operational again.
Signed-off-by: Sinan Kaya
---
drivers/dma/qcom/hidma_ll.c | 6 ++
1 file changed, 6 insertions(+)
diff --g
Thanks for the comments!
On 03/24/2017 04:41 PM, Hans Verkuil wrote:
Some comments and questions below:
On 03/13/17 17:37, Stanimir Varbanov wrote:
This consists of video decoder implementation plus decoder
controls.
Signed-off-by: Stanimir Varbanov
---
drivers/media/platform/qcom/venus/vde
Hi Hans,
Thanks for the comments!
On 03/24/2017 04:23 PM, Hans Verkuil wrote:
Some review comments below:
On 03/13/17 17:37, Stanimir Varbanov wrote:
* core.c has implemented the platform dirver methods, file
dirver -> driver
operations and v4l2 registration.
* helpers.c has implemente
--
Attn: Gewinner
Ihre E-Mail-Adresse hat die Summe von 1,200.000.00 Euro gewonnen.
Im Email Benützer Online Programm Weihnachtslotterie Navida , in Madrid
Spanien .
Wir schreiben ihnen ,um sich offiziel über die Auszeichnung zu
Benachrichtigen ,
damit Sie sich mit der Zuständigen Vermittleri
On Sat, Mar 25, 2017 at 03:05:41PM -0700, Linus Torvalds wrote:
> I think this is the same as the kexec issue that also hit -tip.
>
> It's *probably* fixed by the final series to actually enable 5-level
> paging (which I don't think is in -tip yet), but even if that is the
> case this is obviously
There are a bunch of quirky Xbox One pads that depend on initialization
packets that the Microsoft pads don't require. In this series, I've
incorporated quirk handling from Valve's Steam Link driver[0] and the
360Controller project[1] for macOS to enable some of these pads to work
properly.
[0]:
This series adds support for several new or quirky Xbox One pads.
Patch 1 of this series may be considered a v2 for patches 1-3 of my
previous series:
https://lkml.org/lkml/2017/2/4/189
I'm now only sending the quirk packets to the specific gamepads that
need them, per Dmitry's feedback on the
Cc: sta...@vger.kernel.org
Signed-off-by: Cameron Gutman
---
drivers/input/joystick/xpad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index efb798a..5c3d249 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joys
On Fri, Mar 24, 2017 at 2:39 PM, Paul Moore wrote:
>
> This code has passed our testsuite without problem and it has held up
> to my ad-hoc stress tests (arguably better than the existing code),
> please consider pulling this as fix for the next v4.11-rcX tag.
Ok, pulled. However, looking at the
* kbuild test robot [170325 13:45]:
> Hi Tony,
>
> [auto build test ERROR on phy/next]
> [also build test ERROR on v4.11-rc3 next-20170324]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/comm
On Sat, Mar 25, 2017 at 10:50:12PM +0100, Borislav Petkov wrote:
> > No need, I found it. Reverting
> >
> > ea3b5e60ce80 ("x86/mm/ident_map: Add 5-level paging support")
> >
> > makes the machine suspend and resume just fine again. Lemme add people to
> > CC.
>
> So I see rIP pointing to iden
On Sat, Mar 25, 2017 at 2:13 PM, Peter Zijlstra wrote:
> On Sat, Mar 25, 2017 at 11:34:32AM -0700, Linus Torvalds wrote:
>>
>> Oh, I just noticed that at least your other one didn't mark "success"
>> as being likely.
>
> 107305094540256 843776 16114541 f5e36d
> defconfig-build/vm
I think this is the same as the kexec issue that also hit -tip.
It's *probably* fixed by the final series to actually enable 5-level
paging (which I don't think is in -tip yet), but even if that is the
case this is obviously a nasty bisectability problem.
You migth want to verify, though. The sec
--
Attn: Gewinner
Ihre E-Mail-Adresse hat die Summe von 1,200.000.00 Euro gewonnen.
Im Email Benützer Online Programm Weihnachtslotterie Navida , in Madrid
Spanien .
Wir schreiben ihnen ,um sich offiziel über die Auszeichnung zu
Benachrichtigen ,
damit Sie sich mit der Zuständigen Vermittleri
Do you require funding? For Business or Personal loan without stress and Quick
approval, email us for more Info.
Thanks
Gaber Financial
Hi Linus,
Please pull hwmon fixes for Linux v4.11-rc4 from signed tag:
git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
hwmon-for-linus-v4.11-rc4
Thanks,
Guenter
--
The following changes since commit 97da3854c526d3a6ee05c849c96e48d21527606c:
Linux 4.11-rc3 (201
On Sat, Mar 25, 2017 at 10:46:15PM +0100, Borislav Petkov wrote:
> On Sat, Mar 25, 2017 at 07:58:55PM +0100, Borislav Petkov wrote:
> > Hey Rafael,
> >
> > have you seen this already (partial splat photo attached)? Happens
> > during resume from s2d. Judging by the timestamps, this looks like the
On Sat, Mar 25, 2017 at 07:58:55PM +0100, Borislav Petkov wrote:
> Hey Rafael,
>
> have you seen this already (partial splat photo attached)? Happens
> during resume from s2d. Judging by the timestamps, this looks like the
> resume kernel before we switch to the original, boot one but I could be
>
Any time after inode allocation, destroy_inode can be called. The
hugetlbfs inode contains a shared_policy structure, and
mpol_free_shared_policy is unconditionally called as part of
hugetlbfs_destroy_inode. Initialize the policy as part of inode
allocation so that any quick (error path) calls to
For endpoints, change pcie_aspm_exit_link_state() so it cleans up
the device's own state and disables ASPM if necessary, but doesn't
remove the parent's link_state.
For bridges, change pcie_aspm_exit_link_state() so it frees the
bridge's own link_state.
Fixes: https://bugzilla.kernel.org/show_bug
We need a callback from pci_init_capabilities function for every
single new PCI device that is currently being added.
pci_aspm_init() will be used to save the power on state of the HW.
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=194895
Signed-off-by: Sinan Kaya
---
drivers/pci/pcie/aspm.
Now that we added a hook to be called from device_add, save the
default values from the HW registers early in the boot for further
reuse during hot device add/remove operations.
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=194895
Signed-off-by: Sinan Kaya
---
drivers/pci/pcie/aspm.c | 22 +
For bridges, have pcie_aspm_init_link_state() allocate a link_state,
regardless of whether it currently has any children.
pcie_aspm_init_link_state(): Called for bridges (upstream end of
link) after all children have been enumerated. No longer needs to
check aspm_support_enabled or pdev->has_seco
On 03/24/2017 05:54 PM, Tetsuo Handa wrote:
> Mike Kravetz wrote:
>> Any time after inode allocation, destroy_inode can be called. The
>> hugetlbfs inode contains a shared_policy structure, and
>> mpol_free_shared_policy is unconditionally called as part of
>> hugetlbfs_destroy_inode. Initialize
On Mon 2017-03-06 12:23:41, Chris Wilson wrote:
> On Mon, Mar 06, 2017 at 01:10:48PM +0100, Pavel Machek wrote:
> > On Mon 2017-03-06 11:15:28, Chris Wilson wrote:
> > > On Mon, Mar 06, 2017 at 12:01:51AM +0100, Pavel Machek wrote:
> > > > Hi!
> > > >
> > > > > > mplayer stopped working after a wh
On 03/25, Chao Yu wrote:
> Hi Jaegeuk,
>
> On 2017/3/25 15:59, Jaegeuk Kim wrote:
> > - has_not_enough_free_secs
> > node_secs: 0 dent_secs: 0 freed:0 free_segments:103 reserved:104
> >
> > - f2fs_gc
> > - get_victim_by_default
> > alloc_mode 0, gc_mode 1, max_search 26
On Fri, Mar 24, 2017 at 03:19:47PM -0400, Pavel Tatashin wrote:
> Changelog:
> v1 - v2
> - Per request, added s390 to deferred "struct page" zeroing
> - Collected performance data on x86 which proofs the importance to
> keep memset() as prefetch (see below).
>
> When defe
On Sat, Mar 25, 2017 at 11:34:32AM -0700, Linus Torvalds wrote:
> On Sat, Mar 25, 2017 at 11:28 AM, Linus Torvalds
> wrote:
> >
> > Hmm. Sad. The label approach looked like it would match the semantics
> > of cmpxchg perfectly, but it's not as optimal as it superficially
> > would have seemed.
>
This commit makes use of the axp209.dtsi file to define the
AXP209 PMIC. While here, define the rails that are enabled on
this board.
Tested checking the regulator voltage varies according to the
CPU frequency.
Signed-off-by: Ezequiel Garcia
---
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts |
Hi Tony,
[auto build test ERROR on phy/next]
[also build test ERROR on v4.11-rc3 next-20170324]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Tony-Lindgren/phy-cpcap-usb-Add-CPCAP-PMIC-USB-supp
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
rcu/next
head: 8ef41abc6267ab874db4f767866cc09b85a1f951
commit: c574d9a57769f1941153c41e5cfcd2bb13911cc3 [53/55] srcu: Create a tiny
SRCU
config: x86_64-randconfig-a0-03260238 (attached as .config)
compiler: gcc-4.4 (
This is an attempt to convert tpm_tis over to using the locality
callbacks added by Jarkko's tpm_crb patch. Requires the patch
currently on tpmdd/locality which has moved the need_locality
assignment inside the mutex in tpm_transmit.
This is pretty much the same as Jarkko's earlier patch (I think)
This patch converts tpm_tis to use of the new tpm class ops
request_locality, and relinquish_locality.
With the move to using the callbacks, release_locality is changed so
that we now release the locality even if there is no request pending.
This required some changes to the tpm_tis_core_init cod
On Fri, Mar 24, 2017 at 11:25:57AM -0700, Jerry Snitselaar wrote:
>
> Jarkko Sakkinen @ 2017-03-24 10:10 GMT:
>
> > This commit adds support for requesting and relinquishing locality 0 in
> > tpm_crb for the course of command transmission.
> >
> > In order to achieve this, two new callbacks are a
On Sat, Mar 25, 2017 at 05:21:30AM -0700, Jerry Snitselaar wrote:
>
> Jarkko Sakkinen @ 2017-03-24 10:19 GMT:
>
> > On Fri, Mar 24, 2017 at 12:10:30PM +0200, Jarkko Sakkinen wrote:
> >> This commit adds support for requesting and relinquishing locality 0 in
> >> tpm_crb for the course of command
Hi Thomas,
Thank you very much for a very insightful feedback. I will address your
comments, and if I have any questions, I will ask them before sending
out the next patchset.
A few replies below:
First of all, this "solution" is only valid for a very restricted set of
systems and breaks ot
bool variables in this code are using true/false for assignments
fix this up for consistency/readability.
Signed-off-by: Nicholas Mc Guire
---
Found by coccinelle: boolinit.cocci complained about
./kernel/rcu/tree_plugin.h:1712:1-14: WARNING: Assignment of bool to 0/1
Patch was compile-tested w
beenonline is declared bool so no need for an explicit comparison
Signed-off-by: Nicholas Mc Guire
---
Found by coccinelle: boolinit.cocci complained about
./kernel/rcu/tree.c:2986:14-29: WARNING: Comparison of bool to 0/1
If the comparison was intended for readability I guess it should be
agai
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
rcu/next
head: 8ef41abc6267ab874db4f767866cc09b85a1f951
commit: c574d9a57769f1941153c41e5cfcd2bb13911cc3 [53/55] srcu: Create a tiny
SRCU
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.
On 03/24/2017 10:15 AM, Geliang Tang wrote:
Use setup_timer() instead of init_timer() to simplify the code.
Signed-off-by: Geliang Tang
---
drivers/block/aoe/aoemain.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/block/aoe/aoemain.c b/drivers/block/aoe/aoemain
Hey Rafael,
have you seen this already (partial splat photo attached)? Happens
during resume from s2d. Judging by the timestamps, this looks like the
resume kernel before we switch to the original, boot one but I could be
mistaken.
This is -rc3+tip/master.
I can't catch a full splat because this
Hi,
On Thu, Mar 16, 2017 at 10:19:52AM -0500, Andrew F. Davis wrote:
> As part of continuing work to cleanup the BQ27xxx driver I am attempting
> to remove the need for the platform driver interface. For this we first
> need the w1 subsystem to act more like a traditional bus subsystem
> and allow
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.
As I don't have the hardware, I'd be very pleased if
someone may test this patch.
Signed-off-by: Philippe Reynes
---
drivers/net/cris/eth_v10.c | 32
1 f
On Sat, 25 Mar 2017, Pasha Tatashin wrote:
> The second versions was actually meant as a reply to your e-mail: the code
> differences were minimal: the main differences were in the cover letter. You
> mentioned that it is not necessary to have early boot time stamps, and I
> wanted to show example
On Sat, Mar 25, 2017 at 11:20 AM, Peter Zijlstra wrote:
>
> Added above, a few bytes smaller than the shiny new one actually.
Hmm. Sad. The label approach looked like it would match the semantics
of cmpxchg perfectly, but it's not as optimal as it superficially
would have seemed.
And I assume th
On Sat, Mar 25, 2017 at 11:28 AM, Linus Torvalds
wrote:
>
> Hmm. Sad. The label approach looked like it would match the semantics
> of cmpxchg perfectly, but it's not as optimal as it superficially
> would have seemed.
Oh, I just noticed that at least your other one didn't mark "success"
as being
On 24/03/17 14:00, Benjamin Gaignard wrote:
> Device counting could be controlled by the level or the edges of
> a trigger.
> in_count0_enable_mode attibute allow to set the control mode.
Thanks for separating this out from the more 'obvious' driver elements
in the previous patch. Makes it into ni
Coresight includes debug module and usually the module connects with CPU
debug logic. ARMv8 architecture reference manual (ARM DDI 0487A.k) has
description for related info in "Part H: External Debug".
Chapter H7 "The Sample-based Profiling Extension" introduces several
sampling registers, e.g. we
This is refactor to add function of_coresight_get_cpu(), so it's used to
retrieve CPU id for coresight component. Finally can use it as a common
function for multiple places.
Suggested-by: Mathieu Poirier
Signed-off-by: Leo Yan
---
drivers/hwtracing/coresight/of_coresight.c | 43 +++
devm_ioremap_resource does checks on the resource. No need to
duplicate this in the driver.
Signed-off-by: Belén Sarabia
---
Changes in v2:
- Subject line expected by the subsystem.
- Remove one line more.
---
drivers/mfd/ipaq-micro.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dri
ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter H7 "The
Sample-based Profiling Extension" has description for sampling
registers, we can utilize these registers to check program counter
value with combined CPU exception level, secure state, etc. So this is
helpful for CPU lockup bugs,
On 24/03/17 14:00, Benjamin Gaignard wrote:
> One of the features of STM32 trigger hardware block is a quadrature
> encoder that can counts up/down depending of the levels and edges
> of the selected external pins.
>
> This patch allow to read/write the counter, get it direction,
> set/get quadrat
The debug APB clock is absent in hi6220 driver, so this patch is to add
support for it.
Signed-off-by: Leo Yan
---
drivers/clk/hisilicon/clk-hi6220.c | 1 +
include/dt-bindings/clock/hi6220-clock.h | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/hisilic
Update kernel-parameters.txt to add two new parameters:
- coresight_cpu_debug.enable is a knob to enable debugging at boot time.
- coresight_cpu_debug.idle_constraint is used to constrain idle states
to ensure Coresight CPU debug component can be accessible.
Signed-off-by: Leo Yan
---
Documen
Almost low level functions from open firmware have used const to
qualify device_node structures, so add const for device_node
parameters in of_coresight related functions.
Signed-off-by: Leo Yan
---
drivers/hwtracing/coresight/of_coresight.c | 6 +++---
include/linux/coresight.h
According to ARMv8 architecture reference manual (ARM DDI 0487A.k)
Chapter 'Part H: External debug', the CPU can integrate debug module
and it can support self-hosted debug and external debug. Especially
for supporting self-hosted debug, this means the program can access
the debug module from mmio
Bind debug module driver for Hi6220.
Signed-off-by: Leo Yan
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 64 +++
1 file changed, 64 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 470461d..467
Add debug unit on Qualcomm msm8916 based platforms, including the
DragonBoard 410c board.
Signed-off-by: Leo Yan
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
b/arch/arm64/boo
From: Suzuki K Poulose
The of_get_coresight_platform_data iterates over the possible CPU nodes
to find a given cpu phandle. However it does not drop the reference
to the node pointer returned by the of_get_coresight_platform_data.
This patch also introduces another minor fix is to use
of_cpu_dev
1 - 100 of 196 matches
Mail list logo