Krzysztof Kozlowski
58184e95e9
ntb: intel: constify ioreadX() iomem argument (as in generic implementation)
...
The ioreadX() helpers have inconsistent interface. On some architectures
void *__iomem address argument is a pointer to const, on some not.
Implementations of ioreadX() do not modify the memory under the address so
they can be converted to a "const" version for const-safety and
consistency among architectures.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Dave Jiang <dave.jiang@intel.com >
Cc: Allen Hubbe <allenbh@gmail.com >
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Geert Uytterhoeven <geert@linux-m68k.org >
Cc: Helge Deller <deller@gmx.de >
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com >
Cc: Jason Wang <jasowang@redhat.com >
Cc: Jon Mason <jdmason@kudzu.us >
Cc: Kalle Valo <kvalo@codeaurora.org >
Cc: Matt Turner <mattst88@gmail.com >
Cc: Michael Ellerman <mpe@ellerman.id.au >
Cc: "Michael S. Tsirkin" <mst@redhat.com >
Cc: Paul Mackerras <paulus@samba.org >
Cc: Richard Henderson <rth@twiddle.net >
Cc: Rich Felker <dalias@libc.org >
Cc: Yoshinori Sato <ysato@users.sourceforge.jp >
Link: http://lkml.kernel.org/r/20200709072837.5869-4-krzk@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2020-08-14 19:56:57 -07:00
Dave Jiang
26bfe3d0b2
ntb: intel: Add Icelake (gen4) support for Intel NTB
...
Adding 4th generation Intel NTB support bits. There are a lot of common
parts that the gen4 NTB has with gen3 NTB on Skylake. The commonalities are
reused in gen4 Icelake NTB.
Signed-off-by: Dave Jiang <dave.jiang@intel.com >
Signed-off-by: Jon Mason <jdmason@kudzu.us >
2020-04-20 10:16:23 -04:00
Dave Jiang
6c1e8ab2d1
ntb: intel: change references of skx to gen3
...
Change all references to skx to gen3 NTB.
Signed-off-by: Dave Jiang <dave.jiang@intel.com >
Signed-off-by: Jon Mason <jdmason@kudzu.us >
2018-06-11 15:20:59 -04:00
Dave Jiang
f6e51c354b
ntb: intel: split out the gen3 code
...
Move the Intel hw gen3 code to its own source file. The ntb_hw_intel.c was
getting too large and makes it hard to maintain with future hardware
changes.
Signed-off-by: Dave Jiang <dave.jiang@intel.com >
Signed-off-by: Jon Mason <jdmason@kudzu.us >
2018-06-11 15:20:59 -04:00
Dave Jiang
a9065055ed
ntb: intel: header definitions refactor
...
Break out the generation specific definitions to different headers
Signed-off-by: Dave Jiang <dave.jiang@intel.com >
Signed-off-by: Jon Mason <jdmason@kudzu.us >
2018-06-11 15:20:59 -04:00