Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357978

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

From Or Gerlitz <gerlitz.or@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"
Date 2016-03-15 11:50 +0100
Message-ID <rcUI2-Pw-1@gated-at.bofh.it> (permalink)
References <rcUym-Lp-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 15, 2016 at 12:19 PM, Alexey Kardashevskiy <aik@ozlabs.ru> wrote:
> This reverts commit 85743f1eb34548ba4b056d2f184a3d107a3b8917.
>
> Without this revert, POWER "pseries" KVM guests with a VF passed to a guest
> using VFIO fail to bring the driver up:
>
> mlx4_core: Mellanox ConnectX core driver v2.2-1 (Feb, 2014)
> mlx4_core: Initializing 0000:00:00.0
> mlx4_core 0000:00:00.0: enabling device (0000 -> 0002)
> mlx4_core 0000:00:00.0: Detected virtual function - running in slave mode
> mlx4_core 0000:00:00.0: Sending reset
> mlx4_core 0000:00:00.0: Sending vhcr0
> mlx4_core 0000:00:00.0: HCA minimum page size:512
> mlx4_core 0000:00:00.0: UAR size:4096 != kernel PAGE_SIZE of 65536
> mlx4_core 0000:00:00.0: Failed to obtain slave caps

> Both host and guest use 64K system pages.
>
> How to fix this properly? Thanks.

The commit message says:

"[..] Regarding backward compatibility in SR-IOV, if hypervisor has
this new code, the virtual OS must be updated. [...]"


Or.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size" Alexey Kardashevskiy <aik@ozlabs.ru> - 2016-03-15 11:40 +0100
  Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Or Gerlitz <gerlitz.or@gmail.com> - 2016-03-15 11:50 +0100
    Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Christoph Hellwig <hch@infradead.org> - 2016-03-15 13:30 +0100
      Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Or Gerlitz <gerlitz.or@gmail.com> - 2016-03-15 15:30 +0100
        Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Christoph Hellwig <hch@infradead.org> - 2016-03-15 16:40 +0100
          Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Alexey Kardashevskiy <aik@ozlabs.ru> - 2016-03-16 03:00 +0100
    Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Alexey Kardashevskiy <aik@ozlabs.ru> - 2016-03-16 03:10 +0100
      Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Eli Cohen <eli@mellanox.com> - 2016-03-16 06:30 +0100
        Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Alexey Kardashevskiy <aik@ozlabs.ru> - 2016-03-16 06:50 +0100
          Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Eli Cohen <eli@mellanox.com> - 2016-03-16 07:30 +0100
            Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Alexey Kardashevskiy <aik@ozlabs.ru> - 2016-03-16 09:40 +0100
              Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Or Gerlitz <gerlitz.or@gmail.com> - 2016-03-16 10:50 +0100
                Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Alexey Kardashevskiy <aik@ozlabs.ru> - 2016-03-17 02:50 +0100
                Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to  4KB regardless of system page size" Or Gerlitz <gerlitz.or@gmail.com> - 2016-03-17 06:10 +0100

csiph-web