Re: [PATCH 08/16] libata: zpodd: convert timeouts to secs_to_jiffies()

2025-01-28 Thread Damien Le Moal
iharan The subject line should be: ata: libata-zpodd: convert timeouts to secs_to_jiffies() Other than that, looks good to me. Acked-by: Damien Le Moal > --- > drivers/ata/libata-zpodd.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > &g

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Damien Le Moal
ata_dev_warn(dev, "%s is not supported for %s\n", >modestr, list[i]); Looks good to me. Acked-by: Damien Le Moal# drivers/ata/ -- Damien Le Moal Western Digital Research

Re: [RESEND v7 14/37] clk: Compatible with narrow registers

2024-04-05 Thread Damien Le Moal
gt;> struct clk_hw *__devm_clk_hw_register_divider(struct device *dev, >> struct device_node *np, const char *name, >> const char *parent_name, const struct clk_hw *parent_hw, >> const struct clk_parent_data *parent_data, unsigned long >> flags, >> - void __iomem *reg, u8 shift, u8 width, u8 clk_divider_flags, >> + void __iomem *reg, u8 shift, u8 width, u32 clk_divider_flags, > > Likewise. > >> const struct clk_div_table *table, spinlock_t *lock); >> struct clk *clk_register_divider_table(struct device *dev, const char *name, >> const char *parent_name, unsigned long flags, >> void __iomem *reg, u8 shift, u8 width, >> - u8 clk_divider_flags, const struct clk_div_table *table, >> + u32 clk_divider_flags, const struct clk_div_table *table, > > Likewise. > >> spinlock_t *lock); >> /** >> * clk_register_divider - register a divider clock with the clock framework > > Gr{oetje,eeting}s, > > Geert > -- Damien Le Moal Western Digital Research

Re: [DO NOT MERGE v6 27/37] dt-bindings: ata: ata-generic: Add new targets

2024-01-09 Thread Damien Le Moal
On 1/10/24 16:19, Krzysztof Kozlowski wrote: > On 10/01/2024 03:06, Damien Le Moal wrote: >> On 1/9/24 17:23, Yoshinori Sato wrote: >>> Added new ata-generic target. >>> - iodata,usl-5p-ata >>> - renesas,rts7751r2d-ata >>> >>> Each bo

Re: [DO NOT MERGE v6 27/37] dt-bindings: ata: ata-generic: Add new targets

2024-01-09 Thread Damien Le Moal
On 1/9/24 17:23, Yoshinori Sato wrote: > Added new ata-generic target. > - iodata,usl-5p-ata > - renesas,rts7751r2d-ata > > Each boards have simple IDE Interface. Use ATA generic driver. This looks OK to me, so feel free to add: Acked-by: Damien Le Moal Note: The "DO NOT

Re: [PATCH v3 28/49] dm zoned: dynamically allocate the dm-zoned-meta shrinker

2023-07-27 Thread Damien Le Moal
On 7/28/23 07:59, Dave Chinner wrote: > On Thu, Jul 27, 2023 at 07:20:46PM +0900, Damien Le Moal wrote: >> On 7/27/23 17:55, Qi Zheng wrote: >>>>>   goto err; >>>>>   } >>>>>   +    zmd->mblk_shrinker->count_object

Re: [PATCH v3 28/49] dm zoned: dynamically allocate the dm-zoned-meta shrinker

2023-07-27 Thread Damien Le Moal
in more code in many places instead of less code + a simple inline helper in the shrinker header file... So not adding that super simple helper is not exactly the best choice in my opinion. -- Damien Le Moal Western Digital Research

Re: [PATCH v3 28/49] dm zoned: dynamically allocate the dm-zoned-meta shrinker

2023-07-27 Thread Damien Le Moal
ation. > + > dmz_zmd_info(zmd, "DM-Zoned metadata version %d", zmd->sb_version); > for (i = 0; i < zmd->nr_devs; i++) > dmz_print_dev(zmd, i); > @@ -2995,7 +2999,7 @@ int dmz_ctr_metadata(struct dmz_dev *dev, int num_dev, > */ > void dmz_dtr_metadata(struct dmz_metadata *zmd) > { > - unregister_shrinker(&zmd->mblk_shrinker); > + shrinker_free(zmd->mblk_shrinker); > dmz_cleanup_metadata(zmd); > kfree(zmd); > } -- Damien Le Moal Western Digital Research

Re: [PATCH] PCI: Add ASPEED vendor ID

2023-04-20 Thread Damien Le Moal
On 4/21/23 04:10, Bjorn Helgaas wrote: > [+cc Damien, linux-ide] > > On Thu, Apr 20, 2023 at 09:08:48AM +0200, Thomas Zimmermann wrote: >> Am 19.04.23 um 20:37 schrieb Bjorn Helgaas: >>> On Wed, Apr 19, 2023 at 09:00:15AM +0200, Thomas Zimmermann wrote: Am 19.04.23 um 00:57 schrieb Patrick Mc

Re: [PATCH 2/2] ata: libata-core: Apply ATI NCQ horkage to ASPEED as well

2023-04-18 Thread Damien Le Moal
On 4/18/23 14:24, Christoph Hellwig wrote: > On Mon, Apr 17, 2023 at 06:17:20PM -0700, Patrick McLean wrote: >> We have some machines with ASPEED SATA controllers, and are seeing the same >> NCQ >> issues that ATI controllers (I am not sure if it's a rebranded ATI >> controller, >> or they both h

Re: [PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems

2022-08-25 Thread Damien Le Moal
On 8/25/22 20:33, Krzysztof Kozlowski wrote: > minItems, if missing, are implicitly equal to maxItems, so drop > redundant piece to reduce size of code. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Damien Le Moal > --- > Documentation/devicetree/bindings/ata/brcm,sata-b

Re: [PATCH v5 04/13] dt-bindings: memory-controllers: add canaan k210 sram controller

2022-07-10 Thread Damien Le Moal
>> + - description: sram0 clock >> + - description: sram1 clock >> + - description: aisram clock >> + >> + clock-names: >> +minItems: 1 >> +items: >> + - const: sram0 >> + - const: sram1 >> + - const: aisram >> + >> +required: >> + - compatible >> + - clocks >> + - clock-names >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> +#include >> +memory-controller { >> +compatible = "canaan,k210-sram"; >> +clocks = <&sysclk K210_CLK_SRAM0>, >> + <&sysclk K210_CLK_SRAM1>, >> + <&sysclk K210_CLK_AI>; >> +clock-names = "sram0", "sram1", "aisram"; >> +}; >> -- >> 2.37.0 >> > -- Damien Le Moal Western Digital Research

Re: [PATCH v5 00/13] Canaan devicetree fixes

2022-07-06 Thread Damien Le Moal
y "programmer" or something like > that. > -- Linus Torvalds > > ___ > linux-riscv mailing list > linux-ri...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv -- Damien Le Moal Western Digital Research

Re: [PATCH v3 00/15] Canaan devicetree fixes

2022-07-01 Thread Damien Le Moal
you. > > Conor seem to have issue with this commit[2], so if you get issues try to > check if [3] works. > > Regards, > Sudeep > > [1] https://git.kernel.org/sudeep.holla/c/ae85abf284e7 > [2] https://git.kernel.org/sudeep.holla/c/155bd845d17b > [3] https://git.kernel.org/sudeep.holla/c/009297d29faa -- Damien Le Moal Western Digital Research

Re: [PATCH 06/14] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width for dwc-ssi

2022-06-21 Thread Damien Le Moal
On 6/21/22 07:49, Conor Dooley wrote: > > > On 20/06/2022 23:46, Damien Le Moal wrote: >> On 6/21/22 06:06, conor.doo...@microchip.com wrote: >>> On 20/06/2022 21:56, Serge Semin wrote: >>>> EXTERNAL EMAIL: Do not click links or open attachments unles

Re: [PATCH 06/14] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width for dwc-ssi

2022-06-21 Thread Damien Le Moal
ndependent "patternProperties" here but just extend >> the set of acceptable "spi-rx-bus-width" and "spi-tx-bus-width" >> properties values. > > SGTM! > >> >> Note the DW APB SSI/AHB SSI driver currently doesn't support the >> enhanced SPI modes. So I am not sure whether the multi-lines Rx/Tx SPI >> bus indeed works for Canaan K210 AHB SSI controller. AFAICS from the >> DW APB SSI v4.01a manual the Enhanced SPI mode needs to be properly >> activated by means of the corresponding CSR. So most likely the DW AHB >> SSI controllers need some specific setups too. > > hmm, well I'll leave that up to people that have Canaan hardware! I will test this series. > Thanks, > Conor. > >> >> -Sergey >> >>> >>> unevaluatedProperties: false >>> >>> -- >>> 2.36.1 >>> > -- Damien Le Moal Western Digital Research

Re: [PATCH 07/14] riscv: dts: canaan: fix the k210's memory node

2022-06-20 Thread Damien Le Moal
On 6/20/22 08:54, conor.doo...@microchip.com wrote: > On 20/06/2022 00:38, Damien Le Moal wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 6/18/22 21:30, Conor Dooley wrote: >>> From: Conor Dooley

Re: [PATCH 07/14] riscv: dts: canaan: fix the k210's memory node

2022-06-20 Thread Damien Le Moal
itialize the aisram. Sure the kernel actually does not use this, but to be in sync with u-boot DT, I would prefer keeping this as is. Right now, u-boot *and* the kernel work fine with both u-boot internal DT and the kernel DT. -- Damien Le Moal Western Digital Research

Re: [PATCH 13/48] ARM: pxa: use pdev resource for palmld mmio

2022-04-20 Thread Damien Le Moal
rs/ata/pata_palmld.c > +++ b/drivers/ata/pata_palmld.c > @@ -25,7 +25,6 @@ > #include > > #include > -#include > > #define DRV_NAME "pata_palmld" > > @@ -63,7 +62,7 @@ static int palmld_pata_probe(struct platform_device *pdev) > return -ENOMEM; > > /* remap drive's physical memory address */ > - mem = devm_ioremap(dev, PALMLD_IDE_PHYS, 0x1000); > + mem = devm_platform_ioremap_resource(pdev, 0); > if (!mem) > return -ENOMEM; > Acked-by: Damien Le Moal -- Damien Le Moal Western Digital Research

Re: [PATCH RFC PKS/PMEM 26/58] fs/zonefs: Utilize new kmap_thread()

2020-10-12 Thread Damien Le Moal
On 2020/10/10 4:52, ira.we...@intel.com wrote: > From: Ira Weiny > > The kmap() calls in this FS are localized to a single thread. To avoid > the over head of global PKRS updates use the new kmap_thread() call. > > Cc: Damien Le Moal > Cc: Naohiro Aota > Signed-off-by