Instead of ading more ifthen logic for adding a new mac_device_info
setup function, it is easier to add a function pointer to the function
needed.
Signed-off-by: Corentin Labbe
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +++-
include/linux/stmmac.h| 3 +
The symptom is continuous log "mtk-jpeg 18004000.jpegdec: Context is NULL"
in kernel log. It is becauese the error handling in irq doesn't clear
interrupt.
The calling flow like as below when issue happen
mtk_jpeg_device_run()
mtk_jpeg_job_abort()
v4l2_m2m_job_finish() -> m2m_dev->curr_ctx = NUL
This patch add the dt node for the syscon register present on the
Allwinner A64.
Only two register are present in this syscon and the only one useful is
the one dedicated to EMAC clock.
Signed-off-by: Corentin Labbe
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 6 ++
1 file changed, 6
The dwmac-sun8i hardware is present on the Orange PI One.
It uses the internal PHY.
This patch create the needed emac node.
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3-orange
From: LABBE Corentin
Enable the dwmac-sun8i driver in the sunxi default configuration
Signed-off-by: Corentin Labbe
---
arch/arm/configs/sunxi_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index 5cd5dd70..504e0
The dwmac-sun8i is an Ethernet MAC that supports 10/100/1000 Mbit
connections. It is very similar to the device found in the Allwinner
H3, but lacks the internal 100 Mbit PHY and its associated control
bits.
This adds the necessary bits to the Allwinner A64 SoC .dtsi, but keeps
it disabled at this
The dwmac-sun8i hardware is present on the Orange PI plus.
It uses an external PHY rtl8211e via RGMII.
This patch create the needed regulator, emac and phy nodes.
Signed-off-by: Corentin Labbe
---
arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 35
1 file changed, 35
On Wed, Mar 1, 2017 at 7:09 PM, Icenowy Zheng wrote:
> The A64 has a R_PIO pin controller, similar to the one found on the H3 SoC.
> Add support for the pins controlled by the R_PIO controller.
>
> Signed-off-by: Icenowy Zheng
> Acked-by: Chen-Yu Tsai
> ---
> Changes in v2:
Patch applied.
You
On Tue, Mar 14, 2017 at 3:47 PM, Linus Walleij wrote:
> On Fri, Feb 24, 2017 at 1:22 AM, Chanwoo Choi wrote:
>> On 2016년 12월 30일 22:28, Linus Walleij wrote:
>>> On Fri, Dec 30, 2016 at 5:14 AM, Andi Shyti wrote:
> Probably. Send a patch fixing it up so I can apply it.
>
> There are now something
The dwmac-sun8i hardware is present on the pine64 plus.
It uses an external PHY rtl8211e via RGMII.
Signed-off-by: Corentin Labbe
---
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/
Enable the dwmac-sun8i driver in the multi_v7 default configuration
Signed-off-by: Corentin Labbe
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 36c1b39..380919f 100644
-
From: "col...@suse.de"
3.12-stable review patch. If anyone has any objections, please let me know.
===
commit 03a9e24ef2aaa5f1f9837356aed79c860521407a upstream.
Recently I receive a bug report that on Linux v3.0 based kerenl, hot add
disk to a md linear device causes kernel crash
Em Wed, Mar 08, 2017 at 02:11:59AM +0530, Hari Bathini escreveu:
> +size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp)
> +{
> + size_t ret = 0;
> + struct perf_ns_link_info *ns_link_info;
> + u32 nr_namespaces, idx;
> +
> + ns_link_info = event->namespaces.link
On 03/14, Peter Zijlstra wrote:
>
> On Tue, Mar 14, 2017 at 03:03:02PM +0100, Oleg Nesterov wrote:
> > On 03/14, Peter Zijlstra wrote:
> > >
> > > Yes, this looks buggy. But I cannot explain how that would result in the
> > > observed use-after-free.
> >
> > Yes...
> >
> > Suppose that copy_process
The dwmac-sun8i is a heavy hacked version of stmmac hardware by
allwinner.
In fact the only common part is the descriptor management and the first
register function.
Signed-off-by: Corentin Labbe
---
drivers/net/ethernet/stmicro/stmmac/Kconfig| 11 +
drivers/net/ethernet/stmicro/stmmac/
On 03/14/2017 02:44 PM, Krzysztof Kozlowski wrote:
> On Tue, Mar 14, 2017 at 10:40 AM, Alim Akhtar wrote:
>>
>>
>> On 03/14/2017 01:32 PM, Krzysztof Kozlowski wrote:
>>> On Tue, Mar 14, 2017 at 9:51 AM, Alim Akhtar
>>> wrote:
Hi Krzysztof,
On 03/12/2017 03:08 AM, Krzysztof Kozlo
> -Original Message-
> From: Dexuan Cui
> Sent: Tuesday, March 14, 2017 5:49 AM
> To: KY Srinivasan ; gre...@linuxfoundation.org; linux-
> ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;
> a...@canonical.com; vkuzn...@redhat.com; jasow...@redhat.com;
> leann.ogasaw..
On Mon, Mar 13, 2017 at 10:42 PM, Umang Raghuvanshi wrote:
>
>
> On 03/14/2017 01:00 AM, Alex Deucher wrote:
>
>> Does your kernel have this patch:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef736d394e85b1bf1fd65ba5e5257b85f6c82325
>
> Yes, my kernel has this
On Saturday, March 11, 2017 08:25:31 PM Krzysztof Kozlowski wrote:
> Phy drivers access PMU region through regmap provided by exynos-pmu
> driver. However there is no need to duplicate defines for PMU
> registers. Instead just use whatever is defined in exynos-regs-pmu.h.
>
> Additionally MIPI
On 03/12/2017 03:08 AM, Krzysztof Kozlowski wrote:
> Enable EXYNOS_PM_DOMAINS because recently Exynos5433 got support for
> Power Management domains. The Exynos5433 pinctrl driver requires
> EXYNOS_PMU to get the syscon-regmap for PMU address space.
>
> Signed-off-by: Krzysztof Kozlowski
> ---
On Saturday, March 11, 2017 08:25:32 PM Krzysztof Kozlowski wrote:
> Phy drivers access PMU region through regmap provided by exynos-pmu
> driver. However there is no need to duplicate defines for PMU
> registers. Instead just use whatever is defined in exynos-regs-pmu.h.
>
> This reduces numbe
On Saturday, March 11, 2017 08:25:33 PM Krzysztof Kozlowski wrote:
> Exynos4 MIPI phy registers are defined with macro calculating the offset
> for given phyN. Use the same method for Exynos5420 to be consistent.
>
> Signed-off-by: Krzysztof Kozlowski
Reviewed-by: Bartlomiej Zolnierkiewicz
Be
On Mon, 13 Mar 2017 11:31:28 +0530
"Gautham R. Shenoy" wrote:
> From: "Gautham R. Shenoy"
>
> POWER9 platform can be configured to rebalance per-thread resources
> within a core in order to improve SMT performance. Certain STOP
> states can be configure to relinquish resources include some
> h
On Fri, 10 Mar 2017 23:39:42 +0100, Matthias Schiffer wrote:
> Signed-off-by: Matthias Schiffer
Acked-by: Jiri Benc
Hi Lee,
On 14/03/17 14:59, Lee Jones wrote:
> On Tue, 14 Feb 2017, Enric Balletbo i Serra wrote:
>
>> From: Stephen Barber
>>
>> If the EC supports RTC host commands, expose an RTC device.
>>
>> Signed-off-by: Stephen Barber
>> Signed-off-by: Enric Balletbo i Serra
>> Acked-by: Benson Leung
>
On Tue, 2017-03-14 at 14:31 +0100, Dmitry Vyukov wrote:
> Hello,
>
> I've got the following deadlock report while running syzkaller fuzzer
> on net-next/92cd12c5ed432c5eebd2462d666772a8d8442c3b:
>
>
> [ INFO: possible circular locking dependency detected ]
> 4.10.0+ #29 Not tainted
> ---
On Wed, Mar 1, 2017 at 7:01 PM, Icenowy Zheng wrote:
> The compatible for Allwinner H5 pin controller is wrong written as
> allwinner,sun50i-h5-r-pinctrl, however, it's really a generic pinctrl
> rather than a "r" one.
>
> Fix this compatible string.
>
> Signed-off-by: Icenowy Zheng
Patch appli
On Tue, 21 Feb 2017, Andy Shevchenko wrote:
> Since commit 845c877009cf ("i2c / ACPI: Assign IRQ for devices that have
> GpioInt automatically") I2C core assigns interrupt line to I2C slave
> devices with regarding to GpioInt() resources.
>
> There is no need to repeat this in the driver.
>
> Si
On Mon, 20 Feb 2017, Andrey Smirnov wrote:
> Add various bits of code needed to support i.MX7D variant of the IP.
>
> Cc: yurov...@gmail.com
> Cc: Lucas Stach
> Cc: Bjorn Helgaas
> Cc: Rob Herring
> Cc: Mark Rutland
> Cc: Lee Jones
> Cc: Fabio Estevam
> Cc: linux-arm-ker...@lists.infradead.
On Fri, 03 Mar 2017, sean.w...@mediatek.com wrote:
> From: Sean Wang
>
> Add compatible string as "mt6323-led" that will make
> the OF core spawn child devices for the LED subnode
> of that MT6323 MFD device.
>
> Signed-off-by: Sean Wang
> ---
> drivers/mfd/mt6397-core.c | 4
> 1 file ch
On Tue, Feb 28, 2017 at 7:00 AM, Mika Penttilä
wrote:
> Recent pulls for mainline pre 4.11 introduced pinctrl setup changes and moved
> pinctrl-imx to
> use generic helpers.
>
> Net effect was that hog group could not be resolved. I made it work for myself
> with a two stage setup with create an
2017-03-13 22:09 GMT+01:00 Laura Abbott :
> On 03/12/2017 12:05 PM, Daniel Vetter wrote:
>> On Sun, Mar 12, 2017 at 2:34 PM, Benjamin Gaignard
>> wrote:
>>> 2017-03-09 18:38 GMT+01:00 Laura Abbott :
On 03/09/2017 02:00 AM, Benjamin Gaignard wrote:
> 2017-03-06 17:04 GMT+01:00 Daniel Vette
* Thomas Gleixner [170314 01:40]:
> On Mon, 13 Mar 2017, Tony Lindgren wrote:
>
> > Shared interrupts can be registered with handle_nested_irq(), but
> > currently only one of the registered handlers gets called.
> >
> > The use of shared interrupts with handle_nested_irq() is probably rare,
> >
Hi,
On Tue, Mar 14, 2017 at 03:55:19PM +0200, Amir Goldstein wrote:
> Please let me know if that is sufficient for your needs
> or if you need me to prepare a version that delivers filename events
> without filename info, therefore allowing to merge filename events.
>
> Sounds to me like if you g
Hi,
On Saturday, March 11, 2017 08:25:34 PM Krzysztof Kozlowski wrote:
> There is no need for separate defines for Exynos4 and Exynos5 phy enable
> bit and MIPI phy reset bits. In both cases there are the same so
> simplify it.
>
> This reduces number of defines and allows removal of one header
On Mon, 2017-03-13 at 15:26 -0400, Tejun Heo wrote:
> Hello, Mike.
>
> Sorry about the long delay.
>
> On Mon, Feb 13, 2017 at 06:45:07AM +0100, Mike Galbraith wrote:
> > > > So, as long as the depth stays reasonable (single digit or lower),
> > > > what we try to do is keeping tree traversal ope
On Tue, Mar 14, 2017 at 3:41 PM, Eric Dumazet wrote:
> On Tue, 2017-03-14 at 14:31 +0100, Dmitry Vyukov wrote:
>> Hello,
>>
>> I've got the following deadlock report while running syzkaller fuzzer
>> on net-next/92cd12c5ed432c5eebd2462d666772a8d8442c3b:
>>
>>
>> [ INFO: possible circular locking d
On Tue, Mar 14, 2017 at 10:34:12AM +0900, Masaki Ota wrote:
> From: Masaki Ota
> -Fix the issue that V8(E7=73 03 28) devices are not assined correct device
> information bit from OTP.
> -Specified correct OTP bit for the V8 device setting of Button pad, DualPoint
> and Touchpad size.
> -Deleted
From: Marc Zyngier
We don't hold the mmap_sem while searching for VMAs (via find_vma), in
kvm_arch_prepare_memory_region, which can end up in expected failures.
Fixes: commit 8eef91239e57 ("arm/arm64: KVM: map MMIO regions at creation time")
Cc: Ard Biesheuvel
Cc: Christoffer Dall
Cc: Eric Aug
From: Marc Zyngier
We don't hold the mmap_sem while searching for the VMAs when
we try to unmap each memslot for a VM. Fix this properly to
avoid unexpected results.
Fixes: commit 957db105c997 ("arm/arm64: KVM: Introduce stage2_unmap_vm")
Cc: sta...@vger.kernel.org # v3.19+
Cc: Christoffer Dall
In kvm_free_stage2_pgd() we don't hold the kvm->mmu_lock while calling
unmap_stage2_range() on the entire memory range for the guest. This could
cause problems with other callers (e.g, munmap on a memslot) trying to
unmap a range.
Fixes: commit d5d8184d35c9 ("KVM: ARM: Memory virtualization setup"
Hi Linus,
On Tue, Mar 14, 2017 at 03:47:58PM +0100, Linus Walleij wrote:
> On Tue, Feb 28, 2017 at 7:00 AM, Mika Penttilä
> wrote:
>
> > Recent pulls for mainline pre 4.11 introduced pinctrl setup changes and
> > moved pinctrl-imx to
> > use generic helpers.
> >
> > Net effect was that hog grou
This series contains potential fixes for problems reported by [0] & [1].
[0] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/492944.html
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/492943.html
Marc Zyngier (2):
kvm: arm/arm64: Take mmap_sem in stage2_u
Hello,
These are a few compile error and warning fixes which were pointed out
after the 4.11 code was merged.
Most of these could be found at this kbuild failure here:
https://lkml.org/lkml/2017/3/9/976
The rest I found with some local testing.
Stafford Horne (3):
openrisc: xchg: fix `comp
On Mon, 06 Mar 2017, Charles Keepax wrote:
> Add the basic ability to register the device through device tree, more
> work is needed to get each individual sub-driver functioning correctly
> but this is enough to get the device to probe from device tree.
>
> Signed-off-by: Charles Keepax
> ---
>
On Wed, Mar 1, 2017 at 2:48 AM, David Daney wrote:
> Signed-off-by: David Daney
> Acked-by: Rob Herring
This patch applied to the GPIO tree, really simplistic so why not
merge it.
Yours,
Linus Walleij
Hi arm-soc maintainers,
Please consider this pull request for v4.12
This pull request contains version 16 of the generic TEE driver.
The TEE subsystem will contain drivers for various TEE implementations.
A TEE (Trusted Execution Environment) is a trusted OS running in some
secure environment, f
This was detected by allmodconfig, errors reported:
ERROR: "empty_zero_page" [net/ceph/libceph.ko] undefined!
ERROR: "__ucmpdi2" [lib/842/842_decompress.ko] undefined!
ERROR: "empty_zero_page" [fs/nfs/objlayout/objlayoutdriver.ko] undefined!
ERROR: "empty_zero_page" [fs/exofs/exofs.ko] undefin
On Fri, 10 Mar 2017 23:39:43 +0100, Matthias Schiffer wrote:
> --- a/drivers/net/vxlan.c
> +++ b/drivers/net/vxlan.c
> @@ -941,16 +941,24 @@ static int vxlan_fdb_dump(struct sk_buff *skb, struct
> netlink_callback *cb,
> */
> static bool vxlan_snoop(struct net_device *dev,
>
Hi,
On Tue, Mar 14, 2017 at 01:18:01PM +0200, Amir Goldstein wrote:
> I claim that fanotify filters event by mount not because it
> was a requirement, but because it was an implementation challenge
> to do otherwise.
>
> And I claim that what mount watchers are really interested in is
> "all the c
On 03/14/2017 05:09 PM, Alexander Potapenko wrote:
> On Tue, Mar 14, 2017 at 12:03 AM, tip-bot for Andrey Ryabinin
> wrote:
>> Commit-ID: be3606ff739d1c1be36389f8737c577ad87e1f57
>> Gitweb:
>> http://git.kernel.org/tip/be3606ff739d1c1be36389f8737c577ad87e1f57
>> Author: Andrey Ryabinin
On Tue, Mar 14, 2017 at 3:56 PM, Eric Dumazet wrote:
> On Tue, Mar 14, 2017 at 7:46 AM, Dmitry Vyukov wrote:
>
>> I am confused. Lockdep has observed both of these stacks:
>>
>>CPU0CPU1
>>
>> lock(&(&q->lock)->rlock);
>>
On Mon, 06 Mar 2017, Charles Keepax wrote:
> Add a device tree binding document for the wm831x series of PMICs.
> Currently only support for the registering the device and the GPIOs are
> actually implemented in the driver.
>
> Signed-off-by: Charles Keepax
> ---
>
> Changes since v2:
> - Fles
On Fri, Mar 10, 2017 at 01:24:34PM -0800, Andi Kleen wrote:
SNIP
> +
> +struct aggr_data {
> + u64 ena, run, val;
> + int id;
> + int nr;
> + int cpu;
> +};
> +
> +static void aggr_cb(struct perf_evsel *counter, void *data, bool first)
> +{
> + struct aggr_data *ad = data;
> +
When building allmodconfig this warning shows.
fs/ocfs2/file.c: In function 'ocfs2_file_write_iter':
./arch/openrisc/include/asm/cmpxchg.h:81:3: warning: value computed is
not used [-Wunused-value]
((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), sizeof(*(ptr
^
Applying th
On Tue, Mar 14, 2017 at 10:34:13AM +0900, Masaki Ota wrote:
> From: Masaki Ota
> - V8 Button pad Stick Right and Middle button don't work.
> - Alps stick devices have physical buttons absolutely, so delete
> "ALPS_BUTTONPAD" check Flag from Stick button process.
>
> Signed-off-by: Masaki Ota
>
On Mon, Mar 13, 2017 at 09:33:45PM +, Jonathan Cameron wrote:
>On 13/03/17 13:33, William Breathitt Gray wrote:
>> On Sat, Feb 11, 2017 at 09:37:35AM +, Jonathan Cameron wrote:
>>> On 09/02/17 15:03, William Breathitt Gray wrote:
The flag register is offset by 1 from the respective cha
[...]
>>
>
> Please help to point out a bright way for this patch.
> We are anxiously waiting for your response.
Yong, I suggest you make resend of the series. This time make sure you
send to DT maintainers as well.
Kind regards
Uffe
On Tue, Mar 14, 2017 at 4:46 PM, Bartlomiej Zolnierkiewicz
wrote:
>
> Hi,
>
> On Saturday, March 11, 2017 08:25:34 PM Krzysztof Kozlowski wrote:
>> There is no need for separate defines for Exynos4 and Exynos5 phy enable
>> bit and MIPI phy reset bits. In both cases there are the same so
>> simpl
On Tue, Mar 14, 2017 at 7:46 AM, Dmitry Vyukov wrote:
> I am confused. Lockdep has observed both of these stacks:
>
>CPU0CPU1
>
> lock(&(&q->lock)->rlock);
>lock(_xmit_ETHER#2);
>
On Tue, Mar 14, 2017 at 4:37 PM, Bartlomiej Zolnierkiewicz
wrote:
> On Saturday, March 11, 2017 08:25:32 PM Krzysztof Kozlowski wrote:
>> Phy drivers access PMU region through regmap provided by exynos-pmu
>> driver. However there is no need to duplicate defines for PMU
>> registers. Instead ju
Was getting the following error with allmodconfig:
ERROR: "__get_user_bad" [lib/test_user_copy.ko] undefined!
This was simply a missing break statement, causing an unwanted fall
through.
Signed-off-by: Stafford Horne
---
arch/openrisc/include/asm/uaccess.h | 2 +-
1 file changed, 1 insertion
2017-03-13 22:34 GMT+01:00 Tony Lindgren :
> * Bartosz Golaszewski [170313 09:45]:
>> This board has an external oscillator supplying the reference clock
>> signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding
>> device tree node.
>
> Is this the 100MHz clock from PCIe? Just like on d
On Thu, Mar 2, 2017 at 6:56 AM, Jeffy Chen wrote:
> Currently we are trying to enable/disable the clk of irq's gpio bank when
> unmask/mask irq. But the kernel's "lazy disable approach" will skip masking
> irq when the irq chip doesn't support irq_disable ops.
>
> So we may hit this case:
>
On Wed, Mar 1, 2017 at 2:48 AM, David Daney wrote:
> Cavium ThunderX and OCTEON-TX are arm64 based SoCs. Add driver for
> the on-chip GPIO pins.
>
> Signed-off-by: David Daney
I guess this can't be merged until the corresponding IRQ changes
are merged. It can be applied in the irqchip tree or
On Tue, 2017-03-14 at 07:41 -0700, Eric Dumazet wrote:
> On Tue, 2017-03-14 at 14:31 +0100, Dmitry Vyukov wrote:
> > Hello,
> >
> > I've got the following deadlock report while running syzkaller fuzzer
> > on net-next/92cd12c5ed432c5eebd2462d666772a8d8442c3b:
> >
> >
> > [ INFO: possible circula
On Mon, 13 Mar 2017, Andy Shevchenko wrote:
> Crystal Cove and Whiskey Cove are two different PMICs which are
> installed on Intel Atom SoC based platforms.
>
> Moreover there are two independent drivers that by some reason are
> supposed (*) to get into one kernel module.
>
> Fix the mess by cl
* Bartosz Golaszewski [170314 08:03]:
> 2017-03-13 22:34 GMT+01:00 Tony Lindgren :
> > * Bartosz Golaszewski [170313 09:45]:
> >> This board has an external oscillator supplying the reference clock
> >> signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding
> >> device tree node.
> >
>
Add code allowing for control of various power domains managed by GPCv2
IP block found in i.MX7 series of SoCs. Power domains covered by this
patch are:
- PCIE PHY
- MIPI PHY
- USB HSIC PHY
- USB OTG1/2 PHY
Support for any other power domain controlled by GPC is not present, and
c
On Tue, Mar 14, 2017 at 03:30:11PM +0100, Oleg Nesterov wrote:
> But. perf_event_init_task() adds child_event to parent_event->child_list.
>
> If perf_event_release_kernel(parent_event) is called before copy_process()
> does perf_event_free_task() which (in particular) removes it from child_list,
Shawn,
This series is a split of the orginal GPCv2 driver patch.
Let me know if there's more to be improved.
Thanks,
Andrey Smirnov
Changes since v4 (see [v4]):
- Single patch is split into multiple as per Shawn's reques
- Incorporated various feedback from Shawn
Changes sinc
Add DT bindings for power domain driver for GPCv2 IP block found in
i.MX7 SoCs.
Cc: yurov...@gmail.com
Cc: Lucas Stach
Cc: Rob Herring
Cc: Mark Rutland
Cc: Fabio Estevam
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Rob Herri
On 03/14/2017 05:59 PM, Andrey Ryabinin wrote:
> On 03/14/2017 05:09 PM, Alexander Potapenko wrote:
>> On Tue, Mar 14, 2017 at 12:03 AM, tip-bot for Andrey Ryabinin
>> wrote:
>>> Commit-ID: be3606ff739d1c1be36389f8737c577ad87e1f57
>>> Gitweb:
>>> http://git.kernel.org/tip/be3606ff739d1c1be
On Tue, 2017-03-14 at 12:29 +, Reshetova, Elena wrote:
> > Elena Reshetova writes:
> >
> > > refcount_t type and corresponding API should be
> > > used instead of atomic_t when the variable is used as
> > > a reference counter. This allows to avoid accidental
> > > refcounter overflows that m
On Mon, 20 Feb 2017, Andrey Smirnov wrote:
> Add various bits of code needed to support i.MX7D variant of the IP.
>
> Cc: yurov...@gmail.com
> Cc: Lucas Stach
> Cc: Bjorn Helgaas
> Cc: Rob Herring
> Cc: Mark Rutland
> Cc: Lee Jones
> Cc: Fabio Estevam
> Cc: linux-arm-ker...@lists.infradead.
The setup/remove_state/instance() functions in the hotplug core code are
serialized against concurrent CPU hotplug, but unfortunately not serialized
against themself.
As a consequence a concurrent invocation of these function results in
corruption of the callback machinery because two instances tr
Hi Linus,
Am Dienstag, 14. März 2017, 16:03:48 CET schrieb Linus Walleij:
> On Thu, Mar 2, 2017 at 6:56 AM, Jeffy Chen
wrote:
> > Currently we are trying to enable/disable the clk of irq's gpio bank when
> > unmask/mask irq. But the kernel's "lazy disable approach" will skip
> > masking
> > irq
All events from 'perf list', except SDT events, can be directly recorded
with 'perf record'. But, the flow is little different for SDT events.
Probe point for SDT event needs to be created using 'perf probe' before
recording it using 'perf record'.
As suggested by Ingo[1], it's better to make this
On Tue, Mar 14, 2017 at 3:46 PM, Filip Štědronský wrote:
> Hi,
>
> On Tue, Mar 14, 2017 at 12:40:56PM +0200, Amir Goldstein wrote:
>> An I am very happy that you used filehandles to keep track of objects
>> in your example, because it fits my proposal really well.
>
> you can read more about the r
Factor out the SDT event name checking routine as is_sdt_event().
Signed-off-by: Ravi Bangoria
---
tools/perf/util/parse-events.h | 20
tools/perf/util/probe-event.c | 9 +
2 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/tools/perf/util/parse-events
Perf was showing warning if user tries to record sdt event without
creating a probepoint. Now we are allowing direct record on sdt
events, remove this stale warning/hint.
Signed-off-by: Ravi Bangoria
---
tools/lib/api/fs/tracing_path.c | 17 -
1 file changed, 4 insertions(+), 13
On Tue, Mar 14, 2017 at 04:02:41PM +0100, Peter Zijlstra wrote:
> On Tue, Mar 14, 2017 at 03:30:11PM +0100, Oleg Nesterov wrote:
>
> > But. perf_event_init_task() adds child_event to parent_event->child_list.
> >
> > If perf_event_release_kernel(parent_event) is called before copy_process()
> > d
Add functionality to fetch matching events from uprobe_events. If no
events are fourd from it, fetch matching events from probe-cache and
add them in uprobe_events. If all events are already present in
uprobe_events, reuse them. If few of them are present, add entries
for missing events and record
If number of events found from probe-cache is not equal to number of
existing events(fetched from uprobe_events), and somehow we decides
to record only existing events, we warn user about the same. For ex,
$ sudo ./perf probe sdt_libpthread:mutex_release
Added new events:
sdt_libpthrea
List those events which are fetched from uprobe_events as 'event addr@file'
followed by hint on how these events can be deleted with 'perf probe -d'
command.
For example:
$ sudo cat /sys/kernel/debug/tracing/uprobe_events
p:sdt_libpthread/mutex_release
/usr/lib64/libpthread-2.24.so:0x00
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> This driver never frees the irq descriptors it allocates. Fix it by
> using a resource managed variant of irq_alloc_descs().
>
> Signed-off-by: Bartosz Golaszewski
Patch applied.
Yours,
Linus Walleij
From: Hemant Kumar
Add basic support for directly recording SDT events which are present
in the probe cache. Without this patch, we could probe into SDT events
using 'perf probe' and 'perf record'. With this patch, we can probe the
SDT events directly using 'perf record'.
After invoking 'perf re
Add an option macro that is the same as OPT_CALLBACK_OPTARG except
that the argument is not optional.
Signed-off-by: Ravi Bangoria
---
tools/lib/subcmd/parse-options.h | 4
1 file changed, 4 insertions(+)
diff --git a/tools/lib/subcmd/parse-options.h b/tools/lib/subcmd/parse-options.h
inde
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> This driver never frees the allocated interrupt descriptors. Fix it by
> using a resource managed variant of irq_alloc_descs().
>
> Signed-off-by: Bartosz Golaszewski
Patch applied.
Yours,
Linus Walleij
On Tue, Mar 14, 2017 at 8:03 AM, Paolo Abeni wrote:
> I'm wondering if we really need to keep the fragment queue lock held
> while sending the icmp packet ? we hold a reference to the struct, so
> it can't be deleted, and AFAICS after ipq_kill() nobody else could
> access/modify that queue.
>
> T
* Linus Walleij [170314 07:50]:
> On Tue, Feb 28, 2017 at 7:00 AM, Mika Penttilä
> wrote:
>
> > Recent pulls for mainline pre 4.11 introduced pinctrl setup changes and
> > moved pinctrl-imx to
> > use generic helpers.
> >
> > Net effect was that hog group could not be resolved. I made it work f
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> Use device resource managed variants of irq_alloc_descs() and
> request_irq() and remove the code manually freeing irq resources.
>
> Signed-off-by: Bartosz Golaszewski
Patch applied.
Yours,
Linus Walleij
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> Use device resource managed variants of irq_alloc_descs() and
> request_irq() and remove the code manually freeing irq resources.
>
> Signed-off-by: Bartosz Golaszewski
Patch applied.
Yours,
Linus Walleij
Cc: yurov...@gmail.com
Cc: Lucas Stach
Cc: Fabio Estevam
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfi
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> Use the resource managed variant of irq_alloc_descs() and remove the
> code manually freeing allocated interrupt descriptors.
>
> Signed-off-by: Bartosz Golaszewski
Patch applied.
Yours,
Linus Walleij
Hello Tobin,
I missed the other files because they did not show up using the checkpatch
script.
Next time I will do a recursive search through the files before committing the
changes to avoid this situation.
Before I could replay on your message, I got notified of my patches already
been merg
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> This driver never frees the interrupt descriptors it allocates. Fix
> it by using the resource managed version of irq_alloc_descs().
>
> Signed-off-by: Bartosz Golaszewski
Patch applied with Keerty's ACK.
Yours,
Linus Walleij
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> This driver never frees the interrupt descriptors it allocates. Fix
> it by using the resource managed version of irq_alloc_descs().
>
> Signed-off-by: Bartosz Golaszewski
Patch applied with Robert's ACK.
Yours,
Linus Walleij
On Sat, Mar 4, 2017 at 5:23 PM, Bartosz Golaszewski
wrote:
> Use the resource managed variant of irq_alloc_descs(). This allows us
> to remove gpio_mockup_remove().
>
> Signed-off-by: Bartosz Golaszewski
Patch applied with Bamvor's review tag.
Yours,
Linus Walleij
On Wed, Mar 1, 2017 at 7:01 PM, Icenowy Zheng wrote:
> Allwinner A64 SoC has also a dedicated pin controller for Port L GPIOs,
> which is called "Port Controller (CPUs-PORT)" in SoC User Manual.
>
> Add a binding for this pin controller, like the ones in A23/33 and H3.
>
> Signed-off-by: Icenowy
701 - 800 of 1088 matches
Mail list logo