Re: [PATCH 08/44] kernel: Move pm_power_off to common code

2014-10-08 Thread Jesper Nilsson
hose, > call do_kernel_poweroff from machine_power_off instead. For the CRIS parts: > arch/cris/kernel/process.c | 4 +--- Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com ___ Li

Re: [PATCH 33/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Jesper Nilsson
to prevent CPUs from going > offline, while invoking from atomic context. > > Cc: Mikael Starvik Acked-by: Jesper Nilsson > Cc: Thomas Gleixner > Cc: linux-cris-ker...@axis.com > Signed-off-by: Srivatsa S. Bhat > --- > > arch/cris/arch-v32/kernel/smp.c |5 +++

Re: [PATCH v6 33/46] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-02-18 Thread Jesper Nilsson
pus_atomic() APIs to prevent CPUs from going offline, > while invoking from atomic context. > > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Srivatsa S. Bhat Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper

Re: [PATCH-RFC 01/10] lib: move GENERIC_IOMAP to lib/Kconfig

2011-11-25 Thread Jesper Nilsson
-off-by: Michael S. Tsirkin For the CRIS part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com signature.asc Description: Digital signature ___ Linuxppc-dev mailing list Linuxppc-dev@list

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Jesper Nilsson
(flush_vma == FLUSH_ALL) > + if (flush_mm == FLUSH_ALL) > + __flush_tlb_all(); > + else if (flush_vma == FLUSH_ALL) > __flush_tlb_mm(flush_mm); > -else > + else > __flush

Re: [PATCH] atomic: add *_dec_not_zero

2011-05-04 Thread Jesper Nilsson
re other non-final patches which may also want to use this macro. For the CRIS-part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozla

Re: [2.6 patch] asm/ptrace.h userspace headers cleanup

2008-06-24 Thread Jesper Nilsson
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> The CRIS parts look ok. Acked-by: Jesper Nilsson <[EMAIL PROTECTED]> /^JN - Jesper Nilsson -- Jesper Nilsson -- [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/4] PCI: Remove redundant pci_dev, pci_bus, resource declarations

2017-10-06 Thread Jesper Nilsson
> Remove the redundant struct pci_dev, pci_bus, resource declarations. > > Signed-off-by: Bjorn Helgaas > --- > arch/alpha/include/asm/pci.h|3 --- > arch/cris/include/asm/pci.h |2 -- For what it's worth, for the cris changes: Acked-by: Jesper Nilss

Re: [PATCH 1/4] PCI: Remove redundant pcibios_set_master() declarations

2017-10-06 Thread Jesper Nilsson
rch/alpha/include/asm/pci.h |2 -- > arch/cris/include/asm/pci.h|1 - For what it's worth, for the cris changes: Acked-by: Jesper Nilsson > arch/frv/include/asm/pci.h |2 -- > arch/mips/include/asm/pci.h|2 -- > arch/mn10300/include/asm/pci.h |2

Re: [PATCH v2 0/7] uapi: export all headers under uapi directories

2017-01-11 Thread Jesper Nilsson
m/Kbuild is also > > used by scripts/Makefile.asm-generic). > > > > This series has been tested with a 'make headers_install' on x86 and a > > 'make headers_install_all'. I've checked the result of both commands. > > > > This patch is built against linus tree. I don't know if it should be > > made against antoher tree. > > The series should probably get merged through the kbuild tree, but testing > it on mainline is fine here. > > Arnd /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 34/67] cris: use dma-direct

2018-01-09 Thread Jesper Nilsson
lwig For CRIS: Acked-by: Jesper Nilsson > --- > arch/cris/Kconfig | 4 ++ > arch/cris/arch-v32/drivers/pci/Makefile | 2 +- > arch/cris/arch-v32/drivers/pci/dma.c| 78 > - > arch/cris/include/asm/Kbuild|

Re: [PATCH 22/67] dma-mapping: clear harmful GFP_* flags in common code

2018-01-09 Thread Jesper Nilsson
On Fri, Dec 29, 2017 at 09:18:26AM +0100, Christoph Hellwig wrote: > Life the code from x86 so that we behave consistently. In the future we > should probably warn if any of these is set. > > Signed-off-by: Christoph Hellwig Acked-by: Jesper Nilsson > --- > arch/cris/ar

Re: [PATCH 05/67] dma-mapping: replace PCI_DMA_BUS_IS_PHYS with a flag in struct dma_map_ops

2018-01-09 Thread Jesper Nilsson
ision. > > Signed-off-by: Christoph Hellwig For the CRIS part: Acked-by: Jesper Nilsson > --- > arch/cris/arch-v32/drivers/pci/dma.c | 1 + > arch/cris/include/asm/pci.h | 6 -- /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH 10/10] mm: replace access_process_vm() write parameter with gup_flags

2016-10-17 Thread Jesper Nilsson
ss this flag. > > We make this explicit as use of FOLL_FORCE can result in surprising behaviour > (and hence bugs) within the mm subsystem. > > Signed-off-by: Lorenzo Stoakes > --- > arch/cris/arch-v32/kernel/ptrace.c | 4 ++-- For the CRIS part: Acked-by: Jespe

Re: [PATCH 06/10] mm: replace get_user_pages() write/force parameters with gup_flags

2016-10-17 Thread Jesper Nilsson
ng behaviour (and hence > bugs) within the mm subsystem. > > Signed-off-by: Lorenzo Stoakes > --- > arch/cris/arch-v32/drivers/cryptocop.c | 4 +--- For the CRIS part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [RFC v3 10/45] cris: dma-mapping: Use unsigned long for dma_attrs

2016-06-03 Thread Jesper Nilsson
On Thu, Jun 02, 2016 at 05:39:12PM +0200, Krzysztof Kozlowski wrote: > Split out subsystem specific changes for easier reviews. This will be > squashed with main commit. Acked-by: Jesper Nilsson > Signed-off-by: Krzysztof Kozlowski /^JN - Jesper Nilsson -- Jespe

Re: [PATCH v12 01/15] PCI: Let pci_mmap_page_range() take extra resource pointer

2016-06-07 Thread Jesper Nilsson
> > Signed-off-by: Yinghai Lu > Cc: linux-arm-ker...@lists.infradead.org For the CRIS part: Acked-by: Jesper Nilsson > diff --git a/arch/cris/arch-v32/drivers/pci/bios.c > b/arch/cris/arch-v32/drivers/pci/bios.c > index 64a5fb9..082efb9 100644 > --- a/arch/cris/arch-v32/

Re: [PATCH v4 15/18] PCI: dwc: Add dw_ prefix to the pcie_port structure name

2022-06-13 Thread Jesper Nilsson
t; + struct dw_pcie_rp *pp; > struct dw_pcie *pci; > struct phy **phys; > char *name; > diff --git a/drivers/pci/controller/dwc/pcie-uniphier.c > b/drivers/pci/controller/dwc/pcie-uniphier.c > index b45ac3754242..48c3eba817b4 100644 > --- a/drivers/pci/controller/dwc/pcie-uniphier.c > +++ b/drivers/pci/controller/dwc/pcie-uniphier.c > @@ -171,7 +171,7 @@ static void uniphier_pcie_irq_enable(struct uniphier_pcie > *pcie) > > static void uniphier_pcie_irq_mask(struct irq_data *d) > { > - struct pcie_port *pp = irq_data_get_irq_chip_data(d); > + struct dw_pcie_rp *pp = irq_data_get_irq_chip_data(d); > struct dw_pcie *pci = to_dw_pcie_from_pp(pp); > struct uniphier_pcie *pcie = to_uniphier_pcie(pci); > unsigned long flags; > @@ -188,7 +188,7 @@ static void uniphier_pcie_irq_mask(struct irq_data *d) > > static void uniphier_pcie_irq_unmask(struct irq_data *d) > { > - struct pcie_port *pp = irq_data_get_irq_chip_data(d); > + struct dw_pcie_rp *pp = irq_data_get_irq_chip_data(d); > struct dw_pcie *pci = to_dw_pcie_from_pp(pp); > struct uniphier_pcie *pcie = to_uniphier_pcie(pci); > unsigned long flags; > @@ -225,7 +225,7 @@ static const struct irq_domain_ops > uniphier_intx_domain_ops = { > > static void uniphier_pcie_irq_handler(struct irq_desc *desc) > { > - struct pcie_port *pp = irq_desc_get_handler_data(desc); > + struct dw_pcie_rp *pp = irq_desc_get_handler_data(desc); > struct dw_pcie *pci = to_dw_pcie_from_pp(pp); > struct uniphier_pcie *pcie = to_uniphier_pcie(pci); > struct irq_chip *chip = irq_desc_get_chip(desc); > @@ -258,7 +258,7 @@ static void uniphier_pcie_irq_handler(struct irq_desc > *desc) > chained_irq_exit(chip, desc); > } > > -static int uniphier_pcie_config_legacy_irq(struct pcie_port *pp) > +static int uniphier_pcie_config_legacy_irq(struct dw_pcie_rp *pp) > { > struct dw_pcie *pci = to_dw_pcie_from_pp(pp); > struct uniphier_pcie *pcie = to_uniphier_pcie(pci); > @@ -295,7 +295,7 @@ static int uniphier_pcie_config_legacy_irq(struct > pcie_port *pp) > return ret; > } > > -static int uniphier_pcie_host_init(struct pcie_port *pp) > +static int uniphier_pcie_host_init(struct dw_pcie_rp *pp) > { > struct dw_pcie *pci = to_dw_pcie_from_pp(pp); > struct uniphier_pcie *pcie = to_uniphier_pcie(pci); > diff --git a/drivers/pci/controller/dwc/pcie-visconti.c > b/drivers/pci/controller/dwc/pcie-visconti.c > index 50f80f07e4db..71026fefa366 100644 > --- a/drivers/pci/controller/dwc/pcie-visconti.c > +++ b/drivers/pci/controller/dwc/pcie-visconti.c > @@ -178,7 +178,7 @@ static void visconti_pcie_stop_link(struct dw_pcie *pci) > */ > static u64 visconti_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 cpu_addr) > { > - struct pcie_port *pp = &pci->pp; > + struct dw_pcie_rp *pp = &pci->pp; > > return cpu_addr & ~pp->io_base; > } > @@ -190,7 +190,7 @@ static const struct dw_pcie_ops dw_pcie_ops = { > .stop_link = visconti_pcie_stop_link, > }; > > -static int visconti_pcie_host_init(struct pcie_port *pp) > +static int visconti_pcie_host_init(struct dw_pcie_rp *pp) > { > struct dw_pcie *pci = to_dw_pcie_from_pp(pp); > struct visconti_pcie *pcie = dev_get_drvdata(pci->dev); > @@ -278,7 +278,7 @@ static int visconti_add_pcie_port(struct visconti_pcie > *pcie, > struct platform_device *pdev) > { > struct dw_pcie *pci = &pcie->pci; > - struct pcie_port *pp = &pci->pp; > + struct dw_pcie_rp *pp = &pci->pp; > > pp->irq = platform_get_irq_byname(pdev, "intr"); > if (pp->irq < 0) > -- > 2.35.1 > /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com

Re: [PATCH RESEND v5 15/18] PCI: dwc: Add dw_ prefix to the pcie_port structure name

2022-06-27 Thread Jesper Nilsson
by: Serge Semin > Reviewed-by: Rob Herring Sorry, I never replied in the thread for the last patch, your reasoning for not changing the parameter name made sense. For the ARTPEC-6 parts, Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nils...@axis.com