Mikulas,
Thank you for your reviewing.
I will reply to polling issue first.
For the rest, I will reply later.
> Polling for state
> -
>
> Some of the kernel threads that you spawn poll for data in one-second
> interval - see migrate_proc, modulator_proc, recorder_proc, sync_pro
Get the transfer parameters from urb.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 24
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
index 9a
The callback is always the same, we can just call it directly.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 354 ++--
1 file changed, 111 insertions(+), 243 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/sta
Hi,
Some more cleanups for octeon-usb. No functional changes. Tested on
EdgeRouter Lite + USB mass storage.
Aaro Koskinen (14):
staging: octeon-usb: merge cvmx-usb into octeon-hcd
staging: octeon-usb: eliminate cvmx_usb_internal_state
staging: octeon-usb: inline cvmx_usb_set_status
stagin
Get the transfer parameters from urb.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 33 ++---
1 file changed, 6 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
Get the transfer parameters from urb.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 56 ++---
1 file changed, 10 insertions(+), 46 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.
Get the transfer parameters from urb.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 26 +-
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
index
Eliminate cvmx_usb_internal_state, just use cvmx_usb_state everywhere.
This also enables to allocate only the needed amount of data for the
USB internal state, instead of always allocating 64 KB.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 210 -
Call port change callback directly.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 132
1 file changed, 31 insertions(+), 101 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
Eliminate submit_handle, use a direct reference instead.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 232 +---
1 file changed, 90 insertions(+), 142 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/oc
Use ep->hcpriv for pipe handle and urb->hcpriv for submit handle,
instead of packing both into the same field.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/octeon-usb/octe
Eliminate pipe_handle, use a direct reference instead.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 221 +---
1 file changed, 92 insertions(+), 129 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octe
URB is always passed, so we can use strong typing here.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 43 +++--
1 file changed, 19 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octe
Split a long line and remove redundant parenthesis.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
index 368c7f7..185
Inline a trivial function.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon-usb/octeon-hcd.c | 32 +---
1 file changed, 5 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c
b/drivers/staging/octeon-usb/octeon-hcd.c
index fa238
Hello, I am Mr. M. Barlow from Paris, France. I have been advised to contact
you regarding my business investment in your country. For urgent response and
more details, kindly get back to me via this E-mail: bc82...@gmail.com or
Telephone number below. Thank you as I wait for your response.
Mr.
Module parameter max_rx_cpus has off-by-one error. Fix that.
Signed-off-by: Aaro Koskinen
---
drivers/staging/octeon/ethernet-rx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/octeon/ethernet-rx.c
b/drivers/staging/octeon/ethernet-rx.c
index 0d539eb..0315f
Currently the driver assumes that CPU 0 is handling all the hard IRQs.
This is wrong in Linux SMP systems where user is allowed to assign to
hardware IRQs to any CPU. The driver will stop working if user sets
smp_affinity so that interrupts end up being handled by other than CPU
0. The patch fixes
Hi,
This is a second version of two patches sent earlier:
http://marc.info/?t=13803980061&r=1&w=2
http://marc.info/?t=13803980062&r=1&w=2
The patch 1 is changed so that it won't touch the init/probe path. The
driver will still fail if CPU0 is not around, but that was not a
On Sun, Oct 6, 2013 at 11:53 AM, Michael Opdenacker
wrote:
> This patch proposes to remove the use of the IRQF_DISABLED flag
>
> It's a NOOP since 2.6.35 and it will be removed one day.
>
> Signed-off-by: Michael Opdenacker
Acked-by: Lad, Prabhakar
Regrads,
--Prabhakar Lad
On Mi, 2013-10-02 at 14:29 +, KY Srinivasan wrote:
>
> > This patch adds a pci stub driver to hyper-fb. The hyperv framebuffer
> > driver will bind to the pci device then, so linux kernel and userspace
> > know there is a proper kernel driver for the device active. lspci shows
> > this for e
21 matches
Mail list logo