VFIO_PCI_ERR_IRQ_INDEX,
VFIO_PCI_REQ_IRQ_INDEX,
+ VFIO_PCI_RESUME_IRQ_INDEX,
VFIO_PCI_NUM_IRQS
};
--
Sincerely,
Chen Fan
Signed-off-by: Chen Fan
Cc: triv...@kernel.org
---
kernel/irq/irqdesc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index 0409da0..dc0bea0 100644
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -466,7 +466,7
Oh, it's my fault to send this wrong patch, so sorry for that. pls
ignore this patch.
I has tested the new patch, it works fine on my environment. I have
resent it.
Thanks,
Chen
On 02/15/2016 11:25 AM, Chen Fan wrote:
Per the x86-specific footnote to PCI spec r3.0, sec 6.2.4, the valu
q() fails. But we
still need this patch because request_irq() may succeed or fail depending
on other devices in the system. If request_irq() fails, i801_smbus will
work by falling back to polling, but if it succeeds, i801_smbus won't work
because it expects interrupts that it may not receiv
q() fails. But we
still need this patch because request_irq() may succeed or fail depending
on other devices in the system. If request_irq() fails, i801_smbus will
work by falling back to polling, but if it succeeds, i801_smbus won't work
because it expects interrupts that it may not receiv
q() fails. But we
still need this patch because request_irq() may succeed or fail depending
on other devices in the system. If request_irq() fails, i801_smbus will
work by falling back to polling, but if it succeeds, i801_smbus won't work
because it expects interrupts that it may not receiv
On 01/29/2016 11:37 AM, Rafael J. Wysocki wrote:
On Thursday, January 28, 2016 02:57:36 PM Bjorn Helgaas wrote:
Hi Chen,
Thanks a lot for persevering and working this all out!
On Thu, Jan 28, 2016 at 09:35:46AM +0800, Chen Fan wrote:
In our X86 environment, when enable Secure boot, we found
rq+0xcc/0x170
i801_probe+0x32f/0x508 [i2c_i801]
local_pci_probe+0x45/0xa0
i801_smbus :00:1f.3: Failed to allocate irq 255: -16
i801_smbus: probe of :00:1f.3 failed with error -16
Signed-off-by: Chen Fan
Signed-off-by: Thomas Gleixner
Cc: Bjorn Helgaas
---
drivers/acpi/pci_
On 01/28/2016 06:32 AM, Bjorn Helgaas wrote:
On Wed, Jan 27, 2016 at 10:13:36AM +0100, Thomas Gleixner wrote:
On Tue, 26 Jan 2016, Bjorn Helgaas wrote:
On Tue, Jan 26, 2016 at 04:48:25PM +0100, Thomas Gleixner wrote:
Right. So we could certainly do something like this INVALID_IRQ thingy, but
rq+0xcc/0x170
i801_probe+0x32f/0x508 [i2c_i801]
local_pci_probe+0x45/0xa0
i801_smbus :00:1f.3: Failed to allocate irq 255: -16
i801_smbus: probe of :00:1f.3 failed with error -16
Signed-off-by: Chen Fan
---
drivers/i2c/busses/i2c-i801.c | 5 +
1 file changed, 5 insertions(+)
diff --
see each patch comments.
Chen Fan (2):
pci: add an irq_invalid flag to specify the IRQ is not connected
i801_smbus: fix unavailable irq number 255 reported by BIOS
drivers/acpi/pci_irq.c| 10 ++
drivers/i2c/busses/i2c-i801.c | 5 +
include/linux/pci.h | 1
nd 254 are reserved."
So we add an irq_invalid flag to tell driver that the device wire
is not connected. then the driver could know whether it should call
request_irq().
Signed-off-by: Chen Fan
---
drivers/acpi/pci_irq.c | 10 ++
include/linux/pci.h| 1 +
2 files changed,
On 01/26/2016 04:26 PM, Thomas Gleixner wrote:
On Mon, 25 Jan 2016, Bjorn Helgaas wrote:
On Mon, Jan 25, 2016 at 02:59:38PM +0800, Chen Fan wrote:
i801_smbus :00:1f.3: PCI INT C: no GSI
i801_smbus :00:1f.3: Failed to allocate irq 255: -16
i801_smbus: probe of :00:1f.3 failed with
On 01/26/2016 04:58 AM, Bjorn Helgaas wrote:
[+cc Thomas]
On Mon, Jan 25, 2016 at 02:59:38PM +0800, Chen Fan wrote:
In our environment, when enable Secure boot, we found an abnormal
phenomenon as following call trace shows. after investigation, we
found the firmware assigned an irq number 255
ed with error -16
[ 33.180145] ixgbe :5a:00.0: Multiq[ 33.240538] ixgbe :5a:00.0:
(PCI Express:03:e0
[ 33.280826] ixgbe :5a:00.0: MAC: 3, PHY: 0, PBA No: 00-000
Signed-off-by: Chen Fan
---
arch/x86/include/asm/irq_vectors.h | 2 ++
drivers/acpi/pci_irq.c
On 01/21/2016 01:12 AM, Bjorn Helgaas wrote:
On Wed, Jan 20, 2016 at 12:21:24PM +0800, Chen Fan wrote:
On 01/20/2016 08:24 AM, Bjorn Helgaas wrote:
[+cc Jiang]
Hi Chen,
On Tue, Jan 19, 2016 at 02:43:30PM +0100, Rafael J. Wysocki wrote:
On Tuesday, January 19, 2016 09:45:13 AM Chen Fan
On 09/29/2015 12:37 AM, Eric W. Biederman wrote:
Oleg Nesterov writes:
On 09/25, Konstantin Khlebnikov wrote:
+struct ns_common *proc_ns_fdget(int fd, int nstype, struct fd *fd_ref)
{
- struct file *file;
+ struct ns_common *ns;
+ struct fd f;
- file = fget(fd);
-
On 09/24/2015 09:53 PM, Konstantin Khlebnikov wrote:
pid_t getvpid(pid_t pid, int source, int target);
This syscall converts pid from source pid-namespace into pid in target
pid-namespace. Namespaces are defined by file descriptors pointing to
namespace entries in proc (/proc/[pid]/ns/pid). If
On 09/17/2015 12:31 AM, Serge E. Hallyn wrote:
On Wed, Sep 16, 2015 at 09:49:02AM -0500, Eric W. Biederman wrote:
"Serge E. Hallyn" writes:
On Wed, Sep 16, 2015 at 10:37:33AM +0300, Konstantin Khlebnikov wrote:
On 15.09.2015 20:41, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubun
Signed-off-by: Chen Fan
---
fs/eventfd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 4b0a226..f550f8e 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -45,10 +45,10 @@ struct eventfd_ctx {
*
* This function is supposed to be
Cc: Alexander Viro
On Tue, 2015-01-06 at 09:17 +0800, Chen Fan wrote:
> Cc: Davide Libenzi
> Signed-off-by: Chen Fan
> ---
>
> fs/eventfd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/eventfd.c b/fs/eventfd.c
> index 4b0a226
Cc: Davide Libenzi
Signed-off-by: Chen Fan
---
fs/eventfd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 4b0a226..f550f8e 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -45,10 +45,10 @@ struct eventfd_ctx {
*
* This function is
Signed-off-by: Chen Fan
---
fs/eventfd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 4b0a226..f550f8e 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -45,10 +45,10 @@ struct eventfd_ctx {
*
* This function is supposed to be called
fix the 'vcpi' typos when apic_debug is enabled.
Signed-off-by: Chen Fan
---
arch/x86/kvm/lapic.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index dec48bf..ce736ec 100644
--- a/arch/x86/kvm/lapic.c
+++ b/ar
24 matches
Mail list logo