On 09/05/2016 03:36 PM, Aleksey Makarov wrote:
> 'ARM Server Base Boot Requirements' [1] mentions SPCR (Serial Port Console
> Redirection Table) [2] as a mandatory ACPI table that specifies the
> configuration of serial console.
>
> Move "earlycon" early_pa
s to":
https://lkml.kernel.org/r/cajz5v0gzjtfzig7neumr83+j2dgb+oa8gnr2i45zqznfv_h...@mail.gmail.com
I asked the ARM64 people, they said they prefer Rafael to do that:
https://lkml.kernel.org/r/20160909151758.ga11...@arm.com
I interpreted the silence from Rafael as unwillin
We want to use the table upgrade feature in ARM64.
Introduce a new configuration option that allows that.
Signed-off-by: Aleksey Makarov
---
arch/x86/Kconfig | 1 +
drivers/acpi/Kconfig | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86
The constant that defines max phys address where the new upgraded
ACPI table should be allocated is arch-specific. Move it to
Signed-off-by: Aleksey Makarov
---
arch/x86/include/asm/acpi.h | 2 ++
drivers/acpi/tables.c | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git
acpi_table_upgrade() and acpi_boot_table_init() are called so I
think that we can just move this mapping one function earlier too.
Signed-off-by: Jon Masters
Signed-off-by: Aleksey Makarov
Acked-by: Will Deacon
---
arch/arm64/Kconfig| 1 +
arch/arm64/include/asm/acpi.h | 2 ++
arch/arm64
Hi Rafael,
You said you are ok with the ACPI part of the patches [4].
The patchset has received ACK from Will [5]. Can you consider pulling it
please?
Thank you
Aleksey Makarov
This patchset adds support for ACPI_TABLE_UPGRADE for ARM64
These patches help with:
1). During development of a
removes the unneeded
wraps early_acpi_table_init() and early_initrd_acpi_init().
Signed-off-by: Aleksey Makarov
Acked-by: Lv Zheng
---
arch/x86/kernel/setup.c | 9 +
drivers/acpi/tables.c | 14 --
include/linux/acpi.h| 8 ++--
3 files changed, 11 insertions(+), 20
The new memory allocated in acpi_table_initrd_init() is used to
copy the upgraded tables to it. So it should be mapped with
early_memunmap() instead of early_ioremap().
This is critical for ARM.
Signed-off-by: Aleksey Makarov
Acked-by: Lv Zheng
---
drivers/acpi/tables.c | 6 +++---
1 file
On 06/02/2016 09:02 PM, Aleksey Makarov wrote:
>
> On 05/20/2016 04:03 PM, Aleksey Makarov wrote:
Hi Russell,
Can you review this patch please?
Thank you
Aleksey Makarov
>> This patch adds function pl011_console_match() that implements
>> method match of struct console.
On 05/20/2016 04:03 PM, Aleksey Makarov wrote:
Hi Rafael,
Can you consider this patch set for queuing up please?
You approved ACPI part. I believe it's 2/4 and 3/4.
https://lkml.kernel.org/g/CAJZ5v0hdoLTfjrD8+WxSoxM48dqbZK2KwY_h+63kHKHKgO=j...@mail.gmail.com
1/4 is ACKed b
On 09/21/2016 10:22 AM, Aleksey Makarov wrote:
On 09/21/2016 07:38 PM, Greg Kroah-Hartman wrote:
On Wed, Sep 21, 2016 at 11:19:35AM -0500, Timur Tabi wrote:
On Wed, Sep 21, 2016 at 5:37 AM, Greg Kroah-Hartman
wrote:
I thought you asked Rafael to take them, they are not in my queue
ction from
arch/microblaze/kernel/prom.c
Signed-off-by: Leif Lindholm
Signed-off-by: Aleksey Makarov
Acked-by: Rob Herring
Acked-by: Greg Kroah-Hartman
Reviewed-by: Peter Hurley
Tested-by: Kefeng Wang
Tested-by: Christopher Covington
---
drivers/of/fdt.c | 11 +--
dri
-arch.
When ACPI_SPCR_TABLE is defined initialization of DT earlycon is
deferred until the DT/ACPI decision is done. Initialize DT earlycon
if ACPI is disabled.
Acked-by: Will Deacon
Acked-by: Hanjun Guo
Signed-off-by: Aleksey Makarov
Tested-by: Kefeng Wang
Tested-by: Christopher Covi
f required,
enable specified console.
Thanks to Peter Hurley for explaining how this should work.
[1]
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Maka
This patch adds function pl011_console_match() that implements
method match of struct console. It allows to match consoles against
data specified in a string, for example taken from command line or
compiled by ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov
Reviewed-by: Peter Hurley
On 09/05/2016 03:36 PM, Aleksey Makarov wrote:
> SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64
>
> Earlycon should be set up as early as possible. ACPI boot tables are
> mapped in arch/arm64/kernel/acpi.c:acpi_boot_table_init() that
> is called from s
On 05/18/2017 06:49 PM, Petr Mladek wrote:
On Sun 2017-05-14 23:37:50, Aleksey Makarov wrote:
On 05/12/2017 03:57 PM, Petr Mladek wrote:
On Thu 2017-05-11 17:41:58, Sergey Senozhatsky wrote:
On (05/11/17 17:24), Sergey Senozhatsky wrote:
On (05/09/17 10:29), Sabrina Dubroca wrote
From: Aleksey Makarov
The liquidio and thunder drivers have different maintainers.
Signed-off-by: Aleksey Makarov
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4e6dcb6..43cf79e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
for transmit packets.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic_main.c | 4
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 28 +++---
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 28 +++
From: Sunil Goutham
Use the nicvf_send_msg_to_pf() function in the mailbox code.
Signed-off-by: Sunil Goutham
Signed-off-by: Robert Richter
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h| 3 +-
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 44
From: Sunil Goutham
Added ethtool support to dump receive packet error statistics reported
in CQE. Also made some small fixes
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h | 36 +++--
.../net/ethernet/cavium/thunder
From: Sunil Goutham
Rework interrupt handler to avoid checking IRQ affinity of
CQ interrupts. Now separate handlers are registered for each IRQ
including RBDR. Also register interrupt handlers for only those
which are being used.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
VF's interface.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
Signed-off-by: Robert Richter
---
drivers/net/ethernet/cavium/thunder/nic.h | 42 -
drivers/net/ethernet/cavium/thunder/nic_main.c | 173 +++--
.../net/ethernet/cavium/thunder/nicvf_ethtool.
7;loopback' mode can be enabled or disabled via ethtool.
Note: This feature is not supported when no of VFs enabled are
morethan no of physical interfaces i.e active BGX LMACs
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic
multiple
CPUs. Offload can be disabled via ethtool.
Signed-off-by: Robert Richter
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
.../net/ethernet/cavium/thunder/nicvf_ethtool.c| 14 -
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 35 --
2 files
tatus register new version registers
different handlers for different irqs. I don't see why it can be wrong.
I am going to address your other suggestions in the next version of the
patchset.
Thank you
Aleksey Makarov
--
To unsubscribe from this list: send the line "unsubscribe li
xey Klimov)
Aleksey Makarov (1):
net: thunderx: fix MAINTAINERS
Sunil Goutham (7):
net: thunderx: Add receive error stats reporting via ethtool
net: thunderx: mailboxes: remove code duplication
net: thunderx: Receive hashing HW offload support
net: thunderx: Support for HW VLAN strip
From: Aleksey Makarov
The liquidio and thunder drivers have different maintainers.
Signed-off-by: Aleksey Makarov
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4e6dcb6..43cf79e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
From: Sunil Goutham
Added ethtool support to dump receive packet error statistics reported
in CQE. Also made some small fixes
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h | 36 +++--
.../net/ethernet/cavium/thunder
From: Sunil Goutham
Use the nicvf_send_msg_to_pf() function in the mailbox code.
Signed-off-by: Sunil Goutham
Signed-off-by: Robert Richter
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h| 3 +-
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 44
multiple
CPUs. Offload can be disabled via ethtool.
Signed-off-by: Robert Richter
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
.../net/ethernet/cavium/thunder/nicvf_ethtool.c| 14 -
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 35 --
2 files
for transmit packets.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic_main.c | 4
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 28 +++---
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 28 +++
: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h | 1 +
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 172 -
drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 1 +
3 files changed, 102 insertions(+), 72
VF's interface.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
Signed-off-by: Robert Richter
---
drivers/net/ethernet/cavium/thunder/nic.h | 42 -
drivers/net/ethernet/cavium/thunder/nic_main.c | 173 +++--
.../net/ethernet/cavium/thunder/nicvf_ethtool.
7;loopback' mode can be enabled or disabled via ethtool.
Note: This feature is not supported when no of VFs enabled are
morethan no of physical interfaces i.e active BGX LMACs
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic
please.
I hope I will be able to look at this on the weekend.
Thank you
Aleksey Makarov
console is non-braille and it is preferred.
What is the problem?
Thank you
Aleksey Makarov
quires to specify the same console
in command line twice (with different lines), which is pointless
so I would say it is irrelevant.
Thank you
Aleksey Makarov
iss anything?
Last mentioned 'console=' (preferred console) is the console that
should become /dev/console. Its driver is returned by console_device().
In other respects the last mentioned console is not special,
so I believe it is irrelevant to the report.
Thank you
Aleksey Makarov
On 12.12.2017 05:32, Richard Cochran wrote:
> On Mon, Dec 11, 2017 at 05:14:31PM +0300, Aleksey Makarov wrote:
>> diff --git a/drivers/net/ethernet/cavium/thunder/nic.h
>> b/drivers/net/ethernet/cavium/thunder/nic.h
>> index 4a02e618e318..204b234beb9d 100644
>> --- a/
From: Radoslaw Biernacki
This patch adds support for the Precision Time Protocol
Clocks and Timestamping hardware found on Cavium ThunderX
processors.
Signed-off-by: Radoslaw Biernacki
Signed-off-by: Aleksey Makarov
Acked-by: Philippe Ombredanne
---
drivers/net/ethernet/cavium/Kconfig
tes a separate CQE with transmitted packet's timestamp.
Also HW supports only one packet at a time for timestamping on the
transmit side.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
Acked-by: Philippe Ombredanne
---
drivers/net/ethernet/cavium/Kconfig| 1
This series adds support for IEEE 1588 Precision Time Protocol
to Cavium ethernet driver.
The first patch adds support for the Precision Time Protocol Clocks and
Timestamping coprocessor (PTP) found on Cavium processors.
It registers a new PTP clock in the PTP core and provides functions
to use th
- Use semaphore to protect access to bootbus.
- Use device tree to probe for flash chips.
David Daney (3):
MIPS: OCTEON: Add semaphore to serialize bootbus accesses.
MIPS: OCTEON: Protect accesses to bootbus flash with
octeon_bootbus_sem.
MIPS: OCTEON: Use device tree to probe for flas
: Aleksey Makarov
Signed-off-by: Chandrakala Chavva
---
arch/mips/cavium-octeon/setup.c | 3 +++
arch/mips/include/asm/octeon/octeon.h | 2 ++
2 files changed, 5 insertions(+)
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index 94f888d..7311338 100644
--- a/arch
From: David Daney
Don't assume they are there, the device tree will tell us.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/cavium-octeon/flash_setup.c | 42 ++-
1 file changed, 37 insertions(+), 5 deletions(-)
diff --git a/arch
From: David Daney
Without this, we get bus errors.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/Kconfig | 1 +
arch/mips/cavium-octeon/flash_setup.c | 42 ++-
2 files changed, 42 insertions(+), 1 deletion
The OCTEON SATA controller is currently found on cn71XX devices.
Signed-off-by: David Daney
Signed-off-by: Vinita Gupta
Signed-off-by: Aleksey Makarov
---
Version 1:
https://lkml.kernel.org/g/<1421681040-3392-1-git-send-email-aleksey.maka...@auriga.com>
Changes in v2:
- The driv
SATA and some other interrutps.
Aleksey Makarov (1):
MIPS: OCTEON: Delete unused COP2 saving code
Chad Reese (1):
MIPS: OCTEON: Remove setting of processor specific CVMCTL icache bits.
Chandrakala Chavva (2):
MIPS: OCTEON: Use correct instruction to read 64-bit COP0 register
MIPS: OCTEON: More
Commit 2c952e06e4f5 ("MIPS: Move cop2 save/restore to switch_to()")
removes assembler code to store COP2 registers. Commit
a36d8225bceb ("MIPS: OCTEON: Enable use of FPU") mistakenly
restores it
Fixes: a36d8225bceb ("MIPS: OCTEON: Enable use of FPU")
Signed-off-
From: David Daney
Allocate new save space, and then save/restore the registers if
OCTEON III.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/include/asm/processor.h | 2 ++
arch/mips/kernel/asm-offsets.c| 1 +
arch/mips/kernel/octeon_switch.S | 43
From: David Daney
Also update union octeon_cvmemctl with new OCTEON II fields.
Signed-off-by: David Daney
[aleksey.maka...@auriga.com: use __BITFIELD_FIELD]
Signed-off-by: Aleksey Makarov
---
arch/mips/include/asm/octeon/octeon.h | 135 ++
1 file changed, 105
From: David Daney
Disable ICache prefetch for certian Octeon II processors.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
.../asm/mach-cavium-octeon/kernel-entry-init.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/mips/include/asm/mach
resolution,
support for old compilers]
Signed-off-by: Aleksey Makarov
---
arch/mips/cavium-octeon/setup.c | 37 ++
arch/mips/include/asm/octeon/octeon.h | 13
arch/mips/include/asm/ptrace.h| 4 +-
arch/mips/kernel/octeon_switch.S | 128
From: David Daney
- Use of_irq_init() to initialize interrupt controllers
- Get rid of some unlikely()
- Add CIB to support SATA and other interrupts
- Add support for CIU SUM2 interrupt sources
Signed-off-by: David Daney
Signed-off-by: Leonid Rosenboim
Signed-off-by: Aleksey Makarov
Signed
From: Chandrakala Chavva
Use dmfc0/dmtc0 instructions for reading CvmMemCtl COP0 register,
its a 64-bit wide.
Signed-off-by: Chandrakala Chavva
Signed-off-by: Aleksey Makarov
---
arch/mips/kernel/octeon_switch.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch
From: David Daney
If 'rd_name=xxx' is passed to the kernel, the named block with name
'xxx' is used for the initrd.
Signed-off-by: David Daney
Signed-off-by: Leonid Rosenboim
[aleksey.maka...@auriga.com: conflict resolution]
Signed-off-by: Aleksey Makarov
---
arch/mips/c
From: Chandrakala Chavva
Read clock rate from the correct CSR. Don't clear COP0_DCACHE for OCTEONIII.
Signed-off-by: Chandrakala Chavva
Signed-off-by: Aleksey Makarov
Signed-off-by: David Daney
---
arch/mips/cavium-octeon/csrc-octeon.c | 11 +-
arch/mips/cavium-octeon/se
From: David Daney
Add coverage for OCTEON III models.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/cavium-octeon/dma-octeon.c | 4 +-
.../cavium-octeon/executive/cvmx-helper-board.c| 2 +-
arch/mips/cavium-octeon/octeon-irq.c
From: David Daney
The acknowledge bits don't exist for level triggered irqs, so setting
them causes the simulator to terminate.
Signed-off-by: David Daney
Signed-off-by: Leonid Rosenboim
Signed-off-by: Aleksey Makarov
---
arch/mips/cavium-octeon/octeon-irq.c
From: David Daney
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/cavium-octeon/setup.c | 4 +---
.../asm/mach-cavium-octeon/kernel-entry-init.h| 19 ---
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/arch
From: David Daney
It wasn't being saved on task switch.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/kernel/octeon_switch.S | 19 +++
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/arch/mips/kernel/octeon_switch.S b/arch/mips/k
From: Chad Reese
CN38XX pass 1 required icache prefetching to be turned off. This chip never
reached production and is long dead. Other processor specific icache settings
are done by the bootloader. Remove these bits from the kernel.
Signed-off-by: Chad Reese
Signed-off-by: Aleksey Makarov
: Chandrakala Chavva
Signed-off-by: Peter Swain
[aleksey.maka...@auriga.com: preparation for submission]
Signed-off-by: Aleksey Makarov
---
This patch should be applied on top of the patchset
"MIPS: OCTEON: flash: syncronize bootbus access"
https://lkml.kernel.org/g/<1419337623-16101-1-g
The OCTEON SATA controller is currently found on cn71XX devices.
Signed-off-by: David Daney
Signed-off-by: Vinita Gupta
[aleksey.maka...@auriga.com: preparing for submission,
conflict resolution, fixes for the platform code]
Signed-off-by: Aleksey Makarov
---
.../devicetree/bindings/ata/ahci
+shim_cfg.s.csr_endian_mode = 1;
>> +#else
>> +shim_cfg.s.dma_endian_mode = 0;
>> +shim_cfg.s.csr_endian_mode = 0;
>> +#endif
>> +shim_cfg.s.dma_read_cmd = 1; /* No allocate L2C */
>> +cvmx_write_csr((uint64_t)base + CVMX_SATA_UCTL_SHIM_CFG, sh
The OCTEON SATA controller is currently found on cn71XX devices.
Cc: Arnd Bergmann
Acked-by: Hans de Goede
Signed-off-by: David Daney
Signed-off-by: Vinita Gupta
Signed-off-by: Aleksey Makarov
---
.../devicetree/bindings/ata/ahci-platform.txt | 1 +
.../devicetree/bindings/mips
From: David Daney
Compensate for the differences in the layout of in-memory bootloader
information as seen from little-endian mode.
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
arch/mips/cavium-octeon/octeon_boot.h| 23
arch/mips/include/asm/octeon/cvmx
These patches enable compiling and booting kernel on Octeon boards
in little-endian mode.
David Daney (3):
MIPS: OCTEON: Handle bootloader structures in little-endian mode.
MIPS: OCTEON: Add mach-cavium-octeon/mangle-port.h
MIPS: OCTEON: Enable little endian kernel.
arch/mips/Kconfig
From: David Daney
Now it is supported, so let people select it.
Signed-off-by: David Daney
Signed-off-by: Leonid Rosenboim
Signed-off-by: Aleksey Makarov
---
arch/mips/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index
From: David Daney
Needed for little-endian ioport access.
This fixes NOR flash in little-endian mode
Signed-off-by: David Daney
Signed-off-by: Aleksey Makarov
---
.../include/asm/mach-cavium-octeon/mangle-port.h | 74 ++
1 file changed, 74 insertions(+)
create mode
This patchset adds support for the Cavium ThunderX network controller.
changes in v6:
* unused preprocessor symbols were removed
* reduce no of atomic operations in SQ maintenance
* support for TCP segmentation at driver level
* reset RBDR if fifo state is FAIL
* fixed an issue with link stat
From: Sunil Goutham
This vendor id will be used by network (vNIC), USB (xHCI),
SATA (AHCI), GPIO, I2C, MMC and maybe other drivers
for ThunderX SoC.
Acked-by: Bjorn Helgaas
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
include/linux/pci_ids.h | 2 ++
1 file changed, 2
These are fixes for the problems that were reported by static check tools.
Aleksey Makarov (9):
net: thunderx: fix constants
net: thunderx: introduce a function for mailbox access
net: thunderx: rework mac address handling
net: thunderx: delete unused variables
net: thunderx: add static
521
522 nicvf_config_rss(nic);
523 return 0;
524 }
regards,
dan carpenter
Reported-by: Dan Carpenter
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/e
This fixes sparse messages like this:
drivers/net/ethernet/cavium/thunder/thunder_bgx.c:897:24: sparse:
constant 0x3000 is so big it is long
Reported-by: kbuild test robot
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 10 +-
1 file
This fixes sparse message:
drivers/net/ethernet/cavium/thunder/nicvf_main.c:153:25: sparse: cast to
restricted __le64
Reported-by: kbuild test robot
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 27 +++-
1 file changed, 17 insertions
This fixes sparse message:
drivers/net/ethernet/cavium/thunder/nicvf_main.c:385:40: sparse: cast to
restricted __le64
Reported-by: kbuild test robot
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h | 4 ++--
drivers/net/ethernet/cavium/thunder/nic_main.c
gt; 367 sq->tso_hdrs = dma_alloc_coherent(&nic->pdev->dev,
368q_len *
TSO_HEADER_SIZE,
369&sq->tso_hdrs_phys,
GFP_KERNEL);
370 if (!sq->tso_hdrs)
Reported-by:
No need to cast void* to u8*: pointer arithmetics
works same way for both.
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
b/drivers
This fixes sparse messages like this:
drivers/net/ethernet/cavium/thunder/nicvf_main.c:1141:26: sparse: symbol
'nicvf_get_stats64' was not declared. Should it be static?
Also remove unused declarations
Reported-by: kbuild test robot
Signed-off-by: Aleksey Makarov
---
drivers/ne
GFP_KERNEL should be used in the thread context
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
b/drivers/net/ethernet/cavium/thunder
They were left from development stage
Reported-by: kbuild test robot
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c
b/drivers/net
From: Robert Richter
There are duplicate NODE_ID macro definitions. Move all of them to
nic.h for usage in nic and bgx driver and introduce nic_get_node_id()
helper function.
This patch also fixes 64bit mask which should have been ULL by
reworking the node calculation.
Signed-off-by: Robert Ric
From: Sunil Goutham
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c
b/drivers/net/ethernet/cavium/thunder/nicvf_main.c
From: Sunil Goutham
If a txq (SQ) remains in stopped state after this timeout its
considered as stuck and interface is reinited.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nic.h| 9 +
drivers/net/ethernet/cavium/thunder
From: Sunil Goutham
Fixed 'tso_hdrs' memory not being freed properly.
Also fixed SQ skbuff maintenance issues.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 1 +
drivers/net/ethernet/cavium/thunder/nicvf_qu
irst half of
CQ under heavy load and time taken by NAPI to clear transmit notifications
will increase with higher queue sizes. Again results in SQ being stopped.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 14 +++--
From: Sunil Goutham
Fix for memory leak when changing queue/channel count via ethtool
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
.../net/ethernet/cavium/thunder/nicvf_ethtool.c| 23 +-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a
From: Thanneeru Srinivasulu
Cortina phy does not have kernel driver and we don't attach
device with phy layer for intefaces like XFI, XLAUI etc,
Hence check for interface type before calling disconnect.
Signed-off-by: Thanneeru Srinivasulu
Signed-off-by: Aleksey Makarov
---
driver
: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_main.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c
b/drivers/net/ethernet/cavium/thunder/nicvf_main.c
index abee2d7..c7a29a3 100644
--- a/drivers/net
From: Sunil Goutham
Fixing TSO packages not being counted.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
b/drivers/net
From: Sunil Goutham
Switching back to LDD transactions from LDWB.
While transmitting packets out with LDWB transactions
data integrity issues are seen very frequently.
hence switching back to LDD.
Signed-off-by: Sunil Goutham
Signed-off-by: Robert Richter
Signed-off-by: Aleksey Makarov
Miscellaneous fixes for the ThunderX VNIC driver
All the patches can be applied individually.
It's ok to drop some if the maintainer feels uncomfortable
with applying for 4.2.
Sunil Goutham (10):
net: thunderx: Fix data integrity issues with LDWB
net: thunderx: Fix memory leak while tearing d
From: Sunil Goutham
Previously TXQ is wakedup whenever napi is executed
and irrespective of if any CQE_TX are processed or not.
Added 'txq_stop' and 'txq_wake' counters to aid in debugging
if there are any future issues.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey M
.
Signed-off-by: Sunil Goutham
Signed-off-by: Aleksey Makarov
---
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
b/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
index
address in a separate patch.
I know no other problems with it and reviewers seem happy.
So I believe this patchset could be pulled. If needed, I will send v8.
Thank you
Aleksey Makarov
On 05/12/2016 11:20 AM, Jon Masters wrote:
> On 03/31/2016 09:40 AM, Aleksey Makarov wrote:
>
>>
The new memory allocated in acpi_table_initrd_init() is used to
copy the upgraded tables to it. So it should be mapped with
early_memunmap() instead of early_ioremap().
This is critical for ARM.
Signed-off-by: Aleksey Makarov
---
drivers/acpi/tables.c | 4 ++--
1 file changed, 2 insertions
From: Jon Masters
This patch adds support for ACPI_TABLE_UPGRADE for ARM64
To access initrd image we need to move initialization
of linear mapping a bit earlier.
Signed-off-by: Jon Masters
Signed-off-by: Aleksey Makarov
---
arch/arm64/kernel/setup.c | 6 --
drivers/acpi/Kconfig
Move early_initrd_acpi_init() to header file so that
it can be used with architectures other than X86
Signed-off-by: Aleksey Makarov
---
arch/x86/kernel/setup.c | 7 ---
drivers/acpi/tables.c | 7 +--
include/linux/acpi.h| 4 ++--
3 files changed, 7 insertions(+), 11 deletions
1 - 100 of 390 matches
Mail list logo