@vger.kernel.org
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/id.c | 25 +++--
arch/arm/mach-omap2/soc.h |8 ++--
2 files changed, 9 insertions(+), 24 deletions(-)
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index cf2362c..3c47a19 100644
--- a
@vger.kernel.org
Acked-by: Nishanth Menon
Acked-by: Santosh Shilimkar
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/id.c | 25 +++--
arch/arm/mach-omap2/soc.h |8 ++--
2 files changed, 9 insertions(+), 24 deletions(-)
diff --git a/arch/arm/mach-omap2/id.c b/arch
In the map for reset sources register we use defines intended for
using with PRM_RSTCTRL register. So fix it.
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/prm44xx.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach
To read reset sources registers we have to use PRM_DEVICE_INST
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/prm44xx.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c
index 7498bc7..0b61b8d 100644
From: Nishanth Menon
RSTTIME is offset 0x8 and RSTST is offset 0x04 for OMAP4430 and
OMAP4460.
Signed-off-by: Nishanth Menon
[ivan.khoronz...@ti.com: ported from k3.4]
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/prm44xx.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions
mber press lost
while resuming.
Signed-off-by: Ivan Khoronzhuk
---
drivers/input/keyboard/gpio_keys.c | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/gpio_keys.c
b/drivers/input/keyboard/gpio_keys.c
index b29ca65..33ac
The flag mask are incorrect, so fix it.
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/prcm.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c
index 0f51e03..dc45156 100644
--- a/arch/arm/mach-omap2
The address of PRM_RSTST register and flag mask are incorrect,
so fix it.
Signed-off-by: Ivan Khoronzhuk
---
arch/arm/mach-omap2/prcm.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c
index dc45156..02f27f2
According to TRMs the assigned shifts are wrong, so correct them.
---
arch/arm/mach-omap2/prm44xx.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prm44xx.h b/arch/arm/mach-omap2/prm44xx.h
index 22b0979..8ee1fbd 100644
--- a/arch/arm/mach-omap2/prm44
According to TRMs the assigned shifts are wrong, so correct them.
---
arch/arm/mach-omap2/prm44xx.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prm44xx.h b/arch/arm/mach-omap2/prm44xx.h
index 22b0979..8ee1fbd 100644
--- a/arch/arm/mach-omap2/prm44
To read reset sources registers we have to use PRM_DEVICE_INST
---
arch/arm/mach-omap2/prm44xx.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c
index 7498bc7..0b61b8d 100644
--- a/arch/arm/mach-omap2/prm44xx.c
++
In the map for reset sources register we use defines intended for
using with PRM_RSTCTRL register. So fix it.
---
arch/arm/mach-omap2/prm44xx.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c
index 7498bc7..e3
Signed-off-by: Ivan Khoronzhuk
---
drivers/input/keyboard/gpio_keys.c | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/gpio_keys.c
b/drivers/input/keyboard/gpio_keys.c
index 62bfce4..aa49aef 100644
--- a/drivers/inpu
nels[i]);
cpdma_desc_pool_destroy(ctlr->pool);
- spin_unlock_irqrestore(&ctlr->lock, flags);
return ret;
}
EXPORT_SYMBOL_GPL(cpdma_ctlr_destroy);
--
Regards,
Ivan Khoronzhuk
g values on SMP.
Hence, remove used_desc from struct cpdma_desc_pool.
Signed-off-by: Grygorii Strashko
Reviewed-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/davinci_cpdma.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/drivers/net/ethernet/ti/dav
Signed-off-by: Ivan Khoronzhuk
---
include/linux/ethtool.h | 4 ++
include/uapi/linux/ethtool.h | 2 +
net/core/ethtool.c | 102 +++
3 files changed, 108 insertions(+)
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 761 +++--
1 file changed, 359 insertions(+), 402 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index c51f346..38b04bf 100644
--- a/drivers/net
It useful feature to be able to configure number of buffers for
every queue.
Signed-off-by: Ivan Khoronzhuk
---
include/linux/ethtool.h | 4 ++
net/core/ethtool.c | 104
2 files changed, 108 insertions(+)
diff --git a/include/linux
used to set per-channel bandwidth, second to tune
number of per-channel descriptors. It can solve issues described by
Schuyler. In case if per-channel bandwidth is equal to maximum
for every channel, the driver could be switched to priority mode.
Ivan Khoronzhuk (2):
net: core: ethtool: add per
In dual_emac mode the driver can handle 2 network devices. Each of them can use
its own private data and common data/resources. This patchset splits common
driver
data/resources and private per net device data.
Doesn't have bad impact on performance.
Based on net-next/master
Ivan Khoronzh
- no functional changes
- reduce code size
- reduce memory usage
- reduce number of conversion to priv function
- reduce number of arguments for some functions
- increase code readability
- create prerequisites to add multichannel support,
when channels are shared between net devices
Signed-off-by:
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 45 +-
1 file changed, 18 insertions(+), 27 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 9ddaccc..cd12f52 100644
--- a/drivers/net
No need to check number of handled packets, when in most cases (> 99%)
it's not 0. It can be 0 only in rarely cases, even in this case
it's not bad to print just 0.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 8 ++--
1 file changed, 2 insertions(+)
Please, ignore it
It was sent by mistake
On 05.08.16 00:11, Ivan Khoronzhuk wrote:
These two patches can be used to set per queue bandwidth with ethtool.
I've create them as logical continuation of patchset from intel,
that have introduced per-queue setting command month ago for et
Please, ignore it.
It was sent by mistake.
On 05.08.16 00:11, Ivan Khoronzhuk wrote:
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 761 +++--
1 file changed, 359 insertions(+), 402 deletions(-)
diff --git a/drivers/net/ethernet/ti
As second net dev is created only in case of dual_emac mode, port
number can be figured out in simpler way. Also no need to pass
redundant ndev struct.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 18 +-
1 file changed, 5 insertions(+), 13 deletions
Please, ignore it
It was sent by mistake
On 05.08.16 00:11, Ivan Khoronzhuk wrote:
Signed-off-by: Ivan Khoronzhuk
---
include/linux/ethtool.h | 4 ++
include/uapi/linux/ethtool.h | 2 +
net/core/ethtool.c | 102 +++
3 files changed
Please, ignore it
It was sent by mistake
On 05.08.16 00:11, Ivan Khoronzhuk wrote:
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 45 +-
1 file changed, 18 insertions(+), 27 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c
Please, ignore it
It was sent by mistake
On 05.08.16 00:11, Ivan Khoronzhuk wrote:
It useful feature to be able to configure number of buffers for
every queue.
Signed-off-by: Ivan Khoronzhuk
---
include/linux/ethtool.h | 4 ++
net/core/ethtool.c | 104
On 05.08.16 15:14, Grygorii Strashko wrote:
On 08/05/2016 12:14 AM, Ivan Khoronzhuk wrote:
Simplify driver by splitting common driver data and net dev
private data. In case of dual_emac mode 2 networks devices
are created, each of them contains its own private data.
But 2 net devices share a
No need to hold pdev link when only dev is needed.
This allows to simplify a bunch of cpsw->pdev->dev now and farther.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 65 ++
1 file changed, 34 insertions(+), 31 deletions(-)
diff
The ale, cpts, version, limit, freq, interrupt pacing parameters
are common per net device that uses the same h/w. So, move them to
common driver structure.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 237 ++---
1 file changed, 106
The pointers on h/w registers are common for every cpsw_private
instance, so no need to hold them for every ndev.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 97 +++---
1 file changed, 53 insertions(+), 44 deletions(-)
diff --git a
These data are common per net dev. No need to hold it in every priv
instance, so move them under cpsw_common.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 271 +
1 file changed, 140 insertions(+), 131 deletions(-)
diff --git a
No need to check const slave num in runtime for every packet,
and ndev for slaves w/o ndev is anyway NULL. So remove redundant
check.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/ti
As second net dev is created only in case of dual_emac mode, port
number can be figured out in simpler way. Also no need to pass
redundant ndev struct.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 18 +-
1 file changed, 5 insertions(+), 13 deletions
This patch simply create holder for common data and as a start moves
pdev var to it.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 62 ++
1 file changed, 39 insertions(+), 23 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c
The napi structs are common for both net devices in dual_emac
mode, In order to not hold duplicate links to them, move to
cpsw_common.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 50 +++---
1 file changed, 22 insertions(+), 28
for both devices if
any of them is allowed to.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 36 ++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 29ff489
The irq data are common per net device. So no need to hold these
data per net dev, move it under cpsw_common. Also delete irq_num
var, as after optimization it's not needed. Correct number of
irqs to 2, as anyway, driver is using only 2, at least for now.
Signed-off-by: Ivan Khoro
There is no need to hold link to clk, it's used only once
while probe.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 30
There is no need in priv here.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 85ee9f5..30e1ddb 100644
--- a/drivers/net
No need to check number of handled packets, when in most cases (> 99%)
it's not 0. It can be 0 only in rare cases, even in this case
it's not bad to print just 0.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 8 ++--
1 file changed, 2 insertions(+)
hernet: ti: cpsw: move data platform data and slaves info to
cpsw_common
net: ethernet: ti: cpsw: fix int dbg message
net: ethernet: ti: cpsw: move napi struct to cpsw_common
net: ethernet: ti: cpsw: move ale, cpts and drivers params under
Based on net-next/master
Ivan Khoronzhuk (14):
net
Every net device private struct holds links to shared cpdma resources.
No need to save and every time synchronize these resources per net dev.
So, move it to common driver struct.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 97
The CPDMA_TX_PRIORITY_MAP in real is vlan pcp field priority mapping
register and basically replaces vlan pcp field for tagged packets.
So, set it to be 1:1 mapping.
Signed-off-by: Ivan Khoronzhuk
---
Based on net/master
drivers/net/ethernet/ti/cpsw.c | 2 +-
1 file changed, 1 insertion(+), 1
On Mon, Nov 26, 2018 at 12:57:20PM -0600, Grygorii Strashko wrote:
On 11/26/18 10:26 AM, Ivan Khoronzhuk wrote:
On Sun, Nov 25, 2018 at 05:46:26PM -0600, Grygorii Strashko wrote:
In dual_mac mode CPSW driver uses vid1 and vid2 by default to implement
dual mac mode wich are used to configure
This document describes MQPRIO and CBS Qdisc offload configuration
for cpsw driver based on examples. It potentially can be used in
audio video bridging (AVB) and time sensitive networking (TSN).
Signed-off-by: Ivan Khoronzhuk
---
Documentation/networking/ti-cpsw.txt | 540
According to TRM tx rated channels should be in 7..0 order,
so correct it.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/davinci_cpdma.c | 31 -
1 file changed, 15 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c
b
frames are sent via ALE.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 47 ++
1 file changed, 47 insertions(+)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index c7710b0e1c17..c3e88be36c1b 100644
--- a/drivers/net
. For
consistency reasons, in role of talker and listener, tools from
patchset "TSN: Add qdisc based config interface for CBS" were used and
can be seen here: https://www.spinics.net/lists/netdev/msg460869.html
Based on net-next/master
Ivan Khoronzhuk (6):
net: ethernet: ti: cpsw:
This document describes MQPRIO and CBS Qdisc offload configuration
for cpsw driver based on examples. It potentially can be used in
audio video bridging (AVB) and time sensitive networking (TSN).
Signed-off-by: Ivan Khoronzhuk
---
Documentation/networking/cpsw.txt | 540
part only maps L2 prio to classes of traffic, but not
to transmit queues, so to direct traffic to traffic class vlan has
to be created with appropriate egress map.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 82 ++
1 file changed, 82 inser
ged while reconnection,
not always is true, so inform user in case speed of interface was
changed, as it can impact on dependent shapers configuration.
For more examples see Documentation.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 221
them, let assign tx cpdma channels in backward order to queues.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index a7285dd
patch fixes it, restoring only vlan ALE entries and all other
unicast/multicast entries are restored by system calling rx_mode ndo.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/ethernet/ti/cpsw.c
igned-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 46 +-
1 file changed, 28 insertions(+), 18 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 832bce07c385..b7a6a2a0f71d 100644
--- a/drivers/net/ethern
The patchset omits redundant refresh of mcast address table and
prevents mcast packet lost.
Based on net-next/master
tested on am572x evm
Ivan Khoronzhuk (2):
net: ethernet: ti: cpsw_ale: use const for API having pointer on mac
address
net: ethernet: ti: cpsw: fix lost of mcast packets
It allows to use function under callbacks with same const qualifier of
mac address for farther changes.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw_ale.c | 12 ++--
drivers/net/ethernet/ti/cpsw_ale.h | 8
2 files changed, 10 insertions(+), 10 deletions
, exactly like
it's done in cpsw_ale_set_allmulti().
Signed-off-by: Ivan Khoronzhuk
---
Based on net-next/master
drivers/net/ethernet/ti/cpsw.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
ync() them, but no need.
Signed-off-by: Ivan Khoronzhuk
---
Based on net-next/master
Tasted on am572x EVM and BBB
drivers/net/ethernet/ti/cpsw.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 226be2a56c1f..0e475020a674 10
On Fri, Oct 19, 2018 at 01:22:20PM +0200, Bjørn Mork wrote:
Ivan Khoronzhuk writes:
@@ -236,6 +239,13 @@ __vlan_find_dev_deep_rcu(struct net_device *real_dev,
return NULL;
}
+static inline int
+vlan_for_each(struct net_device *dev,
+ int (*action)(struct net_device *dev
devices, including single port boards
like Beagle Bone.
Signed-off-by: Ivan Khoronzhuk
---
Based on net-nex/master
and is logical continuation of the
https://lore.kernel.org/patchwork/patch/1001633/
drivers/net/ethernet/ti/cpsw.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net
There are situations when code needs to access SMBIOS entry table
area. For example, to pass it via sysfs to userspace when it's not
allowed to get SMBIOS info via /dev/mem.
Signed-off-by: Ivan Khoronzhuk
---
drivers/firmware/dmi_scan.c | 34 ++
include/
ent SMBIOS entry. So this patch series adds SMBIOS
area to dmi sysfs in order to allow utils in question to work
correctly with dmi sysfs.
Ivan Khoronzhuk (2):
firmware: dmi_scan: add symbol to get SMBIOS entry area
firmware: dmi-sysfs: add SMBIOS entry point area attribute
drivers/firmware/d
There are situations when code needs to access SMBIOS entry table
area, but cannot use /dev/mem for this. As the table format is
consistent only for a version, and can be changed, use binary
attribute to give access to raw SMBIOS entry table area.
Signed-off-by: Ivan Khoronzhuk
---
drivers
On 01/26/2015 10:44 AM, Ard Biesheuvel wrote:
On 23 January 2015 at 20:21, Ivan Khoronzhuk wrote:
There are situations when code needs to access SMBIOS entry table
area. For example, to pass it via sysfs to userspace when it's not
allowed to get SMBIOS info via /dev/mem.
Signed-off-by:
table size
- changed format of get_smbios_entry_area symbol
returned pointer on const smbios table
firmware: dmi-sysfs: add SMBIOS entry point area attribute
- adopted to updated get_smbios_entry_area symbol
- removed redundant array to save smbios table
Ivan
There are situations when code needs to access SMBIOS entry table
area, but cannot use /dev/mem for this. As the table format is
consistent only for a version, and can be changed, use binary
attribute to give access to raw SMBIOS entry table area.
Signed-off-by: Ivan Khoronzhuk
---
drivers
There are situations when code needs to access SMBIOS entry table
area. For example, to pass it via sysfs to userspace when it's not
allowed to get SMBIOS info via /dev/mem.
Signed-off-by: Ivan Khoronzhuk
---
drivers/firmware/dmi_scan.c | 26 ++
include/linux/
On 01/27/2015 06:23 PM, Grant Likely wrote:
On Mon, 26 Jan 2015 15:28:36 +0200
, Ivan Khoronzhuk
wrote:
Some utils, like dmidecode and smbios, needs to access SMBIOS entry
table area in order to get information like SMBIOS version, size, etc.
Currently it's done via /dev/mem. Bu
ent SMBIOS entry. So this patch adds SMBIOS area to
dmi-sysfs in order to allow utils in question to work correctly with
dmi sysfs interface.
Reviewed-by: Ard Biesheuvel
Signed-off-by: Ivan Khoronzhuk
---
v1: https://lkml.org/lkml/2015/1/23/643
v2: https://lkml.org/lkml/2015/1/26/345
v3..v2:
ed by Jean Delvare.
Signed-off-by: Ivan Khoronzhuk
---
.../ABI/testing/sysfs-firmware-dmi-tables | 22 ++
drivers/firmware/dmi-sysfs.c | 11 ++-
drivers/firmware/dmi_scan.c| 80 ++
include/l
gn dmi_kobj = NULL in case of error
- don't export dmi_kobj if CONFIG_DMI is not set
- improve read callback for table attributes
Ivan Khoronzhuk (3):
firmware: dmi_scan: rename dmi_table to dmi_decode_table
firmware: dmi_scan: add SBMIOS entry and DMI tables
Documentation: ABI: sy
"dmi" kobject.
Signed-off-by: Ivan Khoronzhuk
---
.../ABI/testing/{sysfs-firmware-dmi => sysfs-firmware-dmi-entries} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename Documentation/ABI/testing/{sysfs-firmware-dmi =>
sysfs-firmware-dmi-entries} (99%)
diff --gi
The "dmi_table" function looks like data instance, but it does DMI
table decode. This patch renames it to "dmi_decode_table" name as
more appropriate. That allows us to use "dmi_table" name for correct
purposes.
Signed-off-by: Ivan Khoronzhuk
---
drivers/firmware
/kobject.h in header
Ivan Khoronzhuk (3):
firmware: dmi_scan: rename dmi_table to dmi_decode_table
firmware: dmi_scan: add SBMIOS entry and DMI tables
Documentation: ABI: sysfs-firmware-dmi: add -entries suffix to file
name
...sfs-firmware-dmi => sysfs-firmware-dmi-entries} | 2 +-
ed by Jean Delvare.
Signed-off-by: Ivan Khoronzhuk
---
.../ABI/testing/sysfs-firmware-dmi-tables | 22 ++
drivers/firmware/dmi-sysfs.c | 17 +++--
drivers/firmware/dmi_scan.c| 82 ++
include/l
"dmi" kobject.
Reviewed-by: Jean Delvare
Signed-off-by: Ivan Khoronzhuk
---
.../ABI/testing/{sysfs-firmware-dmi => sysfs-firmware-dmi-entries} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename Documentation/ABI/testing/{sysfs-firmware-dmi =>
sysfs-firmware-dmi
The "dmi_table" function looks like data instance, but it does DMI
table decode. This patch renames it to "dmi_decode_table" name as
more appropriate. That allows us to use "dmi_table" name for correct
purposes.
Reviewed-by: Jean Delvare
Signed-off-by: Ivan Kho
"dmi" kobject.
Reviewed-by: Jean Delvare
Signed-off-by: Ivan Khoronzhuk
---
.../ABI/testing/{sysfs-firmware-dmi => sysfs-firmware-dmi-entries} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename Documentation/ABI/testing/{sysfs-firmware-dmi =>
sysfs-firmware-dmi
The "dmi_table" function looks like data instance, but it does DMI
table decode. This patch renames it to "dmi_decode_table" name as
more appropriate. That allows us to use "dmi_table" name for correct
purposes.
Reviewed-by: Jean Delvare
Signed-off-by: Ivan Kho
ed by Jean Delvare.
Tested-by: Roy Franz
Signed-off-by: Ivan Khoronzhuk
---
.../ABI/testing/sysfs-firmware-dmi-tables | 22 ++
drivers/firmware/dmi-sysfs.c | 17 +++--
drivers/firmware/dmi_scan.c| 78 ++
include/l
path in dmi-sysfs
- don't use globally dmi_table var
- use "DMI" in attribute name
- correct error path in dmi_init
- leave dmi_kobj even in case of error
- include linux/kobject.h in header
Ivan Khoronzhuk (3):
firmware: dmi_scan: rena
isions allowing mq.
Signed-off-by: Ivan Khoronzhuk
---
Based on net-next/master
drivers/net/ethernet/ti/cpsw.c | 109 ++---
1 file changed, 60 insertions(+), 49 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
ind
On Wed, Feb 27, 2019 at 08:24:00PM -0800, Florian Fainelli wrote:
On 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote:
Despite this is supposed to be used for Ethernet VLANs, not Ethernet
addresses with space for VID also can reuse this, so VID is considered
as virtual ID extension, not belonging
On Wed, Feb 27, 2019 at 08:09:44PM -0800, Florian Fainelli wrote:
On 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote:
Update vlan mc and uc addresses with VID tag while propagating
addresses to lower devices, do this only if address is not synced.
It allows at end driver level to distinguish
On Wed, Feb 27, 2019 at 08:13:34PM -0800, Florian Fainelli wrote:
On 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote:
The vlan device address is held separately from uc/mc lists and
handled differently. The vlan dev address is bound with real device
address only if it's inherited from init, i
On Wed, Feb 27, 2019 at 08:29:20PM -0800, Florian Fainelli wrote:
On 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote:
IVDF - individual virtual device filtering. Allows to set per vlan
l2 address filters on end real network device (for unicast and for
multicast) and drop redundant not expected
meone can guid where it's applicable, then it could
become a little bit more limited.
Signed-off-by: Ivan Khoronzhuk
---
include/linux/if_vlan.h | 1 +
net/8021q/Kconfig | 12
net/8021q/vlan_core.c | 12
net/8021q/vlan_dev.c| 1 +
net/ethernet/eth.c |
ty to handle macvlan and vlan
ucasts, synchronizing ucast tables for these devices with cpsw ALE
table exclusively.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/cpsw.c | 62 ++
1 file changed, 56 insertions(+), 6 deletions(-)
diff --git a/drivers/net/eth
disabled - mc is updated only for real device as before.
The previous method is harder to reuse and vlan filtering is limited
only for vlans directly connected to real netdev, so drop it in flavor
of IVDF decision.
Signed-off-by: Ivan Khoronzhuk
---
drivers/net/ethernet/ti/Kconfig | 1 +
drivers
By default, vid 0
is used for real devices to distinguish it from virtual addresses.
See next patches to see how it's used.
Signed-off-by: Ivan Khoronzhuk
---
include/linux/netdevice.h | 4 ++
net/core/dev_addr_lists.c | 124 +++---
2 files changed, 1
virtual device
https://lkml.org/lkml/2018/12/3/817
Ivan Khoronzhuk (6):
net: core: dev_addr_lists: add VID to device address
net: 8021q: vlan_dev: add vid tag to addresses of uc and mc lists
net: 8021q: vlan_dev: add vid tag for vlan device own address
ethernet: eth: add default vid len for al
Update vlan mc and uc addresses with VID tag while propagating
addresses to lower devices, do this only if address is not synced.
It allows at end driver level to distinguish addresses belonging
to vlan devices.
Signed-off-by: Ivan Khoronzhuk
---
include/linux/if_vlan.h | 1 +
net/8021q/vlan.h
llows to control and sync vlan device
address and disable concrete vlan packet income when vlan interface is
down.
Signed-off-by: Ivan Khoronzhuk
---
net/8021q/vlan.c | 3 ++
net/8021q/vlan_dev.c | 76 +---
2 files changed, 60 insertions(+), 19 deleti
2958489503fc0ab
Signed-off-by: Ivan Khoronzhuk
---
Based on net/master
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
index ecffebd513be..be1c
eseve it out of loop by inserting it in
iomem_resource.
Fixes: a94e4f24ec83 ("MIPS: init: Drop boot_mem_map")
Signed-off-by: Ivan Khoronzhuk
---
Based on linux-next/master
arch/mips/kernel/setup.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/mips/k
On Sun, Feb 07, 2021 at 11:19:03AM +0800, Jinyang He wrote:
On 02/06/2021 08:59 PM, Ivan Khoronzhuk wrote:
In order to avoid crash kernel corruption, its memory is reserved
early in memblock and as result, in time when resources are inited
it's not present in memblock.memory, so crash k
On Sun, Feb 07, 2021 at 11:18:42AM +0200, Mike Rapoport wrote:
On Sat, Feb 06, 2021 at 12:59:40PM +, Ivan Khoronzhuk wrote:
In order to avoid crash kernel corruption, its memory is reserved
early in memblock and as result, in time when resources are inited
it's not prese
1 - 100 of 744 matches
Mail list logo