linux_dsm_epyc7002/drivers/net/ethernet/renesas
Kazuya Mizuguchi 2fe397a395 ravb: do not write 1 to reserved bits
EtherAVB hardware requires 0 to be written to status register bits in
order to clear them, however, care must be taken not to:

1. Clear other bits, by writing zero to them
2. Write one to reserved bits

This patch corrects the ravb driver with respect to the second point above.
This is done by defining reserved bit masks for the affected registers and,
after auditing the code, ensure all sites that may write a one to a
reserved bit use are suitably masked.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-18 20:09:57 -07:00
..
Kconfig ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
Makefile ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
ravb_main.c ravb: do not write 1 to reserved bits 2018-09-18 20:09:57 -07:00
ravb_ptp.c ravb: do not write 1 to reserved bits 2018-09-18 20:09:57 -07:00
ravb.h ravb: do not write 1 to reserved bits 2018-09-18 20:09:57 -07:00
sh_eth.c sh_eth: Add R7S9210 support 2018-08-29 18:10:28 -07:00
sh_eth.h net: ethernet: renesas: use SPDX identifier for Renesas drivers 2018-08-22 21:37:27 -07:00