4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Peter Xu
[ Upstream commit 9d2e6505f6d6934e681aed502f566198cb25c74a ]
after commit a1ddcbe93010 ("iommu/vt-d: Pass dmar_domain directly into
iommu_flush_iotlb_psi", 2015-08-12), we have domai
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Robin Murphy
[ Upstream commit dc98b8480d8a68c2ce9aa28b9f0d714fd258bc0b ]
Removing the early device registration hook overlooked the fact that
it only ran conditionally on a compatible device
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Thomas Richter
[ Upstream commit 81fccd6ca507d3b2012eaf1edeb9b1dbf4bd22db ]
In x86 architecture dependend part function get_cpuid_str() mallocs a
128 byte buffer, but does not check if the me
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: "Steven Rostedt (VMware)"
[ Upstream commit d777f8de99b05d399c0e4e51cdce016f26bd971b ]
If a field is a dynamic string, get_field_str() returned just the
offset/size value and not the string.
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Nicholas Piggin
[ Upstream commit 4552d128c26e0f0f27a5bd2fadc24092b8f6c1d7 ]
The die() oops path contains a serializing lock to prevent oops
messages from being interleaved. In the case of a
The device node obtained with of_find_compatible_node() should be
released by calling of_node_put(). But it was not released when
of_get_property() failed.
Signed-off-by: YueHaibing
---
arch/powerpc/sysdev/xics/xics-common.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/sy
On 17.02.2018 23:11, Richard Weinberger wrote:
Hi,
+static LIST_HEAD(caphash_writers); >> +>> +static DEFINE_MUTEX(lock);>> +>> +struct crypto_ahash *hmac_tfm
= NULL;>> +>> +static int caphash_open(struct inode *inode, struct file
*filp)>> +{>> + struct caphash_writer *tmp = NULL;>> +
s
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: "Steven Rostedt (VMware)"
[ Upstream commit 38d70b7ca1769f26c0b79f3c08ff2cc949712b59 ]
When processing %pX in pretty_print(), simplify the logic slightly by
incrementing the ptr to the format
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: "himanshu.madh...@cavium.com"
[ Upstream commit 7ac0c332f96bb9688560726f5e80c097ed8de59a ]
This patch fixes following Smatch warning:
drivers/scsi/qla2xxx/qla_init.c:130 qla2x00_async_iocb_t
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Shiraz Saleem
[ Upstream commit 6376e926af1a8661dd1b2e6d0896e07f84a35844 ]
If the application invalidates the MR before the FMR WR, HW parses the
consumer key portion of the stag and returns
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Arnaldo Carvalho de Melo
[ Upstream commit eabad8c6856f185f876b54c426c2cc69fe0f0a7d ]
When setting up DWARF callchains on specific events, without using
'record' or 'trace' --call-graph, but
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Arnaldo Carvalho de Melo
[ Upstream commit 249d98e567e25dd03e015e2d31e1b7b9648f34df ]
When setting the "dwarf" unwinder for a specific event and not
specifying the max-stack, the attr.sample_
2018-04-20 22:37 GMT+08:00 Eric W. Biederman :
> Filling in struct siginfo before calling force_sig_info a tedious and
> error prone process, where once in a great while the wrong fields
> are filled out, and siginfo has been inconsistently cleared.
>
> Simplify this process by using the helper for
This is the start of the stable review cycle for the 4.14.37 release.
There are 183 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Fri Apr 27 10:32:04 UTC 2018.
Anything recei
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Gaurav K Singh
commit b4615730530be85fc45ab4631c2ad6d8e2d0b97d upstream.
On Geminilake, sometimes audio card is not getting
detected after reboot. This is a spurious issue happening on
Geminil
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Subash Abhinov Kasiviswanathan
[ Upstream commit 83f1999caeb14e15df205e80d210699951733287 ]
ipv6_defrag pulls network headers before fragment header. In case of
an error, the netfilter layer
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Daniel J Blueman
commit c0db1b677e1d584fab5d7ac76a32e1c0157542e0 upstream.
During BO teardown, an indirect list 'uniform_addr_offsets' wasn't being
freed leading to leaking many 128B allocatio
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Anson Huang
commit 7407188489c62a7b5694bc75a6db2b82af94c9a5 upstream.
The additional brakects added to tpm_set_next_event's return value
computation causes (int) forced type conversion NOT tak
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Dan Carpenter
[ Upstream commit 123af9043e93cb6f235207d260d50f832cdb5439 ]
The loop timeout doesn't work because it's a post op and ends with "tmo"
set to -1. I changed it from a post-op to
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Hans de Goede
[ Upstream commit e1681599345b8466786b6e54a2db2a00a068a3f3 ]
acpi_lpss_create_device() skips handling LPSS devices which do not have
a mmio resources in their resource list (typ
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Paul Mackerras
[ Upstream commit 5855564c8ab2d9cefca7b2933bd19818eb795e40 ]
This adds a register identifier for use with the one_reg interface
to allow the decrementer expiry time to be read
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Hector Martin
[ Upstream commit 188775181bc05f29372b305ef96485840e351fde ]
At least some JMicron controllers issue buggy oversized DMA reads when
fetching context descriptors, always fetching
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: NeilBrown
[ Upstream commit dce2630c7da73b0634686bca557cc8945cc450c8 ]
There are 2 comments in the NFSv4 code which suggest that
SIGLOST should possibly be sent to a process. In these
cases
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Michael Neuling
commit f0295e047fcf52ccb42561fb7de6942f5201b676 upstream.
The current EEH callbacks can race with a driver unbind. This can
result in a backtraces like this:
EEH: Frozen PHB
Below warning can not be happened, because the parameter chunksize passed
from ocfs2_info_freefrag_scan_chain-->ocfs2_info_update_ffg is guaranteed
to be positive. So __ilog2_u32 is impossible return -1.
fs/ocfs2/ioctl.c: In function 'ocfs2_info_update_ffg':
fs/ocfs2/ioctl.c:411:17: warning: array
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Florian Westphal
commit 7d7d7e02111e9a4dc9d0658597f528f815d820fd upstream.
no need to bother even trying to allocating huge compat offset arrays,
such ruleset is rejected later on anyway becau
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Florian Westphal
commit c84ca954ac9fa67a6ce27f91f01e4451c74fd8f6 upstream.
allows to have size checks in a single spot.
This is supposed to reduce oom situations when fuzz-testing xtables.
Si
4.14-stable review patch. If anyone has any objections, please let me know.
--
From: Merlijn Wajer
commit df6b074dbe248d8c43a82131e8fd429e401841a5 upstream.
Without pm_runtime_{get,put}_sync calls in place, reading
vbus status via /sys causes the following error:
Unhandled fa
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Steve French
commit 1d0cffa674cfa7d185a302c8c6850fc50b893bed upstream.
RHBZ: 1453123
Since at least the 3.10 kernel and likely a lot earlier we have
not been able to create unix domain socket
On Tue, Apr 24, 2018 at 9:02 PM, Jernej Škrabec wrote:
> Hi,
>
> Dne torek, 24. april 2018 ob 15:34:12 CEST je Jagan Teki napisal(a):
>> Allwinner A64 has display engine pipeline like other Allwinner SOC's
>> A83T/H3/H5.
>>
>> A64 DE2 behaviour similar to Allwinner A83T where mixer0, connected to
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Florian Westphal
commit 19926968ea86a286aa6fbea16ee3f2e7442f10f0 upstream.
Arbitrary limit, however, this still allows huge rulesets
(> 1 million rules). This helps with automated fuzzer as i
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Thomas Gleixner
commit bd03143007eb9b03a7f2316c677780561b68ba2a upstream.
syszbot reported the following debugobjects splat:
ODEBUG: object is on stack, but not annotated
WARNING: CPU: 0 PI
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Tetsuo Handa
commit 8e04944f0ea8b838399049bdcda920ab36ae3b04 upstream.
syzbot is catching so many bugs triggered by commit 9ee332d99e4d5a97
("sget(): handle failures of register_shrinker()").
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Long Li
commit ab60ee7bf9a84954f50a66a3d835860e80f99b7f upstream.
When sending the last iov that breaks into smaller buffers to fit the
transfer size, it's necessary to check if this is the la
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Gaurav K Singh
commit b4615730530be85fc45ab4631c2ad6d8e2d0b97d upstream.
On Geminilake, sometimes audio card is not getting
detected after reboot. This is a spurious issue happening on
Geminil
Newer Centaur support CMCI mechnism, which is compatible with INTEL CMCI.
Signed-off-by: David Wang
---
arch/x86/kernel/cpu/mcheck/mce.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
index 38ccab8..f9a7295 100644
--- a/a
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Xidong Wang
commit fcf1fadf4c65eea6c519c773d2d9901e8ad94f5f upstream.
Along the eb_lookup_vmas() error path, the return value from
kmem_cache_alloc() was freed using kfree(). Fix it to use the
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Gerd Hoffmann
commit 9f591ae60e1be026901398ef99eede91237aa3a1 upstream.
On unknown/unhandled ioctls the driver should return an error, so
userspace knows it tried to use something unsupported.
Newer Centaur multi-core CPU also support MCE broadcasting to all cores. But
no Centaur special code tell this truth to kernel.
Signed-off-by: David Wang
---
arch/x86/kernel/cpu/mcheck/mce.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/x86/kernel/cpu/mcheck/mce
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Tina Zhang
commit 10996f802109c83421ca30556cfe36ffc3bebae3 upstream.
Add drm_format_mod update, which is omitted.
Fixes: e546e281("drm/i915/gvt: Dmabuf support for GVT-g")
Cc: sta...@vger.ker
On 04/24/2018 11:07 PM, Andy Gross wrote:
> On Fri, Apr 20, 2018 at 07:11:41AM -0500, Alex Elder wrote:
>> On 04/10/2018 05:25 PM, Alex Elder wrote:
>>> This series contains mostly bug fixes to the Qualcomm shared memory
>>> ("smem") code. Although the bugs are real, they have most likely
>>> neve
On Tue, 2018-04-24 at 20:48 +0200, Maxime Jourdan wrote:
> Signed-off-by: Maxime Jourdan
Even if the change is trivial, please add commit description.
I'll do it for you this time.
Applied to next/headers
Thx
> ---
> include/dt-bindings/clock/gxbb-clkc.h | 2 ++
> 1 file changed, 2 insertions(
4.16-stable review patch. If anyone has any objections, please let me know.
--
From: Jani Nikula
commit a3520b8992e57bc94ab6ec9f95f09c6c932555fd upstream.
The VBT contains the DDC pin to use for specific ports. Alas, sometimes
the field appears to contain bogus data, and while
From: Chao Yu
In build_sit_entries(), if valid_blocks in SIT block is smaller than
valid_blocks in journal, for below calculation:
sbi->discard_blks += old_valid_blocks - se->valid_blocks;
There will be two times potential overflow:
- old_valid_blocks - se->valid_blocks will overflow, and be a
Hi Maxime,
On mer., avril 25 2018, Maxime Chevallier
wrote:
> The Marvell XSMI controller needs 3 clocks to operate correctly :
> - The MG clock (clk 5)
> - The MG Core clock (clk 6)
> - The GOP clock (clk 18)
>
> This commit adds them, to avoid system hangs when using these
> interfaces
Hi Maxime,
On mer., avril 25 2018, Maxime Chevallier
wrote:
> Marvell's PPv2.2 IP needs an additional clock named "MG Core clock".
> This is required on Armada 7K and 8K.
>
> This commit adds the required clock, updates the devicetree and its
> documentation accordingly, also fixing a small t
On Wed, 2018-04-25 at 13:12 +0200, Petr Mladek wrote:
> We are going to check the address using probe_kernel_address(). It
> will
> be more expensive and it does not make sense for well known address.
>
> This patch splits the string() function. The variant without the check
> is then used on loca
Hi,
This series failed docker-build@min-glib build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
Type: series
Message-id: 20180425112415.12327-4-pagu...@redhat.com
Subject: [Qemu-devel] [RFC v2] qemu: Add virti
On Wed, Apr 25, 2018 at 1:26 PM, Liviu Dudau wrote:
> On Wed, Apr 25, 2018 at 09:17:22AM +0200, Daniel Vetter wrote:
>> On Tue, Apr 24, 2018 at 07:12:47PM +0100, Ayan Kumar Halder wrote:
>> > malidp_pm_suspend_late checks if the runtime status is not suspended
>> > and if so, invokes malidp_runtim
Hi Gregory,
On Wed, 25 Apr 2018 13:43:14 +0200
Gregory CLEMENT wrote:
>Hi Maxime,
>
> On mer., avril 25 2018, Maxime Chevallier
> wrote:
>
>> Marvell's PPv2.2 IP needs an additional clock named "MG Core clock".
>> This is required on Armada 7K and 8K.
>>
>> This commit adds the required clock,
On Wed, Apr 25, 2018 at 01:26:23PM +0200, Arnd Bergmann wrote:
> On Wed, Apr 25, 2018 at 9:23 AM, Jaroslav Kysela wrote:
> > We have almost everything hidden in the alsa-lib code for the
> > applications and there is the protocol versioning, so we can detect the
> > changes easily and handle the
Hi,
Compile failures are because Qemu 'Memory-Device changes' are not yet
in qemu master. As mentioned in Qemu patch message patch is
dependent on 'Memeory-device' patches by 'David Hildenbrand'.
Already picked up by maintainer.
> Hi,
>
> This series failed build test on s390x host. Please find
On Wed, 25 Apr 2018 13:48:27 +0200,
Paul Menzel wrote:
>
> Dear Linux folks,
>
>
> With the attached debug patch, `azx_probe()` seems to have been called
> twice on the ASRock E350M1. Is that expected? It also differs, that
> it’s only called once during some boots, and twice during others.
How
On Tue, 2018-04-24 at 20:48 +0200, Maxime Jourdan wrote:
> Add the SEL/DIV/GATE for VDEC_1 and VDEC_HEVC.
>
> Signed-off-by: Maxime Jourdan
Applied to next/drivers
Thx
On Tue, Apr 24, 2018 at 10:32:38PM +0200, Krzysztof Kozlowski wrote:
> The Exynos5440 is not actively developed, there are no development
> boards available and probably there are no real products with it.
> Remove wide-tree support for Exynos5440.
>
> Signed-off-by: Krzysztof Kozlowski
> ---
>
Hi Mika,
On Wed, Apr 25, 2018 at 12:51:41PM +0300, Mika Westerberg wrote:
> On Sat, Apr 21, 2018 at 09:50:07AM +0100, Javier Arteaga wrote:
> > +static const struct acpi_device_id upboard_acpi_match[] = {
> > + { "AANT0F01", (kernel_ulong_t) &upboard_up2_data },
>
> No space after cast so write
Hi Maxime,
On mer., avril 25 2018, Maxime Chevallier
wrote:
> When clk_prepare_enable fails for the axi_clk, the mg_clk isn't properly
> cleaned up. Add another jump label to handle that case, and make sure we
> jump to it in the later error cases.
>
> Fixes: 4792ea04bcd0 ("net: mvpp2: Fix cl
sdhci_omap_config_iodelay_pinctrl_state() requires caps and caps2 to be
initialized (speed mode capabilities like UHS/HS200) before it is
invoked. While mmc_of_parse() initializes caps/caps2 if capabilities is
populated in device tree, it will remain uninitialized for capabilities
obtained from SDH
Add UHS/HS200 mode support in sdhci-omap. The programming sequence
for voltage switching, tuning is followed from AM572x TRM
http://www.ti.com/lit/ug/spruhz6j/spruhz6j.pdf
(Similar to all AM57x/DRA7x SoCs). The patch series also implements
workaround for errata published in
http://www.ti.com/lit/er
Add support for the new compatible added specifically to support
k2g's MMC/SD controller.
Signed-off-by: Kishon Vijay Abraham I
Acked-by: Adrian Hunter
Acked-by: Tony Lindgren
---
drivers/mmc/host/sdhci-omap.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mmc/host/sdhci-omap
Add binding for the TI's sdhci-omap controller present in K2G.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Rob Herring
Acked-by: Tony Lindgren
---
Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings
Though MMC controller can indicate HS200/HS400 mode capability (by
using "mmc-hs200-1_8v"/"mmc-hs400-1_8v" dt property), if the IO lines
in the board is connected to 3.3v supply, HS200/HS400 mode cannot be
supported. Such boards have "no-1-8-v" property in their dts file.
Disable HS200/HS400 mode f
Errata i834 in AM572x Sitara Processors Silicon Revision 2.0, 1.1
(SPRZ429L July 2014–Revised April 2018 [1]) mentions the maximum
obtainable timeout through MMC host controller is 700ms. And for
commands taking longer than 700ms, hardware timeout should be
disabled and software timeout should be u
Add sdhci_omap_enable_sdio_irq to set CTPL and CLKEXTFREE bits in
MMCHS_CON register required to detect asynchronous card interrupt
on DAT[1].
Signed-off-by: Kishon Vijay Abraham I
Acked-by: Adrian Hunter
Acked-by: Tony Lindgren
---
drivers/mmc/host/sdhci-omap.c | 19 +++
1 fil
2018-04-20 9:03 GMT+08:00 Eric W. Biederman :
> As originally committed do_revisn would deliver a siginfo for SIGILL
> with an si_code composed of random stack contents. That makes no
> sense and is not something userspace can depend on. So simplify
> the code and just use "force_sig(SIG_ILL, cur
As specified in drm_drv.c, drm_dev_unref is a compatibility alias
for drm_dev_put and shouldn't be used in new code. So, use
drm_dev_put instead.
Signed-off-by: Vaishali Thakkar
---
drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/
sdhci has a 10 second timeout to catch devices that stop responding.
In the case of quirk SDHCI_QUIRK2_DISABLE_HW_TIMEOUT, instead of
programming 10 second arbitrary value, calculate the total time it would
take for the entire transfer to happen and program the timeout value
accordingly.
Signed-of
From: Adrian Hunter
Add quirk to disable HW timeout if the requested timeout is more than the
maximum obtainable timeout.
Also, if the quirk is set and ->get_max_timeout_count() is not implemented,
max_busy_timeout is set to zero.
Based-on-patch-by: Kishon Vijay Abraham I
Signed-off-by: Adrian
From: Adrian Hunter
Factor out the target_timeout calculation so it can be re-used.
Signed-off-by: Adrian Hunter
Signed-off-by: Kishon Vijay Abraham I
---
drivers/mmc/host/sdhci.c | 48 +---
1 file changed, 30 insertions(+), 18 deletions(-)
diff --git a/dr
Invoke sdhci_get_of_property defined in sdhci-pltfm.c to read
sdhci specific properties from dt node.
Signed-off-by: Kishon Vijay Abraham I
Acked-by: Adrian Hunter
Acked-by: Tony Lindgren
---
drivers/mmc/host/sdhci-omap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/sdh
sdhci can directly get ADMA capability from MMCHS_CAPA register.
Remove explicitly setting ADMA here as some instances might not have
ADMA enabled. (sdhci_read_caps() is also removed from here since
sdhci_setup_host() invokes it).
Signed-off-by: Kishon Vijay Abraham I
Acked-by: Adrian Hunter
Ack
Errata i843 in AM572x Sitara Processors Silicon Revision 2.0, 1.1
(SPRZ429L July 2014–Revised April 2018 [1]) mentions
PG 1.0/1.1 silicon has limitations w.r.t frequencies at which MMC1/2/3
can operate.
Use soc_device_match() to identify rev 1.0/1.1 silicon and
override mmc->f_max according to the
Hi Paolo,
On 18/4/24 20:12, Paolo Valente wrote:
>
>
>> Il giorno 23 apr 2018, alle ore 11:01, Joseph Qi ha
>> scritto:
>>
>>
>>
>> On 18/4/23 15:35, Paolo Valente wrote:
>>>
>>>
Il giorno 23 apr 2018, alle ore 08:05, Joseph Qi ha
scritto:
Hi Paolo,
>>>
>>> Hi Joseph,
>>>
2018-04-20 9:03 GMT+08:00 Eric W. Biederman :
> Neither unhandled_interrupt nor unhandled_exceptions fills in any of the
> siginfo fields whend sending SIGKILL. Further because it is SIGKILL
> even if all of the fields were filled out appropriately it would be impossible
> for the process to read
Hi,
This is the 7th version of the fetch-arg improvement series.
This includes variable changes on fetcharg framework like,
- Add fetcharg testcases (syntax, argN, symbol, string and array)
and probepoint testcase.
- Rewrite fetcharg framework with fetch_insn, switch-case based
instead of fun
Cleanup the print-argument function to decouple it into
print-name and print-value, so that it can support more
flexible expression, like array type.
Signed-off-by: Masami Hiramatsu
---
kernel/trace/trace_kprobe.c | 20 ++--
kernel/trace/trace_probe.c | 12 +---
kern
Cleanup event argument definition code in one place for
maintenancability.
Signed-off-by: Masami Hiramatsu
---
kernel/trace/trace_kprobe.c | 32
kernel/trace/trace_probe.c | 21 +
kernel/trace/trace_probe.h |2 ++
kernel/trace/trace_
Remove unneeded NOKPROBE_SYMBOL from print functions since
the print functions are only used when printing out the
trace data, and not from kprobe handler.
Signed-off-by: Masami Hiramatsu
---
kernel/trace/trace_probe.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ker
Replace {k,u}probe event argument fetching framework
with switch-case based. Currently that is implemented
with structures, macros and chain of function-pointers,
which is more complicated than necessary and may get
a performance penalty by retpoline.
This simplify that with an array of "fetch_ins
Unify {k,u}probe_fetch_type_table to probe_fetch_type_table
because the main difference of those type tables (fetcharg
methods) are gone. Now we can consolidate it.
Signed-off-by: Masami Hiramatsu
---
kernel/trace/trace_kprobe.c | 27 +-
kernel/trace/trace_probe.c | 54 +
Cleanup string fetching routine so that returns the consumed
bytes of dynamic area and store the string information as
data_loc format instead of data_rloc.
This simplifies the fetcharg loop.
Signed-off-by: Masami Hiramatsu
---
Changes in v7:
- Fix to return an error if failed to fetch string
Append traceprobe_ for exported function set_print_fmt() as
same as other functions.
Signed-off-by: Masami Hiramatsu
---
kernel/trace/trace_kprobe.c |4 ++--
kernel/trace/trace_probe.c |2 +-
kernel/trace/trace_probe.h |2 +-
kernel/trace/trace_uprobe.c |4 ++--
4 files changed
Unify the fetch_insn bottom process (from stage 2: dereference
indirect data) from kprobe and uprobe events, since those are
mostly same.
Signed-off-by: Masami Hiramatsu
---
kernel/trace/trace_kprobe.c | 47 +
kernel/trace/trace_probe_tmpl.h | 55 +
Hi Laurent & Rob :-)
On 04/25/2018 11:01 AM, Laurent Pinchart wrote:
> Hi Philippe,
>
> Thank you for the patch.
>
> On Wednesday, 25 April 2018 10:53:13 EEST Philippe Cornu wrote:
>> Add optional power supplies using the description found in
>> "SiI9022A/SiI9024A HDMI Transmitter Data Sheet (Au
Add "symbol" type to probeevent, which is an alias of u32 or u64
(depends on BITS_PER_LONG). This shows the result value in
symbol+offset style. This type is only available with kprobe
events.
Signed-off-by: Masami Hiramatsu
---
Changes in v2:
- Add symbol type to README file.
---
Documentati
Add regs_get_argument() which returns N th argument of the
function call.
Note that this chooses most probably assignment, in some case
it can be incorrect (e.g. passing data structure or floating
point etc.)
This is expected to be called from kprobes or ftrace with regs
where the top of stack is
Add $argN special fetch variable for accessing function
arguments. This allows user to trace the Nth argument easily
at the function entry.
Note that this returns most probably assignment of registers
and stacks. In some case, it may not work well. If you need
to access correct registers or stacks
Add array type support for probe events.
This allows user to get arraied types from memory address.
The array type syntax is
TYPE[N]
Where TYPE is one of types (u8/16/32/64,s8/16/32/64,
x8/16/32/64, symbol, string) and N is a fixed value less
than 64.
The string array type is a bit diffe
Add a testcase for symbol type with kprobe event.
This tests good/bad syntax combinations and also
the traced data.
If the kernel doesn't support symbol type, it skips
the test as UNSUPPORTED.
Signed-off-by: Masami Hiramatsu
---
Changes in v3:
- Use IP/PC register to test the symbol type
---
On Wed, Apr 25, 2018 at 12:56:45PM +0200, Johan Hovold wrote:
> On Wed, Apr 25, 2018 at 10:56:49AM +0200, Greg Kroah-Hartman wrote:
> > On Tue, Apr 24, 2018 at 06:34:52PM +0200, Johan Hovold wrote:
> > > +static int gnss_open(struct inode *inode, struct file *file)
> > > +{
> > > + struct gnss_dev
Am Mittwoch, 25. April 2018, 12:38:02 CEST schrieb Enrico Weigelt:
> >> + list_for_each_safe(pos, q, &(caphash_writers)) {
> >> + tmp = list_entry(pos, struct caphash_entry, list);
> >
> > list_for_each_entry.
>
> what's the exact difference ?
Whoops, I meant list_for_each_en
Add a testcase for $argN with kprobe event.
This tests whether the traced data is correct or not.
If the kernel doesn't support $argN (depends on arch),
it skips the test as UNSUPPORTED.
Signed-off-by: Masami Hiramatsu
---
Changes in v5:
- Fix description. (Thanks Namhyung!)
---
.../ftrace/te
Add a testcase for array type with kprobe event.
This tests good/bad syntax combinations and also
the traced data is correct in several way.
If the kernel doesn't support array type, it skips
the test as UNSUPPORTED.
Signed-off-by: Masami Hiramatsu
---
Changes in v7:
- Fix README test.
---
..
Since kprobes events support an array argument, perf-probe
can also support dumping array now.
The syntax are
[]
or
[]
where the is ... e.g. array[0..5].
This can also be available with string type. In this
case, the string array should be "char *array[]" or
"char **array_ptr".
Note that this
On Wed, 2018-04-25 at 07:37 +0200, Paul Menzel wrote:
> Am 24.04.2018 um 23:17 schrieb Bart Van Assche:
> > On Tue, 2018-04-24 at 23:04 +0200, Paul Menzel wrote:
> > > I applied your change, and rebuilt the Linux kernel. Unfortunately, it
> > > looks like, it didn’t make a difference.
> >
> > In t
2018-04-25 14:40 GMT+08:00 Christoph Hellwig :
> On Wed, Apr 25, 2018 at 09:43:43AM +0800, Greentime Hu wrote:
>> Hi Crhistoph,
>>
>> The ftmac100 works if I revert this commit.
>
> Thanks. ftmac100 only use dma_map_page, which in the old nds32 code
> is just doing a plain page_address and never k
On 4/24/2018 3:29 PM, Arnaldo Carvalho de Melo wrote:
Em Tue, Apr 24, 2018 at 03:23:06PM -0400, Liang, Kan escreveu:
On 4/24/2018 3:17 PM, Arnaldo Carvalho de Melo wrote:
Em Tue, Apr 24, 2018 at 11:20:13AM -0700, kan.li...@linux.intel.com escreveu:
From: Kan Liang
Perf stat doesn't count t
On Tue, Apr 17, 2018 at 07:37:35PM +0100, Mark Rutland wrote:
> +Basic support
> +-
> +
> +When CONFIG_ARM64_PTR_AUTH is selected, and relevant HW support is
> +present, the kernel will assign a random APIAKey value to each process
> +at exec*() time. This key is shared by all threads w
Hi agin,
On mer., avril 25 2018, Gregory CLEMENT wrote:
> Hi Maxime,
>
> On mer., avril 25 2018, Maxime Chevallier
> wrote:
>
>> The Marvell XSMI controller needs 3 clocks to operate correctly :
>> - The MG clock (clk 5)
>> - The MG Core clock (clk 6)
>> - The GOP clock (clk 18)
>>
>>
On Wed, Apr 25, 2018 at 01:26:33AM +0200, Sebastian Reichel wrote:
> Hi Greg,
>
> On Tue, Apr 24, 2018 at 03:57:49PM +0200, Greg Kroah-Hartman wrote:
> > On Mon, Apr 23, 2018 at 03:10:55PM +0100, Adam Thomson wrote:
> > > This patch set adds sink side support for the PPS feature introduced in
> >
401 - 500 of 1348 matches
Mail list logo