Age | Commit message (Collapse) | Author |
|
commit 7c5fe0a7c967e592ead9adb7c6d27ae1da5c81e8 from
git@git.assembla.com:cavium/WindRiver.linux.git
Support mdio read/write commands using debugfs
Usage: echo <cgxlmac> <mode> <addr> <devad> <reg> [value] > mdio_cmd
Change-Id: I8e00b7c6315b165611d4a42a57051338c26e93d4
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13544
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 1a627a67e2666cea8ac2003ea74b69f83291c855 from
git@git.assembla.com:cavium/WindRiver.linux.git
Add a sysfs file to configure the PMCCNTR access in EL0.
Writing 1 to /sys/bus/pci/drivers/octeontx2-rm/0*/pmccntr_el0 will
enable access to userspace, while 0 will disable it.
Reading this file will print a compined enable status for all cores.
Value read will be 1 if counter is enabled on all cores.
Access is enabled with as little PMU register modifications as possible.
Change-Id: Ib48328e16d4ed62319c39d4d896891ae9eec4130
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13261
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
(cherry picked from commit 350ae2c8e8cf6cac7eece31b78a8aaacbebd2498)
Reviewed-on: https://sj1git1.cavium.com/13536
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 630709c4cb084f3e65b1947e4a732d6e30816686 from
git@git.assembla.com:cavium/WindRiver.linux.git
Forward the MBOX_MSG_READY to the kernel after intercepting in order
to propagate RCLK/SCLK values read by the octeontx2-af driver.
Change-Id: I1733401870040ec1efd97fd42dd7eddab485aad1
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13260
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
(cherry picked from commit c07823a8497516b0d55427890593275b11f7f9ee)
Reviewed-on: https://sj1git1.cavium.com/13535
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit c7b590803090c7b9e8cb745fd5f2f268eb0a2e4f from
git@git.assembla.com:cavium/WindRiver.linux.git
This reverts commit 4641fa15a5a56fede6add56057588a5c9aecca80.
Will commit after resolving build issues.
Change-Id: I66da303841552dc6fac8b9f13a4d70c7abeafe15
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13537
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 4641fa15a5a56fede6add56057588a5c9aecca80 from
git@git.assembla.com:cavium/WindRiver.linux.git
Support mdio read/write commands using debugfs
Usage: echo <cgxlmac> <mode> <addr> <devad> <reg> [value] > mdio_cmd
Change-Id: I183263716396895bedbf216b777ae0a8e6173de0
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13453
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 040f8fd991f3a11bf4a3b0bdc60400422af19f69 from
git@git.assembla.com:cavium/WindRiver.linux.git
Fix potential buffer overflow on copying domain name passed by the user.
Change-Id: Idc9de535b326dfc0adfa4fbae938f7b31abe313e
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/7819
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 33f1b5d2754edf8d8dac21637c4441c4c9523a76 from
git@git.assembla.com:cavium/WindRiver.linux.git
Change-Id: Ia5aa2f664f0a629e35017141c184ab2a0d5c2a20
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 973880f2ce797f2b0cc4f94d17fdce55bfeb484d from
git@git.assembla.com:cavium/WindRiver.linux.git
Change-Id: I01ea0e0d5a8fbc464f16a392bfaa468f405b6318
Signed-off-by: Subrahmanyam Nilla <snilla@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 7a6a8d344b0a71b4ee689afa6760c4638c6f1b3c from
git@git.assembla.com:cavium/WindRiver.linux.git
Add DPI VF reservation handling in domain creation and destroy.
Change-Id: I0fd7db858d85ea65054f72adeb184732bb848481
Signed-off-by: Subrahmanyam Nilla <snilla@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 01861b140833c7d109fab294591b794d5138164b from
git@git.assembla.com:cavium/WindRiver.linux.git
Dpi-pf driver initializes dpipf device and enables dpivf devices.
Change-Id: I9b2b78d451bc56855fbda6951e4e0ad42e64c317
Signed-off-by: Subrahmanyam Nilla <snilla@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit ebbabe7c3ce092f1928b5adebf3138fd391280fa from
git@git.assembla.com:cavium/WindRiver.linux.git
Bus mastering for RVU TIM/SSO device is required for MSIX interrupt
reception.
Change-Id: Ib2c95dd9370f9d5a63aa9f3349f1146a230f0570
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit b04dfe278aa44a13e96a5eaac28af62823d8859c from
git@git.assembla.com:cavium/WindRiver.linux.git
Check if discovery ID is setup by AF, if not, defer
driver probe until AF is up.
Change-Id: I0e72905389239e6342e09a75f1f73d2657cea29e
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 9b54c6583059413399b87d5ab9ba43589c7b5ae3 from
git@git.assembla.com:cavium/WindRiver.linux.git
This commit provides convenience sysfs interfaces for partitioning
non-NIC resources and OcteonTX2 RVU based NIC devices between users in
form of application domains.
Change-Id: I54048ec9bfb8319bff0b23e61d390ca208d6f52d
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 25da778fa5fe3825841a9e1ac6649ced2bcb85c0 from
git@git.assembla.com:cavium/WindRiver.linux.git
This patch adds a driver for managing non-NIC hardware offload resources
and exposing them to user through SSO/TIM type of RVU VF devices.
For that reason it acts as a proxy for RVU MBOX messages between SSO/TIM
RVU VFs and RVU AF.
It has previously lived outside of the Marvell internal kernel tree
which is not convenient in development process. Therefore this patch
aims to integrate this driver here with a caveat that upstreaming
process will have to include its re-work.
This driver contains a copy of quota management that is part of RVU AF
driver. That code is not re-used as it would require re-work of the
RVU AF driver which is in process of upstreaming. As part of upstreaming
the resource management interfaces used in this driver will have to
be re-worked too (suggested by upstream maintainers to use devlink) to
accommodate requirements of other users to minimize the functionality of
this driver to an RVU stub.
Change-Id: Ie858a79cf43f30efaaabd8294c0d6464536fe80b
Signed-off-by: Stanislaw Kardach <skardach@marvell.com>
Signed-off-by: Krishnamurthy D V <kvasanthrao@caviumnetworks.com>
[Kevin: Just some minor context mods in order to port to linux-yocto]
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|