On Thu, 2013-03-21 at 12:48 +0200, Heikki Krogerus wrote:
> fifosize property is already used with a number of serial
> devices. This should reduce the need for extra types in
> 8250.c just in case the fifosize differs from the standard.
>
> Signed-off-by: Heikki Krogerus
> ---
> Documentation/d
Any comment or feedback for this patch?
On Fri, 2013-05-24 at 17:36 +0800, Ley Foon Tan wrote:
> This patch adds address translation to fdt. It is needed when the early
> console is connected to a simple-bus (bridge) that has address translation
> enabled.
>
> Walter Goossens
On Thu, 2013-03-21 at 15:24 +0200, Heikki Krogerus wrote:
> Hi,
>
> On Thu, Mar 21, 2013 at 07:41:39PM +0800, Ley Foon Tan wrote:
> > On Thu, 2013-03-21 at 12:48 +0200, Heikki Krogerus wrote:
> > > + /* Check for fifo size */
> > > + if (of_property_rea
On Fri, 2013-03-22 at 10:05 +0200, Heikki Krogerus wrote:
> This will reduce the need for extra types in 8250.c just
> in case the fifo size differs from the standard.
Besides the fifo size, we need to have hardware flow control setting
from device tree as well.
Thanks.
>
> Signed-off-by: Heikki K
This patch is to add Altera System ID driver.
User can obtain the system ID and timestamp of the system by
reading the sysfs entry.
Usage:
cat /sys/bus/platform/devices/[addr].sysid/sysid/id
cat /sys/bus/platform/devices/[addr].sysid/sysid/timestamp
Signed-off-by: Ley Foon Tan
On Mon, 2013-03-04 at 11:44 +0800, Greg Kroah-Hartman wrote:
> On Mon, Mar 04, 2013 at 03:32:19AM +, Arnd Bergmann wrote:
> > On Monday 04 March 2013, Ley Foon Tan wrote:
> > > This patch is to add Altera System ID driver.
> > > User can obtain the system ID and
On Mon, 2013-03-04 at 12:55 +, Arnd Bergmann wrote:
> On Monday 04 March 2013, Ley Foon Tan wrote:
> > This IP core is not in the SoC. This core is in the FPGA and can be
> > accessed by the Nios II processor or accessed by SOCFPGA processor (ARM
> > based) via its inte
Change KBUILD_CFLAGS to -O0 in Makefile and got the compilation error as
below.
Is the Linux kernel support -O0 optimization flag?
Note, I have tried 2 architecture compilers and got the same error.
In function 'zap_pmd_range',
inlined from 'zap_pud_range' at mm/memory.c:1288:8,
inli
On Mon, 2013-04-15 at 13:16 +0200, richard -rw- weinberger wrote:
> No. If I'm not mistaken we need this to make sure that the compiler
> inlines some functions.
>
> In your case the compiler failed to compute the BUILD_BUG() macro correctly.
> It depends also on optimization.
>
Thank you.
So, t
enhancements
on translation functions.
Reviewed-by: Walter Goossens
Signed-off-by: Ley Foon Tan
---
drivers/of/fdt.c | 188
include/linux/of_fdt.h |2 +
2 files changed, 190 insertions(+), 0 deletions(-)
diff --git a/drivers/of/fdt.c b/drivers/of
Need advise regarding the generic syscall ABI support.
We are planning to upstream our Nios II kernel (arch/nios2) to mainline.
But it doesn't support generic syscall ABI yet (It requires an updated
Glibc port as well).
The question is, is it a requirement for new arch to support generic
syscall
On Thu, 2013-03-28 at 07:44 +, Arnd Bergmann wrote:
> Yes, absolutely. What a couple of the previous architectures have done is
> to keep out of tree patches for their old ABI for a while, and to submit
> only code that follows the generic ABI upstream. Usually it doesn't take
> long for users
On Thu, 2013-03-28 at 10:40 +, Arnd Bergmann wrote:
> On Thursday 28 March 2013, Ley Foon Tan wrote:
> > We will working on generic ABI for kernel and Glibc. This might take
> > some times.
>
> Ok. Don't let that hold you up from submitting the kernel p
On Thu, 2013-03-28 at 21:53 -0700, H. Peter Anvin wrote:
> On 03/28/2013 09:41 PM, Rob Landley wrote:
> >
> > You don't need a new glibc port, you need a new klibc or musl port.
> >
> > http://www.openwall.com/lists/musl/2012/07/08/1
> >
> > Way less work than getting glibc working for your ba
Add support for Altera 8250/16550 compatible serial port.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/tty/serial/of-serial.txt |3 ++
drivers/tty/serial/8250/8250.c | 23 +++-
drivers/tty/serial/of_serial.c |6
On Tue, 2013-03-05 at 21:59 +, Arnd Bergmann wrote:
> On Tuesday 05 March 2013, Ley Foon Tan wrote:
> > The sysid give the unique system ID and system generation timestamp of
> > the system.
> >
> > CASE 1:
> > SOCFPGA SoC + Sysid component in FPGA
> >
On Tue, Jul 12, 2016 at 6:19 PM, Ley Foon Tan wrote:
>
> On Tue, Jun 21, 2016 at 4:53 PM, Ley Foon Tan wrote:
> >
> > This 2 patches fix the issue before and after retrain link.
> >
> > Ley Foon Tan (2):
> > PCI: altera: check link status before retrain link
Checking for link up status before retrain link.
Note, moves altera_pcie_link_is_up() and its dependency functions
to top of file.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 36
1 file changed, 20 insertions(+), 16 deletions(-)
diff
Some PCIe devices take longer time to reach link up state after retrain.
This patch polling for link up status after retrain the link. This is to
make sure the link is stable and up before we access to configuration space
registers after this.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host
This 2 patches fix the issue before and after retrain link.
Ley Foon Tan (2):
PCI: altera: check link status before retrain link
PCI: altera: Polling for link up status after retrain the link
drivers/pci/host/pcie-altera.c | 48 +++---
1 file changed, 31
On Fri, Aug 26, 2016 at 9:47 AM, Ley Foon Tan wrote:
> Altera PCIe IP can be configured as rootport or device and they might have
> same vendor ID. It will cause the system hang issue if Altera PCIe is in
> endpoint mode and work with other PCIe rootport that from other vendors.
>
&
On Mon, Aug 22, 2016 at 11:47 PM, Bjorn Helgaas wrote:
> On Fri, Aug 19, 2016 at 04:24:38PM +0800, Ley Foon Tan wrote:
>> Altera PCIe IP can be configured as rootport or device and they might have
>> same vendor ID. It will cause the system hang issue if Altera PCIe is in
>&
On Thu, Aug 25, 2016 at 1:54 AM, Bjorn Helgaas wrote:
> [+cc Ray, Scott, Jon, bcm-kernel-feedback-list]
>
> On Wed, Aug 24, 2016 at 03:07:52PM +0800, Ley Foon Tan wrote:
>> On Mon, Aug 22, 2016 at 11:47 PM, Bjorn Helgaas wrote:
>> > On Fri, Aug 19, 2016 at 04:24:38PM +
_altera_pcie_cfg_read() and _altera_pcie_cfg_write() to use struct
altera_pcie as argument instead of struct pci_bus.
Signed-off-by: Ley Foon Tan
---
v2: change to check PCIe type is PCI_EXP_TYPE_ROOT_PORT
v3: Move retrain function to before pci_scan_root_bus and remove _FIXUP
---
drivers/pci/host
On Thu, Aug 25, 2016 at 9:56 PM, Bjorn Helgaas wrote:
> On Thu, Aug 25, 2016 at 01:59:56PM +0800, Ley Foon Tan wrote:
>> Altera PCIe IP can be configured as rootport or device and they might have
>> same vendor ID. It will cause the system hang issue if Altera PCIe is in
>> e
-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 151 +
1 file changed, 91 insertions(+), 60 deletions(-)
diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c
index 34e6258..4ca50a2 100644
--- a/drivers/pci/host/pcie-altera.c
_FIXUP to altera_pcie_host_init().
History:
v2: change to check PCIe type is PCI_EXP_TYPE_ROOT_PORT
v3: Move retrain function to before pci_scan_root_bus and remove _FIXUP
v4: Split patch to 2 patches
Ley Foon Tan (2):
PCI: altera: Rework configs accessors
PCI: altera: Move retrain from
On Wed, Aug 10, 2016 at 8:27 PM, Tobias Klauser wrote:
> Use of_property_read_bool instead of open-coding it as fpcu_has. Convert
> the members of struct cpuinfo from u32 to bool accordingly as they are
> only used as boolean anyhow.
>
> Signed-off-by: Tobias Klauser
Acked-b
Rework configs accessors so a future patch can use them in _probe()
with struct altera_pcie instead of struct pci_bus.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 64 +++---
1 file changed, 41 insertions(+), 23 deletions(-)
diff --git a
or ID
[1]: https://lkml.org/lkml/2015/7/23/172
History:
---
[v1]: https://lkml.org/lkml/2015/7/28/395
[v2]: https://lkml.org/lkml/2015/7/31/267
[v3]: http://www.kernelhub.org/?msg=811940&p=2
[v4]: https://lkml.org/lkml/2015/8/17/141
[v5]: https://lkml.org/lkml/2015/8/25/238
Ley Foon Tan (6):
arm
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN.
This to fix compilation error:
"include/linux/msi.h:123:21: fatal error: asm/msi.h:
No such file or directory"
Signed-off-by: Ley Foon Tan
---
arch/arm/include/asm/Kbuild | 1 +
1 file changed, 1 insertion(+)
diff --
Signed-off-by: Ley Foon Tan
---
include/linux/pci_ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index fcff8f8..9e62bcc 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1550,6 +1550,8 @@
#define
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 593 +
3 files changed, 602 insertions(+)
create mode
This patch adds the bindings for Altera PCIe host controller driver and
Altera PCIe MSI driver.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/pci/altera-pcie-msi.txt| 28 +
.../devicetree/bindings/pci/altera-pcie.txt| 49 ++
2 files changed
This patch adds Altera PCIe MSI driver. This soft IP supports configurable
number of vectors, which is a dts parameter.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b60e2b2..d70fe18 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7780,6 +7780,14 @@ F: include/linux/pci*
F: arch/x86/pci/
F: arch/x86
On Mon, Oct 12, 2015 at 8:03 PM, Arnd Bergmann wrote:
>
> On Friday 09 October 2015 18:15:40 Bjorn Helgaas wrote:
> >
> > I don't know if this should be a kernel taint, a simple warning in
> > dmesg, or what. I guess the tainting mechanism is probably too
> > general-purpose for this, and add_tai
/31/267
[v3]: http://www.kernelhub.org/?msg=811940&p=2
[v4]: https://lkml.org/lkml/2015/8/17/141
[v5]: https://lkml.org/lkml/2015/8/25/238
[v6]: https://lkml.org/lkml/2015/9/1/177
[v7]: https://lkml.org/lkml/2015/9/20/193
[v8]: http://www.kernelhub.org/?msg=853553&p=2
Ley Foon Tan (6):
arm
Signed-off-by: Ley Foon Tan
---
include/linux/pci_ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index d9ba49c..08e4462 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1550,6 +1550,8 @@
#define
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 7 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 592 +
3 files changed, 600
This patch adds Altera PCIe MSI driver. This soft IP supports configurable
number of vectors, which is a dts parameter.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5f46784..0f55f38 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7943,6 +7943,14 @@ F: include/linux/pci*
F: arch/x86/pci/
F: arch/x86
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN.
This to fix compilation error:
"include/linux/msi.h:123:21: fatal error: asm/msi.h:
No such file or directory"
Signed-off-by: Ley Foon Tan
---
arch/arm/include/asm/Kbuild | 1 +
1 file changed, 1 insertion(+)
diff --
This patch adds the bindings for Altera PCIe host controller driver and
Altera PCIe MSI driver.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/pci/altera-pcie-msi.txt| 28 +
.../devicetree/bindings/pci/altera-pcie.txt| 49 ++
2 files changed
Add the generic #define and functions that required by the PCI framework.
Architecture pci.h can overwrite with their implementation if needed.
Signed-off-by: Ley Foon Tan
---
include/asm-generic/pci.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a
set IO_SPACE_LIMIT to 0x
- nios2: remove arch/nios2/include/asm/pci.h and use asm-generic pci.h
- pci: add include to pci.c
- asm-generic: add pci generic functions/defines to pci.h
History
---
[v1]: https://lkml.org/lkml/2015/9/22/44
Ley Foon Tan (4):
asm-generic: add pci required defi
Include explicitly, it depends on architecture's pci.h
to include it before this. It cause compilation error when we move to
asm-generic pci.
Signed-off-by: Ley Foon Tan
---
drivers/pci/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
nios2 requires setup-irq.o to provide pci_fixup_irqs() implementation.
Signed-off-by: Ley Foon Tan
---
drivers/pci/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index be3f631..282b1b4 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci
This patch add pcie support on nios2 platform.
Signed-off-by: Ley Foon Tan
---
arch/nios2/Kconfig| 21 +
arch/nios2/include/asm/Kbuild | 1 +
arch/nios2/include/asm/io.h | 12 ++--
arch/nios2/kernel/Makefile| 1 +
arch/nios2/kernel/pci.c
On Wed, Oct 14, 2015 at 4:20 PM, Arnd Bergmann wrote:
> On Wednesday 14 October 2015 10:41:29 Ley Foon Tan wrote:
>> +static int altera_pcie_remove(struct platform_device *pdev)
>> +{
>> + struct altera_pcie *pcie = platform_get_drvdata(pdev);
>> +
>> +
On Wed, Oct 14, 2015 at 5:09 PM, Arnd Bergmann wrote:
> On Wednesday 14 October 2015 16:32:25 Ley Foon Tan wrote:
>> On Wed, Oct 14, 2015 at 4:20 PM, Arnd Bergmann wrote:
>> > On Wednesday 14 October 2015 10:41:29 Ley Foon Tan wrote:
>> >> +static int altera_pcie
On Wed, Oct 14, 2015 at 5:36 PM, Arnd Bergmann wrote:
> On Wednesday 14 October 2015 17:28:45 Ley Foon Tan wrote:
>> On Wed, Oct 14, 2015 at 5:09 PM, Arnd Bergmann wrote:
>> > On Wednesday 14 October 2015 16:32:25 Ley Foon Tan wrote:
>> >> On Wed, Oct 14, 2015 at
On Tue, Sep 8, 2015 at 5:19 PM, Lorenzo Pieralisi
wrote:
> On Fri, Sep 04, 2015 at 09:29:14AM +0100, Ley Foon Tan wrote:
>> On Wed, Sep 2, 2015 at 12:33 AM, Lorenzo Pieralisi
>> wrote:
>
> [...]
>
>> > > +static bool altera_pcie_v
pdate nios2 git repo
Bernd Weiberg (2):
nios2: fixed variable imm16 to s16
nios2: remove unused statistic counters
Chee Nouk Phoon (2):
nios2: Add Max10 device tree
nios2: add Max10 defconfig
Ley Foon Tan (1
On Wed, Oct 14, 2015 at 9:32 PM, Arnd Bergmann wrote:
> On Wednesday 14 October 2015 18:01:46 Ley Foon Tan wrote:
>> On Wed, Oct 14, 2015 at 5:36 PM, Arnd Bergmann wrote:
>> > On Wednesday 14 October 2015 17:28:45 Ley Foon Tan wrote:
>> >> On Wed, Oct 14, 2015 at
On Thu, Oct 22, 2015 at 4:44 AM, Bjorn Helgaas wrote:
> Hi Ley,
>
> I'm ignoring this series for now because of the build errors reported by
> the kbuild test robot.
>
> Bjorn
>
Hi Bjorn
I'm working on the newer version to fix the build errors.
Thanks.
Regards
Ley Foon
--
To unsubscribe from thi
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b8577ad9..96b9fac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7958,6 +7958,14 @@ F: include/linux/pci*
F: arch/x86/pci/
F: arch/x86
Signed-off-by: Ley Foon Tan
---
include/linux/pci_ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index d9ba49c..08e4462 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1550,6 +1550,8 @@
#define
This patch adds the bindings for Altera PCIe host controller driver and
Altera PCIe MSI driver.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/pci/altera-pcie-msi.txt| 28 +
.../devicetree/bindings/pci/altera-pcie.txt| 49 ++
2 files changed
v10]: https://lkml.org/lkml/2015/10/19/139
Ley Foon Tan (6):
arm: add msi.h to Kbuild
pci: add Altera PCI vendor ID
pci:host: Add Altera PCIe host controller driver
pci: altera: Add Altera PCIe MSI driver
Documentation: dt-bindings: pci: altera pcie device tree binding
MAINTAINERS: Add Alte
This patch adds Altera PCIe MSI driver. This soft IP supports configurable
number of vectors, which is a dts parameter.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 579 +
3 files changed, 588
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN.
This to fix compilation error:
"include/linux/msi.h:123:21: fatal error: asm/msi.h:
No such file or directory"
Signed-off-by: Ley Foon Tan
---
arch/arm/include/asm/Kbuild | 1 +
1 file changed, 1 insertion(+)
diff --
On Wed, Sep 2, 2015 at 12:33 AM, Lorenzo Pieralisi
wrote:
>
> On Tue, Sep 01, 2015 at 11:30:05AM +0100, Ley Foon Tan wrote:
>
> [...]
>
> > +static void altera_pcie_retrain(struct pci_dev *dev)
> > +{
> > + u16 linkcap, linkstat;
> > +
> > +
Signed-off-by: Ley Foon Tan
---
include/linux/pci_ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index d9ba49c..08e4462 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1550,6 +1550,8 @@
#define
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN.
This to fix compilation error:
"include/linux/msi.h:123:21: fatal error: asm/msi.h:
No such file or directory"
Signed-off-by: Ley Foon Tan
---
arch/arm/include/asm/Kbuild | 1 +
1 file changed, 1 insertion(+)
diff --
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b8577ad9..96b9fac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7958,6 +7958,14 @@ F: include/linux/pci*
F: arch/x86/pci/
F: arch/x86
This patch adds the bindings for Altera PCIe host controller driver and
Altera PCIe MSI driver.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/pci/altera-pcie-msi.txt| 28 +
.../devicetree/bindings/pci/altera-pcie.txt| 49 ++
2 files changed
This patch adds Altera PCIe MSI driver. This soft IP supports configurable
number of vectors, which is a dts parameter.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 7 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 581 +
3 files changed, 589
/20/193
[v8]: http://www.kernelhub.org/?msg=853553&p=2
[v9]: https://lkml.org/lkml/2015/10/13/998
Ley Foon Tan (6):
arm: add msi.h to Kbuild
pci: add Altera PCI vendor ID
pci:host: Add Altera PCIe host controller driver
pci: altera: Add Altera PCIe MSI driver
Documentation: dt-bi
On Fri, Oct 23, 2015 at 6:13 AM, Bjorn Helgaas wrote:
> On Thu, Oct 22, 2015 at 05:27:27PM +0800, Ley Foon Tan wrote:
>> Signed-off-by: Ley Foon Tan
>> ---
>> include/linux/pci_ids.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/include/li
On Fri, Oct 23, 2015 at 1:31 PM, Bjorn Helgaas wrote:
> Hi Ley,
>
> On Thu, Oct 22, 2015 at 05:27:28PM +0800, Ley Foon Tan wrote:
>> This patch adds the Altera PCIe host controller driver.
>
>> +static void altera_pcie_fixups(struct pci_bus *bus)
>> +
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN.
This to fix compilation error:
"include/linux/msi.h:123:21: fatal error: asm/msi.h:
No such file or directory"
Signed-off-by: Ley Foon Tan
---
arch/arm/include/asm/Kbuild | 1 +
1 file changed, 1 insertion(+)
diff --
This patch adds the Altera PCIe host controller driver.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 580 +
3 files changed, 589
]: http://www.kernelhub.org/?msg=853553&p=2
[v9]: https://lkml.org/lkml/2015/10/13/998
[v10]: https://lkml.org/lkml/2015/10/19/139
[v11]: https://lkml.org/lkml/2015/10/22/206
Ley Foon Tan (6):
arm: add msi.h to Kbuild
pci: add Altera PCI vendor ID
pci:host: Add Altera PCIe host controller driver
This patch adds Altera PCIe MSI driver. This soft IP supports configurable
number of vectors, which is a dts parameter.
Signed-off-by: Ley Foon Tan
Reviewed-by: Marc Zyngier
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b8577ad9..96b9fac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7958,6 +7958,14 @@ F: include/linux/pci*
F: arch/x86/pci/
F: arch/x86
This patch adds the bindings for Altera PCIe host controller driver and
Altera PCIe MSI driver.
Signed-off-by: Ley Foon Tan
Acked-by: Rob Herring
---
.../devicetree/bindings/pci/altera-pcie-msi.txt| 28 +
.../devicetree/bindings/pci/altera-pcie.txt| 49
Signed-off-by: Ley Foon Tan
---
include/linux/pci_ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index d9ba49c..08e4462 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1550,6 +1550,8 @@
#define
;
>>^
>>
>> Signed-off-by: Marek Vasut
>
> Reviewed-by: Tobias Klauser
> --
Acked-by: Ley Foon Tan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
> Signed-off-by: Marek Vasut
Acked-by: Ley Foon Tan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Sat, Sep 19, 2015 at 12:42 PM, Marek Vasut wrote:
> This change is similar to e001bbae7147b111fe1aa42beaf835635f3c016e
> ARM: cmpxchg: avoid warnings from macro-ized cmpxchg() implementations
>
> A recent change in kernel/acct.c added a new warning for many
> configurations using generic __xchg
On Tue, Sep 29, 2015 at 1:31 AM, Rob Herring wrote:
> On Mon, Sep 28, 2015 at 12:38 AM, Ley Foon Tan wrote:
>> On Sat, Sep 26, 2015 at 11:55 AM, Rob Herring wrote:
>>>
>>> On 09/20/2015 09:13 PM, Ley Foon Tan wrote:
>>> > This patch adds the bindings for
On Tue, Sep 29, 2015 at 3:38 AM, Arnd Bergmann wrote:
> On Monday 28 September 2015 12:31:36 Rob Herring wrote:
>> >> > +
>> >> > +Required properties:
>> >> > +- compatible : should contain "altr,pcie-root-port-1.0"
>> >> > +- reg: a list of physical base address and length fo
On Sat, Oct 3, 2015 at 5:56 AM, Arnd Bergmann wrote:
> On Friday 02 October 2015 15:53:44 Ley Foon Tan wrote:
>> > Strictly speaking, if you have undocumented bindings downstream that
>> > is your problem and we don't have to accept them as-is upstream. I'm
>>
d it can manually select it and move the
> > > > PCI_DOMAINS selection from PCI controllers configuration file
> > > > to ARM
> > > > sub-arch config entries that currently require it, fixing the
> > > > issue.
> > > >
> > > >
t; - No changes.
>
> Impact on "scripts/get_maintainer.pl -f
> Documentation/devicetree/bindings/nios2/":
>
> -Rob Herring (maintainer:OPEN FIRMWARE AND
> FLATTENED DEVICE TREE
> BINDINGS,commit_signer:2/2=100%,authored:1/2=50%)
> +Ley Foon Tan (maintainer:N
On Mon, 2018-08-27 at 20:52 -0500, Rob Herring wrote:
> In preparation to remove the node name pointer from struct
> device_node,
> convert printf users to use the %pOFn format specifier.
>
> Cc: Ley Foon Tan
> Cc: nios2-...@lists.rocketboards.org
> Signed-off-by: Rob Herrin
Hi Linus
There is one arch/nios2 update for v4.19-rc2.
Please consider pulling.
Regards
Ley Foon
The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3:
Linux 4.19-rc1 (2018-08-26 14:11:59 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/lin
memblock_reserve(dram_start, memory_start - dram_start);
> #ifdef CONFIG_BLK_DEV_INITRD
> if (initrd_start) {
> - reserve_bootmem(virt_to_phys((void *)initrd_start),
> - initrd_end - initrd_start,
> BOOTMEM_DEFAULT);
> + memblock_reserve(virt_to_phys((void *)initrd_start),
> + initrd_end - initrd_start);
> }
> #endif /* CONFIG_BLK_DEV_INITRD */
>
> --
> 2.7.4
Acked-by: Ley Foon Tan
> #include
> #include
> #include
> @@ -147,6 +148,7 @@ void __init setup_arch(char **cmdline_p)
>
> console_verbose();
>
> + memory_size = memblock_phys_mem_size();
> memory_start = PAGE_ALIGN((unsigned long)__pa(_end));
> memory_end = (unsigned long) CONFIG_NIOS2_MEM_BASE +
> memory_size;
>
> --
Acked-by: Ley Foon Tan
: implement flush_dcache_mmap_lock/unlock
Ley Foon Tan (1):
nios2: use generic strncpy_from_user() and strnlen_user()
Marek Vasut (3):
nios2: Add NIOS2_ARCH_REVISION to select between R1 and R2
nios2: Add BMX support
nios2: Add CDX support
Tobias Klauser (5):
nios2: add
se;
> u32 ctrl;
> u32 reg0, reg1;
> u32 comp_status = 1;
> --
> 2.7.4
Acked-by: Ley Foon Tan
Hi Linus
Here is nios2 update for v4.17-rc1.
Please consider pulling.
Regards
Ley Foon
The following changes since commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda:
Linux 4.16 (2018-04-01 14:20:27 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/gi
ined!
>
> The problem is seen with gcc 7.3.0.
>
> Export the missing symbols.
>
> Fixes: 2fc8483fdcde ("nios2: Build infrastructure")
> Signed-off-by: Guenter Roeck
Acked-by: Ley Foon Tan
> ---
> arch/nios2/kernel/nios2_ksyms.c | 12
> 1 file ch
isn't
> selected/implied).
> That might make it clearer to people that a bare 'default n' is
> redundant.
> ...
>
> Signed-off-by: Bartlomiej Zolnierkiewicz
Acked-by: Ley Foon Tan
> ---
> arch/nios2/Kconfig
On Tue, 2018-08-21 at 01:15 +0900, Masahiro Yamada wrote:
> 2018-08-16 16:05 GMT+09:00 Tobias Klauser :
> >
> > DEBUG_STACK_USAGE is already defined in lib/Kconfig.debug
> >
> > Signed-off-by: Tobias Klauser
>
> Reviewed-by: Masahiro
rom checkpatch.pl.
- Rename StratixXX to stratix10.
History:
[v1]: https://lkml.org/lkml/2018/12/26/68
Ley Foon Tan (2):
pci: altera: Add Stratix10 PCIe support
Documentation: dt-bindings: pci: altera: Add altr,pcie-root-port-2.0
.../devicetree/bindings/pci/altera-pcie.txt|
Add PCIe Root Port support for Stratix10 device.
Main differences:
- HIP interface to access Root Port configuration register.
- TLP programming flow:
- One REG0 register
- Don't need to check alignment
Signed-off-by: Ley Foon Tan
---
drivers/pci/controller/Kconfig |2 +-
dr
1 - 100 of 632 matches
Mail list logo