On Wed, Jan 27, 2016 at 2:24 AM, Biao Huang wrote:
> Change in v4:
> 1. create a sperate patch for direction setting of input-enable/disalbe and
> input-schmitt-enable/disable.
So I've merged the patches affecting drivers/pinctrl on the special
devel-mt2701 branch, so
OK, I see. Will include these changes in next version.
2016-01-28 17:09 GMT+08:00 Matias Bjørling :
> On 01/28/2016 09:50 AM, Wenwei Tao wrote:
>> 2016-01-27 17:44 GMT+08:00 Matias Bjørling :
>>> On 01/26/2016 01:33 PM, Wenwei Tao wrote:
When create a
On Thu, 28 Jan 2016, Julian Calaby wrote:
> Hi Johannes,
>
> On Thu, Jan 28, 2016 at 8:48 PM, Johannes Berg
> wrote:
> > On Thu, 2016-01-28 at 10:27 +1100, Julian Calaby wrote:
> >> I'd prefer to just set ->removed to false right after we set
> >> ->auto_seq as that
On Thursday 28 January 2016 03:34 PM, Linus Walleij wrote:
On Tue, Jan 19, 2016 at 11:19 AM, Laxman Dewangan wrote:
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins
which also act as the special function in alternate mode. Also
there is configuration like
On Sat, Jan 23, 2016 at 4:31 PM, Masahiro Yamada
wrote:
> CONFIG_PINCTRL_PXA is more suitable than CONFIG_ARCH_PXA
> to guard the drivers/pinctrl/pxa/ directory.
>
> Signed-off-by: Masahiro Yamada
Patch applied.
Yours,
Linus
On 16.12.2015 11:14, Viresh Kumar wrote:
> On 15-12-15, 18:33, Bartlomiej Zolnierkiewicz wrote:
>> Hi,
>>
>> This patch series adds generic cpufreq-dt driver support for
>> Exynos542x/5800 (using the new CPU clock type which allows it).
>>
>> It has been tested on Exynos5422 based ODROID-XU3 Lite
From: Vijay Pandurangan
This patch has been added to the 3.12 stable tree. If you have any
objections, please let us know.
===
[ Upstream commit ce8c839b74e3017996fad4e1b7ba2e2625ede82f ]
Packets that arrive from real hardware devices have ip_summed ==
two small corrections.
On (01/28/16 19:41), Sergey Senozhatsky wrote:
[..]
> > Unfortunately, it's not reproduced anymore.
> >
> > If it's clearly a spinlock caller's bug as you said, modifying the
> > spinlock debug code does not help it at all. But I found there's a
> > possiblity in the debug
On Thu, Jan 28, 2016 at 12:45:44PM +0300, Konstantin Khlebnikov wrote:
> * add VM_STACK as alias for VM_GROWSUP/DOWN depending on architecture
> * always account VMAs with flag VM_STACK as stack (as it was before)
> * cleanup classifying helpers
> * update comments and documentation
>
>
On Thu, Jan 28, 2016 at 09:47:20AM +0800, Xishi Qiu wrote:
> On 2016/1/18 19:56, Mark Rutland wrote:
> > On Wed, Jan 13, 2016 at 05:10:31PM +0100, Ard Biesheuvel wrote:
> >> Something along these lines, perhaps?
> >>
> >> diff --git a/arch/arm64/mm/pageattr.c b/arch/arm64/mm/pageattr.c
> >> index
On Wed, Jan 27, 2016 at 10:47:37PM +, Mathieu Desnoyers wrote:
> - On Jan 27, 2016, at 5:11 PM, Josh Triplett j...@joshtriplett.org wrote:
>
> > On Wed, Jan 27, 2016 at 09:34:35PM +, Mathieu Desnoyers wrote:
> >> - On Jan 27, 2016, at 12:37 PM, Thomas Gleixner t...@linutronix.de
On Thu, 2016-01-28 at 09:29 +, Matt Fleming wrote:
> On Tue, 26 Jan, at 01:59:26PM, Andy Shevchenko wrote:
> > On Tue, 2016-01-26 at 11:50 +, Matt Fleming wrote:
> > > On Mon, 25 Jan, at 08:37:58PM, Elliott, Robert (Persistent
> > > Memory)
> > > wrote:
> > > >
> > > > For the UEFI memory
Michal Hocko wrote:
> On Mon 18-01-16 13:35:44, Tetsuo Handa wrote:
> [...]
> > (1) Make the OOM reaper available on CONFIG_MMU=n kernels.
> >
> > I don't know about MMU, but I assume we can handle these errors.
>
> What is the usecase for this on !MMU configurations? Why does it make
>
This series add checks to make sure that the AArch32 state is
supported before we process the 32bit ID registers. Also
checks the same for COMPAT binary execution.
This series applies on top of 4.5-rc1 + Early CPU feature verification [1] +
Handle sign bit for CPU Features [2], even though review
On ARMv8 support for AArch32 state is optional. Hence it is
not safe to check the AArch32 ID registers for sanity, which
could lead to false warnings. This patch makes sure that the
AArch32 state is implemented before we keep track of the 32bit
ID registers.
As per ARM ARM (D.1.21.2 - Support for
On Thursday 28 January 2016 00:36:56 Stephen Boyd wrote:
> On 01/27, Arnd Bergmann wrote:
> > On Wednesday 27 January 2016 17:56:18 James Liao wrote:
> > > >
> > > > I think you should include this change in your patch, or as a
> > > > preparation.
> > > > All other samsung platforms already
Make sure we have AArch32 state available for running COMPAT binaries.
Signed-off-by: Yury Norov
[ Added checks for ELF HWCAP, Use cap bit in cap_hwcaps ]
Signed-off-by: Suzuki K Poulose
---
arch/arm64/include/asm/elf.h |3 ++-
In order to handle systems which do not support 32bit at EL0,
split the COMPAT HWCAP entries into a separate table which can
be processed, only if the support is available.
Signed-off-by: Suzuki K Poulose
---
arch/arm64/kernel/cpufeature.c | 78
Adds a helper to extract the support for AArch32 at EL0
Signed-off-by: Suzuki K Poulose
---
arch/arm64/include/asm/cpufeature.h |7 +++
arch/arm64/include/asm/sysreg.h |1 +
2 files changed, 8 insertions(+)
diff --git
On 28/01/16 11:30, Ard Biesheuvel wrote:
On 28 January 2016 at 12:27, Suzuki K. Poulose wrote:
On 28/01/16 11:08, Will Deacon wrote:
I thought there was also a suggestion that we could fail gracefully in
the EFI stub if we detected an unsupported page size?
Yes,
We use hwcaps for referring to ELF hwcaps capability information.
However this can be confusing with 'cpu_hwcaps' which stands for the
CPU capability bit field. This patch cleans up the names to make it
a bit more readable.
Signed-off-by: Suzuki K Poulose
---
On 28-01-16, 12:55, Shilpasri G Bhat wrote:
> Create sysfs attributes to export throttle information in
> /sys/devices/system/cpu/cpufreq/chipN. The newly added sysfs files are as
> follows:
>
> 1)/sys/devices/system/cpu/cpufreq/chip0/throttle_frequencies
> This gives the throttle stats for
On Thu, Jan 28, 2016 at 06:41:49AM +, Lee Jones wrote:
> Just need your stamp for this to go in.
Please be more specific? What is it that you are looking for beyond the
review I already did for the regulator driver?
signature.asc
Description: PGP signature
On Thu, Jan 28, 2016 at 11:55:14AM +0100, Dmitry Vyukov wrote:
> On Thu, Jan 28, 2016 at 11:51 AM, Kirill A. Shutemov
> wrote:
> > On Thu, Jan 28, 2016 at 11:27:11AM +0100, Dmitry Vyukov wrote:
> >> Hello,
> >>
> >> The following program triggers
On 2016/1/28 18:51, Mark Rutland wrote:
> On Thu, Jan 28, 2016 at 09:47:20AM +0800, Xishi Qiu wrote:
>> On 2016/1/18 19:56, Mark Rutland wrote:
>>> On Wed, Jan 13, 2016 at 05:10:31PM +0100, Ard Biesheuvel wrote:
Something along these lines, perhaps?
diff --git
On Thursday 28 January 2016 09:22:04 Thomas Gleixner wrote:
> Cc'ing Arnd
>
> On Thu, 28 Jan 2016, zengtao wrote:
>
> > The structure:
> > struct timeval {
> > __kernel_time_t tv_sec; /* seconds */
> > __kernel_suseconds_ttv_usec;/* microseconds */
> > };
On Fri, Jan 22, 2016 at 7:35 PM, Colin King wrote:
> From: Colin Ian King
>
> amdgpu_amdkfd_gfx_7_get_functions and amdgpu_amdkfd_gfx_8_0_get_functions
> have no parameters, so use the normal void parameter convention to make
> them match
On Thu, Jan 28, 2016 at 05:28:30PM +, Robin Murphy wrote:
> On 27/01/16 05:21, Anup Patel wrote:
> >To allow use of large memory (> 4Gb) with 32bit devices we need to use
> >some kind of iommu for such 32bit devices.
> >
> >This patch extends SMMUv1/SMMUv2 driver to support DMA domains which
>
Hi Arnd,
On Wed, Jan 27, 2016 at 10:44 AM, Arnd Bergmann wrote:
> - in some configurations, you end up without any boards selected, hitting
> an #error in the final link
FWIW, I have a similar problem with m68k+MMU=y randconfig...
Gr{oetje,eeting}s,
Hi Jan,
[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.5-rc1 next-20160128]
[cannot apply to tip/perf/core]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/Jan-Glauber
Hi Andy,
Here are the reworked regulator patches with some additional dt patches
for spi.
Changes since v1:
- Moved regulators under smd_rpm_regulators label.
- Added few spi related fixes
thanks,
srini
Srinivas Kandagatla (9):
arm64: dts: qcom: remove redundant spi cs pins
2mA drive strenght is not enough to drive chipselect low on hardware
configurations with level shifters, 16mA should give good range to
allow such configurations to work.
This issue was noticed while testing spi on db410c with sensor board.
Signed-off-by: Srinivas Kandagatla
This patch removes redundant pins from spi pinconf as these are already
specified in pinconf_cs.
Signed-off-by: Srinivas Kandagatla
---
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
This patch adds aliases to spi device so that it can get proper bus
number rather than a random number.
Signed-off-by: Srinivas Kandagatla
---
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git
* Arnd Bergmann [160128 08:26]:
> The musb driver prints DMA addresses in a few places, using the
> 0x%x format string. This is wrong on 64-bit architectures (which
> need %lx) and 32-bit ARM with CONFIG_LPAE set (which needs
> %llx), otherwise we print the wrong data, as gcc
On Thu, Jan 28, 2016 at 11:45:40AM -0500, Waiman Long wrote:
> Using xchg_release() looks OK to me. As this feature is enabled on x86 only
> for this patch, we can make the change and whoever enabling it for other
> architectures that have a real release function will have to test it.
Ah, I was
Instead of just complaining and fail try to create output directory fisrt like
it's done in main Linux kernel Makefile.
Signed-off-by: Andy Shevchenko
---
tools/build/Makefile | 2 +-
tools/perf/Makefile | 3 +++
2 files changed, 4 insertions(+), 1
On Thu, Jan 28, 2016 at 07:02:51PM +0200, Michael S. Tsirkin wrote:
> commit f8e617f4582995f7c25ef25b4167213120ad122b ("sched/idle/x86:
> Optimize unnecessary mwait_idle() resched IPIs") adds
> memory barriers around clflush, but this seems wrong
> for UP since barrier() has no effect on clflush.
* Suman Anna [160127 15:17]:
> On 01/27/2016 12:56 PM, Tony Lindgren wrote:
> > * Suman Anna [160127 10:17]:
> >> On 01/27/2016 11:31 AM, Tony Lindgren wrote:
> >>> Why do you need another reset here? Can't you just implement PM runtime
> >>> in the driver and do
On Thu, Jan 28, 2016 at 10:42:17PM +0530, Ganapatrao Kulkarni wrote:
> On Thu, Jan 28, 2016 at 8:09 PM, Will Deacon wrote:
> > On Tue, Jan 26, 2016 at 02:36:04PM -0600, Bjorn Helgaas wrote:
> >> Subject is "arm64/arm, numa, dt: adding ..." What is the significance
> >> of
Data corruption issues were observed in tests which initiated a system
crash/reset while accessing BTT devices. This problem is reproducible.
The BTT driver calls pmem_rw_bytes() to update data in pmem devices.
This interface calls __copy_user_nocache(), which uses non-temporal
stores so that
Data corruption issues were observed in tests which initiated
a system crash while accessing BTT devices. This problem is
reproducible.
The BTT driver calls pmem_rw_bytes() to update data in pmem
devices. This interface calls __copy_user_nocache(), which
uses non-temporal stores so that the
arch_memcpy_to_pmem() calls __copy_user_nocache() to copy data
via non-temporal stores. However, __copy_user_nocache() still
performs cached copy when a request is not naturally aligned or
is less then 4 bytes.
Call clflush_cache_range() to flush destination when a request
leads to cached copy.
On 27/01/2016 15:41, Mark Brown wrote:
> On Wed, Jan 27, 2016 at 01:00:59PM +0100, John Crispin wrote:
>
>> +/* Constrain board-specific capabilities according to what
>> + * this driver and the chip itself can actually do.
>> + */
>> +c =
Kever,
On Wed, Jan 27, 2016 at 10:41 PM, Kever Yang wrote:
> Hi Doug,
>
> We are in HOST mode, we only need to receive data from USB camera
> with RX FIFO, and no need to use TX FIFO for USB webcam, right? :)
>
> Any way, I think we need to NAK this patch after look
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Dave Chinner
commit 85bec5460ad8e05e0a8d70fb0f6750eb719ad092 upstream.
Recently I've been seeing xfs/051 fail on
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Takashi Iwai
commit c0bcdbdff3ff73a54161fca3cb8b6cdbd0bb8762 upstream.
When a TLV ioctl with numid zero is handled, the
Hi Alan,
On Thursday 28 January 2016 06:54 PM, One Thousand Gnomes wrote:
On Thu, 28 Jan 2016 18:36:27 +0530
Keerthy wrote:
The series introduces a new function emergency_poweroff which shuts
down the system after a configurable period of time. emergency_poweroff
is
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Herbert Xu
commit a6a48c565f6f112c6983e2a02b1602189ed6e26e upstream.
This patch forbids the calling of
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Arnd Bergmann
commit 6c54809977de3c9e2ef9e9934a2c6625f7e161e7 upstream.
During my randconfig build testing, I found
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: xuejiufei
commit bef5502de074b6f6fa647b94b73155d675694420 upstream.
We have found that migration source will
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Sergey Senozhatsky
commit 3d5fe03a3ea013060ebba2a811aeb0f23f56aefa upstream.
We can end up allocating a
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Kyeongdon Kim
commit d913897abace843bba20249f3190167f7895e9c3 upstream.
When we're using LZ4 multi compression
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Laura Abbott
commit ea535e418c01837d07b6c94e817540f50bfdadb0 upstream.
In include/asm-generic/sections.h:
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Naoya Horiguchi
commit d96b339f453997f2f08c52da3f41423be48c978f upstream.
I saw the following BUG_ON
> -Original Message-
> From: Matt Fleming [mailto:m...@codeblueprint.co.uk]
> Sent: Thursday, January 28, 2016 8:16 PM
>
> On Tue, 26 Jan, at 03:10:03AM, Kweh Hock Leong wrote:
> > >
> > > This mutex is not needed. It doesn't protect anything in your code.
> >
> > This is to
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Takashi Iwai
commit ee8413b01045c74340aa13ad5bdf905de32be736 upstream.
ALSA timer instance object has a couple of
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Lyude
commit 2dc2f761dea65069485110d24eaa5b0d5d808b07 upstream.
This fixes reprobing of display connectors on
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Mans Rullgard
commit df3bb8a0e619d501cd13334c3e0586edcdcbc716 upstream.
Commit 61e183f83069 ("dmaengine/dw_dmac:
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Ulrich Weigand
commit a61674bdfc7c2bf909c4010699607b62b69b7bec upstream.
GCC 6 will include changes to
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Hui Wang
commit 0a1f90a982e85f4921bed606a6b41a24f4de2ae1 upstream.
The machine uses codec alc255, and the pin
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Takashi Iwai
commit 030e2c78d3a91dd0d27fef37e91950dde333eba1 upstream.
snd_seq_ioctl_remove_events() calls
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Dave Chinner
commit 7d6a13f023567d573ac362502bb702eda716e654 upstream.
When we do dquot readahead in log
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Vegard Nossum
commit 9f2dfda2f2f1c6181c3732c16b85c59ab2d195e0 upstream.
An inverted return value check in
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Jeff Layton
commit 7f3697e24dc3820b10f445a4a7d914fc356012d1 upstream.
Dmitry reported that he was able to
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Dave Chinner
commit b79f4a1c68bb99152d0785ee4ea3ab4396cdacc6 upstream.
When we do inode readahead in log
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Grygorii Strashko
commit 8ff0ef996ca00028519c70e8d51d32bd37eb51dc upstream.
On -RT and if kernel is booting
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Mykola Lysenko
commit 7a11a334aa6af4c65c6a0d81b60c97fc18673532 upstream.
This is needed to receive correct
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Andrew Gabbasov
commit ad402b265ecf6fa22d04043b41444cdfcdf4f52d upstream.
udf_CS0toUTF8 function stops the
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Christoph Biedl
commit 3460baa620685c20f5ee19afb6d99d26150c382c upstream.
Commit 36e097a8a297
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Mykola Lysenko
commit 75af4c8c4c0f60d7ad135419805798f144e9baf9 upstream.
This fix is needed to support more
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Mykola Lysenko
commit bd9343208704fcc70a5b919f228a7d26ae472727 upstream.
In case broadcast message received in
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: "Darrick J. Wong"
commit 96f859d52bcb1c6ea6f3388d39862bf7143e2f30 upstream.
Because struct xfs_agfl is 36
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Uri Mashiach
commit e47301b06d5a65678690f04c2248fd181db1e59a upstream.
Fix the below Oops when trying to
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Trond Myklebust
commit ade14a7df796d4e86bd9d181193c883a57b13db0 upstream.
If a NFSv4 client uses the
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Zheng Liu
commit fecaee6f20ee122ad75402c53d8278f9bb142ddc upstream.
This bug can be reproduced by the following
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: =?UTF-8?q?Aur=C3=A9lien=20Francillon?=
commit dd0d0d4de582a6a61c032332c91f4f4cb2bab569 upstream.
Without
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Zheng Liu
commit 2ef9ccbfcb90cf84bdba320a571b18b05c41101b upstream.
Subject : [PATCH v2] bcache: fix a
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Al Viro
commit 4d4d8573a8451acc9f01cbea24b7e55f04a252fe upstream.
Signed-off-by: Al Viro
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Lorenzo Pieralisi
commit 60792ad349f3c6dc5735aafefe5dc9121c79e320 upstream.
The pmuserenr_el0 register
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Uri Mashiach
commit 9b2761cb72dc41e1948c8a5512b4efd384eda130 upstream.
The maximum chunks used by the
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Nikolay Borisov
commit 18d03e8c25f173f4107a40d0b8c24defb6ed69f3 upstream.
When a thin pool is being destroyed delayed
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Will Deacon
commit d8d23fa0f27f3b2942a7bbc7378c7735324ed519 upstream.
We don't want to expose the DCC to
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Alex Deucher
commit 0eb1c3d4084eeb6fb3a703f88d6ce1521f8fcdd1 upstream.
Combine the two quirks.
bug:
3.19.8-ckt14 -stable review patch. If anyone has any objections, please let me
know.
---8<
From: Felix Kuehling
commit 42ef344c0994cc453477afdc7a8eadc578ed0257 upstream.
eoffset is sometimes treated as the
As we start getting more exact about our scheduling it's becoming more
and more important to know exactly how far through the current frame we
are. This lets us make decisions about whether there's still time left
to start a new transaction in the current frame.
We'll add
The microframe scheduler figured out exactly how many transfers we need
for a split transaction. Let's use this knowledge to know when to end
things.
Without this I found that certain devices would just keep responding
with tons of NYET resonses on their INT_IN endpoint. These would just
keep
Hi Alan,
One Thousand Gnomes 於 2016/1/28 下午 06:04 寫道:
+ Please bulit-in kernel if you need early console support.
This driver needs to be built into the kernel to use early console
support.
ok
+ switch (dev->device) {
+ case FINTEK_F81504: /* 4 ports */
+
This totally reimplements the microframe scheduler in dwc2 to attempt to
handle periodic splits properly. The old code didn't even try, so this
was a significant effort since periodic splits are one of the most
complicated things in USB.
I've attempted to keep the old "don't use the microframe"
When setting up ISO and INT transfers dwc2 needs to specify whether the
transfer is for an even or an odd frame (or microframe if the controller
is running in high speed mode).
The controller appears to use this as a simple way to figure out if a
transfer should happen right away (in the current
Previously we needed to set the max_transfer_size to explicitly be 65535
because the old driver would detect that our hardware could support much
bigger transfers and then would try to do them. This wouldn't work
since the DMA alignment code couldn't support it.
Later in commit e8f8c14d9da7
In commit 94dfd7edfd5c ("USB: HCD: support giveback of URB in tasklet
context") support was added to give back the URB in tasklet context.
Let's take advantage of this in dwc2.
This speeds up the dwc2 interrupt handler considerably.
Note that this requires the change ("usb: dwc2: host: Add a
In preparation for future changes to the scheduler let's add some
tracing that makes it easy for us to see what's happening. By default
this tracing will be off.
By changing "core.h" you can easily trace to ftrace, the console, or
nowhere.
Signed-off-by: Douglas Anderson
This is a bit of catchall series for all the bug fix and performance
patches I've been working on over the last few months. Note that for
dwc2 we need to do LOTS in software and need super low interrupt
latency, so most performance improvements actually fix real bugs.
Patches are structured to
We're supposed to keep outstanding splits in order. Keep track of a
list of the order of splits and process channel interrupts in that
order.
Without this change and the following setup:
* Rockchip rk3288 Chromebook, using port ff54
-> Pluggable 7-port Hub with Charging (powered)
->
When poking around with USB devices with slub_debug enabled, I found
another obvious use after free. Turns out that in dwc2_hc_n_intr() I
was in a state when the contents of chan->qh was filled with 0x6b,
indicating that chan->qh was freed but chan still had a reference to
it.
Let's make sure
As documented in dwc2_calculate_dynamic_fifo(), host_rx_fifo_size should
really be:
2 * ((Largest Packet size / 4) + 1 + 1) + n
with n = number of host channel.
We have 9 host channels, so
2 * ((1024/4) + 2) + 9 = 516 + 9 = 525
We've got 960 / 972 total_fifo_size on rk3288 (and presumably on
All other host controllers who want aligned buffers for DMA do it a
certain way. Let's do that too instead of working behind the USB core's
back. This makes our interrupt handler not take forever and also rips
out a lot of code, simplifying things a bunch.
This also has the side effect of
This switches to vring_create_virtqueue, simplifying the driver and
adding DMA API support.
Signed-off-by: Andy Lutomirski
---
drivers/virtio/virtio_mmio.c | 67 ++--
1 file changed, 15 insertions(+), 52 deletions(-)
diff --git
Signed-off-by: Andy Lutomirski
---
drivers/virtio/virtio_ring.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index c169c6444637..305c05cc249a 100644
--- a/drivers/virtio/virtio_ring.c
+++
801 - 900 of 2364 matches
Mail list logo