Re: [linux, dev-4.10, 6/6] drivers/hwmon: Add a driver for a generic PECI hwmon

2018-01-11 Thread Andrew Lunn
> > >>+static const struct of_device_id peci_of_table[] = { > > >>+ { .compatible = "peci-hwmon", }, > > > > > >This does not look like a reference to some piece of hardware. > > > > > > > This driver provides generic PECI hwmon function to which controller has > > PECI HW such as Aspeed or Nuvoto

Re: [linux, dev-4.10, 6/6] drivers/hwmon: Add a driver for a generic PECI hwmon

2018-01-11 Thread Andrew Lunn
On Thu, Jan 11, 2018 at 03:14:37PM -0800, Jae Hyun Yoo wrote: > On 1/11/2018 2:18 PM, Andrew Lunn wrote: > >>>>>+static const struct of_device_id peci_of_table[] = { > >>>>>+{ .compatible = "peci-hwmon", }, > >>>> >

Re: [PATCH 01/61] gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove

2016-02-22 Thread Andrew Lunn
> +/** > + * devm_gpiochip_add_data() - Resource manager piochip_add_data() ^ missing g. > + * @dev: the device pointer on which irq_chip belongs to. > + * @chip: the chip to register, with chip->base initialized > + * Context: potentially before

Re: [PATCH] [linux-next] Doc: networking: Fix typo in dsa

2016-04-08 Thread Andrew Lunn
On Sat, Apr 09, 2016 at 12:00:25AM +0900, Masanari Iida wrote: > This patch fix typos in Documentation/networking/dsa. > > Signed-off-by: Masanari Iida Reviewed-by: Andrew Lunn Thanks Andrew > --- > Documentation/networking/dsa/bcm_sf2.txt | 2 +- > Documentat

Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface

2017-07-26 Thread Andrew Lunn
On Tue, Jul 25, 2017 at 06:15:44PM +0200, Egil Hjelmeland wrote: > Fixes after testing on actual HW: > > - lan9303_mdio_write()/_read() must multiply register number > by 4 to get offset > > - Indirect access (PMI) to phy register only work in I2C mode. In > MDIO mode phy registers must be ac

Re: [PATCH net-next v2 02/10] net: dsa: lan9303: Do not disable/enable switch fabric port 0 at startup

2017-07-26 Thread Andrew Lunn
On Tue, Jul 25, 2017 at 06:15:45PM +0200, Egil Hjelmeland wrote: > For some mysterious reason enable switch fabric port 0 TX fails to > work, when the TX has previous been disabled. Resolved by not > disable/enable switch fabric port 0 at startup. Port 1 and 2 are > still disabled in early init. >

Re: [PATCH net-next v2 04/10] net: dsa: lan9303: Added adjust_link() method

2017-07-26 Thread Andrew Lunn
On Tue, Jul 25, 2017 at 06:15:47PM +0200, Egil Hjelmeland wrote: > This makes the driver react to device tree "fixed-link" declaration > on CPU port. > > - turn off autonegotiation > - force speed 10 or 100 mb/s > - force duplex mode > > Signed-off-by: Egil Hjelmeland > --- > drivers/net/dsa/la

Re: [PATCH net-next v2 06/10] net: dsa: lan9303: added sysfs node swe_bcst_throt

2017-07-26 Thread Andrew Lunn
On Tue, Jul 25, 2017 at 06:15:49PM +0200, Egil Hjelmeland wrote: > Allowing per-port access to Switch Engine Broadcast Throttling Register Hi Egil In general, we are against using sysfs. If there is a generic mechanism, that applies for all sorts of network interfaces, it should be used instead o

Re: [PATCH net-next v2 07/10] net: dsa: lan9303: Added basic offloading of unicast traffic

2017-07-26 Thread Andrew Lunn
Hi Egil > +/* forward special tagged packets from port 0 to port 1 *or* port 2 */ > +static int lan9303_setup_tagging(struct lan9303 *chip) > +{ > + int ret; Blank line please. > + /* enable defining the destination port via special VLAN tagging > + * for port 0 > + */ > +

Re: [PATCH net-next v2 08/10] net: dsa: lan9303: Added ALR/fdb/mdb handling

2017-07-26 Thread Andrew Lunn
Hi Egil > +/* This function will wait a while until mask & reg == value */ > +/* Otherwise, return timeout */ > +static int lan9303_csr_reg_wait(struct lan9303 *chip, int regno, > + int mask, char value) > +{ > + int i; > + > + for (i = 0; i < 0x1000; i++) { > +

Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface

2017-07-26 Thread Andrew Lunn
> > So I really want to group the patches into only a few series in order > > to not spend months on the process. I strongly agree with Vivien here. Good patches get accepted in about 3 days. You should expect feedback within a day or two. That allows you to have fast cycle times for getting patch

Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface

2017-07-26 Thread Andrew Lunn
> Good. Just one question about process. Could I have posted my work > as a RFC? To get one round of initial feedback before chopping into > small patch requests. As well as indicating where I am heading. Or is > that just waste of human bandwidth? Depends. Post 100 RFC patches, i won't look at th

Re: [PATCH net-next v2 06/10] net: dsa: lan9303: added sysfs node swe_bcst_throt

2017-07-27 Thread Andrew Lunn
> Yes, this setting can be used to reduce effect of broadcast storms. So one way to solve this is to teach the software bridge about broadcast storm control. Put some rate limiting into its broadcast flood handling. Then add a switchdev call which passes this down into the switch. Or look at doin

Re: [PATCH net-next v2 07/10] net: dsa: lan9303: Added basic offloading of unicast traffic

2017-07-27 Thread Andrew Lunn
> >I think you are over-simplifying here. Say i have a layer 2 VPN and i > >bridge port 1 and the VPN? The software bridge still wants to do STP > >on port 1, in order to solve loops. > > > > Problem is that the mainline lan9303_separate_ports() does its > work by setting port 1 & 2 in STP BLOCKIN

Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface

2017-07-28 Thread Andrew Lunn
On Fri, Jul 28, 2017 at 01:08:25PM +0200, Egil Hjelmeland wrote: > On 26. juli 2017 18:55, Andrew Lunn wrote: > >On Tue, Jul 25, 2017 at 06:15:44PM +0200, Egil Hjelmeland wrote: > >It is better to use mdiobus_read/write or if you are nesting mdio > >busses, mdiobus_read_nested

Re: [PATCH v2 1/8] [PATCH 1/8] drivers/peci: Add support for PECI bus driver core

2018-02-21 Thread Andrew Lunn
> +static int peci_locked_xfer(struct peci_adapter *adapter, > + struct peci_xfer_msg *msg, > + bool do_retry, > + bool has_aw_fcs) > +{ > + ktime_t start, end; > + s64 elapsed_ms; > + int rc = 0; > + > + if (!a

Re: [PATCH v2 2/8] [PATCH 2/8] Documentations: dt-bindings: Add a document of PECI adapter driver for Aspeed AST24xx/25xx SoCs

2018-02-21 Thread Andrew Lunn
On Wed, Feb 21, 2018 at 08:16:00AM -0800, Jae Hyun Yoo wrote: > This commit adds a dt-bindings document of PECI adapter driver for Aspeed > AST24xx/25xx SoCs. Hi Jae It would be good to separate this into two. One binding document for a generic adaptor, with a generic PECI bus, and generic client

Re: [PATCH v2 1/8] [PATCH 1/8] drivers/peci: Add support for PECI bus driver core

2018-02-21 Thread Andrew Lunn
> >Is there a real need to do transfers in atomic context, or with > >interrupts disabled? > > > > Actually, no. Generally, this function will be called in sleep-able context > so this code is for an exceptional case handling. > > I'll rewrite this code like below: > if (in_atomic() || irqs

Re: [PATCH v2 7/8] [PATCH 7/8] drivers/hwmon: Add a generic PECI hwmon client driver

2018-02-21 Thread Andrew Lunn
> But even with this change, it still needs to use delayed creation > because BMC side kernel doesn't know how many DIMMs are populated on > a remote server before the remote server completes its memory > training and testing in BIOS, but it needs to check the remote > server's CPU temperature as i

Re: [PATCH v2 2/8] [PATCH 2/8] Documentations: dt-bindings: Add a document of PECI adapter driver for Aspeed AST24xx/25xx SoCs

2018-03-06 Thread Andrew Lunn
On Tue, Mar 06, 2018 at 01:40:02PM +0100, Pavel Machek wrote: > Hi! > > > Signed-off-by: Jae Hyun Yoo > > --- > > .../devicetree/bindings/peci/peci-aspeed.txt | 73 > > ++ > > 1 file changed, 73 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/pe

Re: [PATCH] Documentation: networking: dsa: Update tagging protocols

2016-11-04 Thread Andrew Lunn
On Fri, Nov 04, 2016 at 01:16:14PM +0100, Fabian Mewes wrote: > Add Qualcomm QCA tagging introduced in cafdc45c9 to the > list of supported protocols. > > Signed-off-by: Fabian Mewes Thanks Reviewed-by: Andrew Lunn Andrew -- To unsubscribe from this list: send the line "

Re: [Ksummit-discuss] Including images on Sphinx documents

2016-11-19 Thread Andrew Lunn
> Rather than beating our heads against the wall trying to convert between > various image formats, maybe we need to take a step back. We're trying > to build better documentation, and there is certainly a place for > diagrams and such in that documentation. Johannes was asking about it > for the

Re: [PATCH net-next] doc: phy: document some PHY_INTERFACE_MODE_xxx settings

2019-06-21 Thread Andrew Lunn
; Signed-off-by: Russell King Reviewed-by: Andrew Lunn Andrew

Re: [PATCH 2/2] doc: add phylink documentation to the networking book

2019-02-05 Thread Andrew Lunn
On Tue, Feb 05, 2019 at 03:58:20PM +, Russell King wrote: > Add some phylink documentation to the networking book detailing how > to convert network drivers from phylib to phylink. > > Signed-off-by: Russell King Reviewed-by: Andrew Lunn Andrew

Re: [PATCH 2/2] doc: add phylink documentation to the networking book

2019-02-13 Thread Andrew Lunn
> > +For information describing the SFP cage in DT, please see the binding > > +documentation in the kernel source tree > > +``Documentation/devicetree/bindings/net/sff,sfp.txt`` > oh, so SFP means "Small Form-factor Pluggable". > > I see that this source file: > ./drivers/net/ethernet/intel/i40e/

Re: [PATCH trivial] Documentation: net: dsa: Grammar s/the its/its/

2019-06-07 Thread Andrew Lunn
On Fri, Jun 07, 2019 at 01:08:42PM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Reviewed-by: Andrew Lunn Andrew

Re: [PATCH net-next] net: phylink: clarify where phylink should be used

2019-09-14 Thread Andrew Lunn
On Sat, Sep 14, 2019 at 10:44:04AM +0100, Russell King wrote: > Update the phylink documentation to make it clear that phylink is > designed to be used on the MAC facing side of the link, rather than > between a SFP and PHY. > > Signed-off-by: Russell King Reviewed-by: Andrew Lunn Andrew

Re: [PATCH net] docs: netdev: try to guide people on dealing with silence

2023-11-18 Thread Andrew Lunn
> +On the other hand, due to the volume of development discussions on netdev > +are very unlikely to be reignited after a week of silence. My English parse falls over on 'are', and wants to backtrack and try alternatives. Maybe: On the other hand, due to the volume of development discussions on

Re: [PATCH v3] docs: dt-bindings: add DTS Coding Style document

2023-11-25 Thread Andrew Lunn
> += > +Devicetree Sources (DTS) Coding Style > += > + > +When writing Devicetree Sources (DTS) please observe below guidelines. They > +should be considered complementary to any rules expressed already in > Devicetree > +Spe

Re: [PATCH v3] docs: dt-bindings: add DTS Coding Style document

2023-11-26 Thread Andrew Lunn
On Sun, Nov 26, 2023 at 11:38:38AM +0100, Krzysztof Kozlowski wrote: > On 25/11/2023 20:47, Andrew Lunn wrote: > >> += > >> +Devicetree Sources (DTS) Coding Style > >> += > >> + >

Re: [PATCH net-next v13 2/4] ethtool: provide customized dim profile management

2024-05-14 Thread Andrew Lunn
> One more friendly request, I see net-next is closed today, but our downstream > kernel release deadline is 5.20, so I want to test and release the new v14 > today, > is it ok? 5.20? Didn't Linus run out of fingers and thumbs and went from 5.19 to 6.0? Anyway, this is your internal issue, since

Re: [PATCH net] docs: netdev: Fix typo in Signed-off-by tag

2024-05-27 Thread Andrew Lunn
On Mon, May 27, 2024 at 12:36:19PM +0200, Thorsten Blum wrote: > s/of/off/ > > Signed-off-by: Thorsten Blum Good catch. Please could you add a Fixes: tag. And a Cc: stable tag. The file you are patching discusses all this :-) Thanks Andrew --- pw-bot: cr