nr_cpus=1, otherwise rcu_num_lvls
would yield zero, which is wrong;
The series is against "linux-rcu" tree "rcu/dev" branch
Thanks!
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Alexander Gordeev (9):
rcu: Panic if RCU tree can not accommodate all CPUs
rcu: Rem
parameter update) one might
assume a new value could overflow the value of RCU_NUM_LVLS.
However, that is not the case, since leaf-level fanout is only
permitted to increase, resulting in rcu_num_lvls possibly to
decrease.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexand
Current code suggests that introducing the extra level to
rcu_capacity[] array makes some of the arithmetic easier.
Well, in fact it appears rather confusing and unnecessary.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/t
enney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 12 ++--
kernel/rcu/tree.h | 2 --
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index fb5a4cb..31fa04a 100644
--- a/kernel/rcu/tree.c
+++ b/
Current code suggests that introducing the extra level to
rcu_capacity[] array makes some of the arithmetic easier.
Well, in fact it appears rather confusing and unnecessary.
Cc: "Paul E. McKenney"
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 16 +++-
1 file
levels.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 21 -
kernel/rcu/tree.h | 12
2 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 272829
Members rcu_state::levelcnt[] and rcu_state::levelspread[]
are only used at init. There is no reason to keep them
afterwards.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 27 +++
kernel/rcu/tree.h | 2 -
whole
num_rcu_lvl[].
Cc: "Paul E. McKenney"
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 24 ++--
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index d77b0fb..0e8c24d 100644
--- a/kernel/rcu/tree.c
++
This update makes arithmetic to calculate number of RCU nodes
more straight and easy to read.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.h| 17 -
kernel/rcu/tree_plugin.h | 4 ++--
2 files changed, 6
whole
num_rcu_lvl[].
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 24 ++--
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 9372d62..79c91d4 100644
--- a/
Local variable 'n' mimics 'nr_cpu_ids' while the both are
used within one function. There is no reason for 'n' to
exist whatsoever.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 14 +++---
run-
time then it indicates a serios problem elsewhere and should
be handled with a panic.
Cc: "Paul E. McKenney"
Cc: Steven Rostedt
Signed-off-by: Alexander Gordeev
---
kernel/rcu/tree.c | 29 +
1 file changed, 17 insertions(+), 12 deletions(-)
diff --gi
On Wed, Jun 03, 2015 at 08:18:32AM +0200, Alexander Gordeev wrote:
> This update simplifies rcu_init_geometry() code flow
> and makes calculation of the total number of rcu_node
> structures more easy to read.
>
> The update relies on the fact num_rcu_lvl[] is never
> accessed b
On Wed, Jun 03, 2015 at 08:18:33AM +0200, Alexander Gordeev wrote:
> Current code suggests that introducing the extra level to
> rcu_capacity[] array makes some of the arithmetic easier.
> Well, in fact it appears rather confusing and unnecessary.
Please, ignore this one.
> Cc: "
On Mon, Jun 01, 2015 at 11:37:21AM -0700, Paul E. McKenney wrote:
> On Fri, May 29, 2015 at 11:53:37AM +0200, Alexander Gordeev wrote:
> > Currently a condition when RCU tree is unable to accommodate
> > the configured number of CPUs is not permitted and causes
> > a fall
On Thu, Jan 14, 2021 at 06:10:12PM +0106, John Ogness wrote:
> Before commit b6cf8b3f3312 ("printk: add lockless ringbuffer"),
> msg_print_text() would only write up to size-1 bytes into the
> provided buffer. Some callers expect this behavior and append
> a terminator to returned string. In partic
On Tue, Aug 11, 2020 at 04:26:50PM +0900, Namhyung Kim wrote:
> Hello,
>
> On Mon, Aug 10, 2020 at 3:22 PM Alexander Gordeev
> wrote:
> >
> > It is currently assumed that each node contains at most
> > nr_cpus/nr_nodes CPUs and node CPU ranges do not overlap.
&g
whitespace
and comment inconsistencies.
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Arnaldo Carvalho de Melo
Cc: Mark Rutland
Cc: Alexander Shishkin
Cc: Jiri Olsa
Cc: Namhyung Kim
Signed-off-by: Alexander Gordeev
---
tools/perf/bench/numa.c | 35 +--
1 file c
:
- numa01* and numa02* test names left intact;
- "2x3-convergence" fix moved out to separate patch
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Arnaldo Carvalho de Melo
Cc: Mark Rutland
Cc: Alexander Shishkin
Cc: Jiri Olsa
Cc: Namhyung Kim
Alexander Gordeev (3):
perf bench
: Mark Rutland
Cc: Alexander Shishkin
Cc: Jiri Olsa
Cc: Namhyung Kim
Signed-off-by: Alexander Gordeev
---
tools/perf/bench/numa.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index 5797253
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Arnaldo Carvalho de Melo
Cc: Mark Rutland
Cc: Alexander Shishkin
Cc: Jiri Olsa
Cc: Namhyung Kim
Signed-off-by: Alexander Gordeev
---
tools/perf/bench/numa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/bench/numa.c b
In the context of the anonymous address space lifespan
description the 'mm_users' reference counter is confused
with 'mm_count'. I.e a "zombie" mm gets released when
"mm_count" becomes zero, not "mm_users".
Cc: Jonathan Corbet
C
On Mon, Nov 30, 2020 at 10:31:51AM -0800, Andy Lutomirski wrote:
> other arch folk: there's some background here:
>
> https://lkml.kernel.org/r/calcetrvxube8lfnn-qs+dzroqaiw+sfug1j047ybyv31sat...@mail.gmail.com
>
> On Sun, Nov 29, 2020 at 12:16 PM Andy Lutomirski wrote:
> >
> > On Sat, Nov 28, 2
On Thu, Dec 03, 2020 at 09:14:22AM -0800, Andy Lutomirski wrote:
>
>
> > On Dec 3, 2020, at 9:09 AM, Alexander Gordeev
> > wrote:
> >
> > On Mon, Nov 30, 2020 at 10:31:51AM -0800, Andy Lutomirski wrote:
> >> other arch folk: there's so
instruction. That
value does not necessarily match the kernel logical CPU
number.
Fixes: e979ce7bced2 ("s390/pci: provide support for CPU directed interrupts")
Signed-off-by: Alexander Gordeev
---
arch/s390/pci/pci_irq.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
di
On Fri, Feb 21, 2014 at 10:36:25PM +0100, Paolo Bonzini wrote:
> Il 21/02/2014 19:56, Alexander Gordeev ha scritto:
> >On Fri, Feb 21, 2014 at 06:11:29PM +0100, Paolo Bonzini wrote:
> >>It's okay, but it's not clear to me whether I should include this
&g
;re not going to improve drivers that can
not work with any number of MSI-Xs from a range, like this one.
> Ben.
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.k
On Fri, Feb 21, 2014 at 03:46:13PM -0800, Jens Axboe wrote:
> On Wed, Feb 19 2014, Alexander Gordeev wrote:
> > As result of deprecation of MSI-X/MSI enablement functions
> > pci_enable_msix() and pci_enable_msi_block() all drivers
> > using these two interfaces need to
ould be better without the assignment to total_vecs.
total_vecs is used as a loop limit few lines below.
> Ben.
>
> > msix_vecs = total_vecs;
>
> --
> Ben Hutchings
> I haven't lost my mind; it's backed up on tape somewhere.
--
Regards,
Alexander Gordeev
ag
On Fri, Feb 21, 2014 at 05:09:37PM +0100, Alexander Gordeev wrote:
> Ouch, I was too fast. Patch #3 introduces warning "unused variable ‘msix’"
> I can re-post if you want, but the rest is still is up to review ;)
Resent.
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To
failure.
Signed-off-by: Alexander Gordeev
Cc: Jon Mason
Cc: linux-...@vger.kernel.org
---
drivers/ntb/ntb_hw.c | 171 +++---
1 files changed, 106 insertions(+), 65 deletions(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index 53468f4
.
Signed-off-by: Alexander Gordeev
Cc: Greg Kroah-Hartman
Cc: Andy King
Cc: Dmitry Torokhov
Cc: linux-...@vger.kernel.org
---
drivers/misc/vmw_vmci/vmci_guest.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/misc/vmw_vmci/vmci_guest.c
b/drivers/misc/vmw_vmci
.
Signed-off-by: Alexander Gordeev
Cc: Roland Dreier
Cc: Sean Hefty
Cc: Hal Rosenstock
Cc: linux-r...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/infiniband/hw/mthca/mthca_main.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/infiniband/hw/mthca
nd for the updated patch - it is embarrassing
I have not addressed all pci_enable_msix()'s.
I will keep the two patches separate to ease bisecting -
I am going to repost the patches on top of scsi tree.
Cheers!
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this l
.
Signed-off-by: Alexander Gordeev
Cc: Naresh Kumar Inna
Cc: Arvind Bhushan
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/csiostor/csio_hw.h |2 +-
drivers/scsi/csiostor/csio_isr.c | 22 +-
2 files changed, 10 insertions(+), 14 deletions
.
Signed-off-by: Alexander Gordeev
Cc: Hiral Patel
Cc: Suma Ramars
Cc: Brian Uchino
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/fnic/fnic_isr.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_isr.c b/drivers/scsi
Currently the driver falls back to INTx mode when MSI-X
initialization failed. This is a suboptimal behaviour
for chips that also support MSI. This update changes that
behaviour and falls back to MSI mode in case MSI-X mode
initialization failed.
Signed-off-by: Alexander Gordeev
Cc: "Step
When a call to request_irq() failed pm8001_setup_msix()
still returns the success. This udate fixes the described
misbehaviour.
Signed-off-by: Alexander Gordeev
Cc: xjtu...@gmail.com
Cc: lindar_...@usish.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
Acked-by: Jack Wang
.
Signed-off-by: Alexander Gordeev
Cc: xjtu...@gmail.com
Cc: lindar_...@usish.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/pm8001/pm8001_init.c | 39 +++--
1 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/drivers
.
Signed-off-by: Alexander Gordeev
Cc: "Stephen M. Cameron"
Cc: iss_storage...@hp.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/hpsa.c | 10 ++
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hp
.
Signed-off-by: Alexander Gordeev
Cc: Arvind Kumar
Cc: pv-driv...@vmware.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/vmw_pvscsi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c
index
.
Signed-off-by: Alexander Gordeev
Cc: Vikas Chaudhary
Cc: iscsi-dri...@qlogic.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/qla4xxx/ql4_nx.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi
.
Signed-off-by: Alexander Gordeev
Cc: Anil Ravindranath
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/pmcraid.c | 13 ++---
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index c06af7f..6d0f208
message code 0x00c6 preserved, although it is reported
after successful call to pci_enable_msix_range(), not before
possibly unsuccessful call to pci_enable_msix(). Consumers
of the error code should not notice the difference.
Signed-off-by: Alexander Gordeev
Cc: qla2xxx-upstr...@qlogic.com
Cc
Signed-off-by: Alexander Gordeev
Cc: Anil Ravindranath
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/pmcraid.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index be8ce54..c06af7f 100644
There is no need to call pci_disable_msix() in case
the previous call to pci_enable_msix() failed
Signed-off-by: Alexander Gordeev
Cc: James Smart
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
Acked-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c |9 ++---
1 files
.
Signed-off-by: Alexander Gordeev
Cc: Neela Syam Kolli
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/megaraid/megaraid_sas_base.c | 20 +++-
1 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b
.
Signed-off-by: Alexander Gordeev
Cc: Nagalakshmi Nandigama
Cc: Sreekanth Reddy
Cc: supp...@lsi.com
Cc: dl-mptfusionli...@lsi.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/mpt3sas/mpt3sas_base.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
.
Signed-off-by: Alexander Gordeev
Cc: Nagalakshmi Nandigama
Cc: Sreekanth Reddy
Cc: supp...@lsi.com
Cc: dl-mptfusionli...@lsi.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/mpt2sas/mpt2sas_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff
On Thu, Jan 30, 2014 at 03:06:30PM +0100, Alexander Gordeev wrote:
> On Wed, Jan 29, 2014 at 02:26:52PM +0100, Alexander Gordeev wrote:
> > > Do you want me to rediff your patches on top of this one,
> > > or do you want to keep the entire MSI series together
> > > an
.
Signed-off-by: Alexander Gordeev
Cc: Jayamohan Kallickal
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/be2iscsi/be_main.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
.
Signed-off-by: Alexander Gordeev
Cc: Lukasz Dorau
Cc: Maciej Patelczyk
Cc: Dave Jiang
Cc: intel-linux-...@intel.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/isci/init.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/isci
.
Signed-off-by: Alexander Gordeev
Cc: James Smart
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/lpfc/lpfc_init.c | 45 ++--
1 files changed, 20 insertions(+), 25 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers
Currently the driver fails to analize MSI-X re-enablement
status on resuming and always assumes the success. This
update checks the MSI-X initialization result and fails
to resume if MSI-Xs re-enablement failed.
Signed-off-by: Alexander Gordeev
---
drivers/scsi/megaraid/megaraid_sas_base.c
There is no need to call pci_disable_msix() in case
the previous call to pci_enable_msix() failed
Signed-off-by: Alexander Gordeev
Cc: Naresh Kumar Inna
Cc: Arvind Bhushan
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/csiostor/csio_isr.c |4 +---
1 files
.
Signed-off-by: Alexander Gordeev
Cc: Anil Gurumurthy
Cc: Vijaya Mohan Guvva
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/bfa/bfad.c | 18 +-
1 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa
Signed-off-by: Alexander Gordeev
Cc: Anil Gurumurthy
Cc: Vijaya Mohan Guvva
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/bfa/bfad.c | 18 --
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi
sionli...@lsi.com
Cc: qla2xxx-upstr...@qlogic.com
Cc: iscsi-dri...@qlogic.com
Cc: pv-driv...@vmware.com
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
Alexander Gordeev (23):
be2iscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()
bfa: Do not call pci_enable_msix() after
Function pci_enable_msix() should not be called in case
it threw a negative errno from a previous call.
Signed-off-by: Alexander Gordeev
Cc: Anil Gurumurthy
Cc: Vijaya Mohan Guvva
Cc: linux-s...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/scsi/bfa/bfad.c | 48
On Mon, Feb 24, 2014 at 02:18:31PM -0500, Konrad Rzeszutek Wilk wrote:
> On Fri, Feb 21, 2014 at 05:53:40PM +0100, Alexander Gordeev wrote:
> > As result of deprecation of MSI-X/MSI enablement functions
> > pci_enable_msix() and pci_enable_msi_block() all drivers
> > using
On Mon, Feb 24, 2014 at 09:02:00AM +0100, Alexander Gordeev wrote:
> This series is against James Bottomley's SCSI tree [1], but it needs
> commit f7fc32c ("PCI/MSI: Add pci_enable_msi_exact() and
> pci_enable_msix_exact()") from from Bjorn Helgaas's PCI tree [2]:
Th
Function pci_enable_msix_exact() is a variation of
pci_enable_msix_range() that allows a device driver
to request a particular number of MSI-X interrupts,
rather than any number within a specified range.
Signed-off-by: Alexander Gordeev
Cc: Jens Axboe
Cc: Bartlomiej Zolnierkiewicz
Cc: Kyungmin
pdev);
- rv = pci_enable_msi_range(pdev, 1, 1);
- if (rv < 0) {
+ rv = pci_enable_msi(pdev);
+ if (rv) {
dev_warn(&pdev->dev,
"Unable to enable MSI interrupt.\n");
goto msi_initialize_err;
--
1.7.7.6
Currently the driver falls back to INTx mode when MSI-X
initialization failed. This is a suboptimal behaviour
for chips that also support MSI. This update changes that
behaviour and falls back to MSI mode in case MSI-X mode
initialization failed.
Signed-off-by: Alexander Gordeev
Cc: Mike Miller
- I am waiting for Intel guys to clarify if they want to
route it thru their tree. If not, I will post the 'nvme' patch as
a follow-up to this series.
Thanks!
Cc: Jens Axboe
Cc: Mike Miller
Cc: iss_storage...@hp.com
Cc: linux-...@vger.kernel.org
Alexander Gordeev (2):
cciss: Fall
.
Signed-off-by: Alexander Gordeev
Cc: Mike Miller
Cc: iss_storage...@hp.com
Cc: Jens Axboe
Cc: linux-...@vger.kernel.org
---
drivers/block/cciss.c |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 73894ca..4595c22 100644
Hi Jens,
Any feedback on these?
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Pleas
On Thu, Oct 24, 2013 at 11:51:58AM +0100, Tejun Heo wrote:
Hi Tejun,
> I haven't looked into any details but, if the above works for most use
> cases, it looks really good to me.
Could you please take a look (at least) at patches 10 and 12?
> tejun
--
Regards,
Alexander
(struct percpu_ida *pool, int state)
spin_unlock(&pool->lock);
local_irq_restore(flags);
+ if (tags->nr_free)
+ wake_up(&pool->wait);
+
if (tag >= 0 || state == TASK_RUNNING)
On Wed, Mar 12, 2014 at 08:22:22AM +0100, Bart Van Assche wrote:
> On 03/11/14 21:48, Alexander Gordeev wrote:
> > On Tue, Mar 11, 2014 at 07:10:18PM +0100, Bart Van Assche wrote:
> >>> I assume the BUG() above hits? If so, I am failing to understand how
> >>> t
On Thu, Mar 13, 2014 at 09:28:20AM -0600, Jens Axboe wrote:
> On 03/12/2014 10:12 PM, Bjorn Helgaas wrote:
> >On Wed, Feb 26, 2014 at 10:02:40AM +0100, Alexander Gordeev wrote:
> >>Changes since v1:
> >> - cciss: patch #1: a weird 'goto' removed;
> >&
.
Signed-off-by: Alexander Gordeev
Cc: Keith Busch
Cc: Matthew Wilcox
Cc: Jens Axboe
Cc: linux-n...@lists.infradead.org
Cc: linux-...@vger.kernel.org
Reviewed-by: Keith Busch
---
drivers/block/nvme-core.c | 33 +
1 files changed, 9 insertions(+), 24 deletions
On Mon, Mar 03, 2014 at 05:12:25PM -0700, Jon Mason wrote:
> On Fri, Feb 21, 2014 at 04:49:31PM +0100, Alexander Gordeev wrote:
> > This is an cleanup effort to make ntb_setup_msix() more
> > readable - use ntb_setup_bwd_msix() to init MSI-Xs on
> > BWD hardware and ntb_setu
pci_enable_msi_exact()
and pci_enable_msix_range() or pci_enable_msix_exact()
interfaces.
Alexander Gordeev (4):
ioat: Use pci_enable_msix_exact() instead of pci_enable_msix()
portdrv: Use pci_enable_msix_exact() instead of pci_enable_msix()
tsi721: Use pci_enable_msix_exact() instead of pci_enable_msix
.
This update also cleans up a bit xhci_setup_msi() and
xhci_setup_msix() returning of success.
Signed-off-by: Alexander Gordeev
Cc: Sarah Sharp
Cc: Greg Kroah-Hartman
Cc: linux-...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/usb/host/xhci.c |7 ---
1 files changed, 4
.
Signed-off-by: Alexander Gordeev
Cc: Bjorn Helgaas
Cc: linux-...@vger.kernel.org
---
drivers/pci/pcie/portdrv_core.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index 986f8ea..0b1efb2 100644
--- a
.
Signed-off-by: Alexander Gordeev
Cc: Matt Porter
Cc: Alexandre Bounine
Cc: linux-...@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 11 +++
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/rapidio/devices/tsi721.c b/drivers/rapidio/devices/tsi721.c
index
.
Signed-off-by: Alexander Gordeev
Cc: Dan Williams
Cc: Vinod Koul
Cc: dmaeng...@vger.kernel.org
Cc: linux-...@vger.kernel.org
---
drivers/dma/ioat/dma.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c
index 4e3549a..b76c148
ct() is a canonical zero/-errno variant.
The former is being phased out in favor of the latter.
In case of 'ioat' there (should be) no difference.
HTH.
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
th
On Fri, Feb 21, 2014 at 04:33:25PM -0700, Jon Mason wrote:
> On Fri, Feb 21, 2014 at 04:49:29PM +0100, Alexander Gordeev wrote:
> > Signed-off-by: Alexander Gordeev
> > Cc: Jon Mason
> > Cc: linux-...@vger.kernel.org
>
> Good catch. Applied.
Hi Jon,
If the o
=implicit-function-declaration]
I should have to clarify it I think. Do you build on top of 3.14-rc4?
Thanks!
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@
declaration of function ‘pci_enable_msix_exact’
> > > [-Werror=implicit-function-declaration]
> >
> > I should have to clarify it I think. Do you build on top of 3.14-rc4?
>
> Not yet. Is the required patch in there?
Yep - commit 302a252 ("PCI/MSI: Add pci_enable_m
ck is pending) I am putting
linux-pci on CC just to let you know what is happening.
> Bjorn
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo i
On Tue, Jan 21, 2014 at 04:02:26PM +0100, Alexander Gordeev wrote:
> Scanning ata_port::qc_allocated bitmask for free tags has
> been a performance bottleneck due to the cache line bouncing.
> This update replaces ata_port::qc_allocated bitmask with
> optimized for parallel access per
Function pci_enable_msi_range() is used in examples where
pci_enable_msix_range() should have been used instead.
Reported-by: Bjorn Helgaas
Cc: linux-...@vger.kernel.org
Signed-off-by: Alexander Gordeev
---
Documentation/PCI/MSI-HOWTO.txt | 12 ++--
1 files changed, 6 insertions
net...@vger.kernel.org)
Hi Bjorn,
I propose pci_enable_msix_exact(pdev, entries, nvec) rather than
pci_enable_msix_fixed().
Do you prefer this one to return 0/-errno or nvec/-errno?
Do you want pci_enable_msi_exact() in addition to pci_enable_msix_exact()?
Thanks!
> Bjorn
--
Regards,
Alexan
patches
altogether, so up to you guys. The wil6210 patch is already in your pci/msi
branch though.
> Bjorn
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.
You are on PCI guard, no worries ;)
> Bjorn
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.
le and then
> to David Miller. To avoid conflicts I would prefer to take ath10k
> patches to my tree whenever possible.
CC'ing Vladimir, in case he decides to do the same with wil6210.
> --
> Kalle Valo
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscrib
success, which indicates MSI or MSI-X
interrupts have been successfully allocated.
Cc: linux-...@vger.kernel.org
Signed-off-by: Alexander Gordeev
---
Documentation/PCI/MSI-HOWTO.txt | 86 ++-
include/linux/pci.h | 20 +
2 files changed
On Tue, Feb 04, 2014 at 12:16:48PM +0100, Alexander Gordeev wrote:
> Function pci_enable_msix() should not be called again in
> case it threw a negative errno.
Anil, Vijaya,
Any feedback on bfa patches?
Thanks!
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from thi
On Tue, Feb 04, 2014 at 12:16:57PM +0100, Alexander Gordeev wrote:
Hi James,
Any feedback?
Thanks!
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More
On Tue, Feb 04, 2014 at 12:17:00PM +0100, Alexander Gordeev wrote:
> As result of deprecation of MSI-X/MSI enablement functions
> pci_enable_msix() and pci_enable_msi_block() all drivers
> using these two interfaces need to be updated to use the
> new pci_enable_msi
On Tue, Feb 04, 2014 at 12:17:04PM +0100, Alexander Gordeev wrote:
Anil,
Any feedback?
Thanks!
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majo
On Tue, Feb 04, 2014 at 12:17:07PM +0100, Alexander Gordeev wrote:
> As result of deprecation of MSI-X/MSI enablement functions
> pci_enable_msix() and pci_enable_msi_block() all drivers
> using these two interfaces need to be updated to use the
> new pci_enable_msi
On Tue, Feb 04, 2014 at 12:17:05PM +0100, Alexander Gordeev wrote:
> As result of deprecation of MSI-X/MSI enablement functions
> pci_enable_msix() and pci_enable_msi_block() all drivers
> using these two interfaces need to be updated to use the
> new pci_enable_msi
On Tue, Jan 28, 2014 at 09:38:46AM +0100, Alexander Gordeev wrote:
> Here are few fixes to the code that caught my eye.
Hi Keith, Matthew,
Any feedback?
Thanks!
--
Regards,
Alexander Gordeev
agord...@redhat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel
On Tue, Feb 04, 2014 at 12:16:46PM +0100, Alexander Gordeev wrote:
> As result of deprecation of MSI-X/MSI enablement functions
> pci_enable_msix() and pci_enable_msi_block() all drivers
> using these two interfaces need to be updated to use the
> new pci_enable_msi
Signed-off-by: Alexander Gordeev
Cc: Jens Axboe
Cc: Bartlomiej Zolnierkiewicz
Cc: Kyungmin Park
Cc: linux-...@vger.kernel.org
---
drivers/block/skd_main.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index
Signed-off-by: Alexander Gordeev
Cc: Mike Miller
Cc: iss_storage...@hp.com
Cc: linux-...@vger.kernel.org
---
drivers/block/cciss.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 036e8ab..fc5b0a4 100644
--- a
301 - 400 of 1156 matches
Mail list logo