On Fri, Jul 31, 2015 at 8:34 PM, Marc Zyngier wrote:
> On 31/07/15 11:15, Ley Foon Tan wrote:
>> This patch adds the Altera PCIe host controller driver.
>>
>> Signed-off-by: Ley Foon Tan
>> ---
>> drivers/pci/host/Kconfig | 8 +
>> drivers/pci/hos
On Fri, Jul 31, 2015 at 8:12 PM, Marc Zyngier wrote:
> On 31/07/15 11:15, Ley Foon Tan wrote:
>> This patch adds Altera PCIe MSI driver. This soft IP supports configurable
>> number of vectors, which is a dts parameter.
>
> I've reviewed the initial drop of this code;
On Mon, Aug 3, 2015 at 6:53 PM, Marc Zyngier wrote:
> On 03/08/15 11:37, Ley Foon Tan wrote:
>>>> + msg->address_lo = lower_32_bits(addr);
>>>> + msg->address_hi = upper_32_bits(addr);
>>>> + msg->data = data->hwirq;
On Fri, Aug 7, 2015 at 10:44 PM, Marc Zyngier wrote:
> On 07/08/15 08:43, Ley Foon Tan wrote:
>> 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
>>
On Fri, Aug 7, 2015 at 10:34 PM, Marc Zyngier wrote:
> On 07/08/15 08:42, Ley Foon Tan wrote:
>> This patch adds the Altera PCIe host controller driver.
>>
>> Signed-off-by: Ley Foon Tan
>> ---
>> drivers/pci/host/Kconfig | 7 +
>> drivers/pci/hos
On Fri, Aug 7, 2015 at 3:43 PM, Ley Foon Tan wrote:
> 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| 27
> .../de
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
---
drivers/pci/host/Kconfig | 8 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera.c | 591 +
3 files changed, 600 insertions(+)
create mode
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: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7ba7ab7..eeb9ec9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7938,6 +7938,14 @@ F: include/linux/pci*
F: arch/x86/pci/
F: arch/x86
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 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
5/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
[v6]: https://lkml.org/lkml/2015/9/1/177
Ley Foon Tan (6):
arm: add msi.h to Kbuild
pci: add Altera PCI
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 73e4af4..db8efcd 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci
This patchset adding pci support for nios2 architecture.
It requires pci_fixup_irqs() from setup-irq.c.
Ley Foon Tan (2):
nios2: Add architectural support for PCIe
PCI: Build setup-irq.o for nios2
arch/nios2/Kconfig| 24 +
arch/nios2/include/asm/Kbuild | 2
This patch add pcie support on nios2 platform.
Signed-off-by: Ley Foon Tan
---
arch/nios2/Kconfig| 24 +
arch/nios2/include/asm/Kbuild | 2 +-
arch/nios2/include/asm/io.h | 11 +-
arch/nios2/include/asm/pci.h | 50
On Tue, Sep 22, 2015 at 4:18 PM, Arnd Bergmann wrote:
> On Tuesday 22 September 2015 15:19:26 Ley Foon Tan wrote:
>> +
>> +config PCI_SYSCALL
>> + def_bool PCI
>
> IIRC, PCI_SYSCALL is deprecated and you should just leave that
> turned off.
>
> In any ca
On Fri, Jan 29, 2016 at 3:46 AM, Jeffrey Merkey wrote:
> This patch series adds an export which can be set by system debuggers to
> direct the hard lockup and soft lockup detector to trigger a breakpoint
> exception and enter a debugger if one is active. It is assumed that if
> someone sets this
On Thu, May 30, 2019 at 11:25 PM Lorenzo Pieralisi
wrote:
>
> On Fri, May 24, 2019 at 02:07:25PM +0800, Ley Foon Tan wrote:
> > This fix issue when access config from PCIe switch.
> >
> > Stratix 10 PCIe controller does not support Type 1 to Type 0 conversion
> >
targeting
the immediate device on the link.
The PCIe controller send Type 1 config TLP if the targeting bus is
larger than the secondary bus, which is when the TLP is targeting the
device not immediate on the link.
Signed-off-by: Ley Foon Tan
---
v2:
- Add get_tlp_header() function.
---
drivers/pci
On Wed, May 15, 2019 at 9:59 PM Lorenzo Pieralisi
wrote:
>
> On Tue, May 14, 2019 at 01:35:20PM +0800, Ley Foon Tan wrote:
> > On Wed, Apr 24, 2019 at 12:57 PM Ley Foon Tan
> > wrote:
> > >
> > > Altera MSI IP is a soft IP and is only available
Hi Linus
There is one arch/nios2 fix for v4.11.
Please consider pulling.
Regards
Ley Foon
The following changes since commit a71c9a1c779f2499fb2afc0553e543f18aff6edf:
Linux 4.11-rc5 (2017-04-02 17:23:54 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/ke
lock)
> +#define flush_dcache_mmap_unlock(mapping) \
> + spin_unlock_irq(&(mapping)->tree_lock)
>
> #endif /* _ASM_NIOS2_CACHEFLUSH_H */
> --
> 2.11.0
>
Acked-by: Ley Foon Tan
Regards
Ley Foon
gt; Reported-by: Guenter Roeck
> Reference: http://lkml.kernel.org/r/20170226210338.GA19476@roeck-us.n
> et
> Tested-by: Guenter Roeck
> Signed-off-by: Tobias Klauser
Acked-by: Ley Foon Tan
Thanks for the fix. Will add this for 4.11.
Regards
Ley Foon
> ---
> arch/nios2/ker
Hi Linus
Here is nios2 update for v4.16-rc1.
Please consider pulling.
Regards
Ley Foon
The following changes since commit d8a5b80568a9cb66810e75b182018e9edb68e8ff:
Linux 4.15 (2018-01-28 13:20:33 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git
On Mon, 2018-02-12 at 09:20 +1100, Stephen Rothwell wrote:
> Hi Ley,
>
> Commits
>
> 5d13c7317998 ("nios2: dts: Remove leading 0x and 0s from bindings
> notation")
> e0691ebb33c1 ("nios2: defconfig: Cleanup from old Kconfig options")
>
> are missing a Signed-off-by from their committer.
>
>
On Mon, 2018-02-12 at 13:14 +1100, Stephen Rothwell wrote:
> Hi Ley,
>
> On Mon, 12 Feb 2018 09:23:49 +0800 Ley Foon Tan om> wrote:
> >
> >
> > On Mon, 2018-02-12 at 09:20 +1100, Stephen Rothwell wrote:
> > >
> > >
> > > Commits
> &
rch/nios2/Kconfig
> +++ b/arch/nios2/Kconfig
> @@ -152,7 +152,6 @@ menu "Advanced setup"
>
> config ADVANCED_OPTIONS
> bool "Prompt for advanced kernel configuration options"
> - help
>
> comment "Default settings for advanced configuration options are
> used"
> depends on !ADVANCED_OPTIONS
> --
> 2.14.1
>
Acked-by: Ley Foon Tan
Hi Linus
Here is nios2 update for v4.14-rc1.
Please consider pulling.
Regards
Ley Foon
The following changes since commit 569dbb88e80deb68974ef6fdd6a13edb9d686261:
Linux 4.13 (2017-09-03 13:56:17 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/gi
Poll for link training status is cleared before poll for link up status.
This can help to get the reliable link up status, especially when PCIe
is in Gen 3 speed.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 45 ++
1 file changed, 37
/nios2/boot/dts/10m50_devboard.dts
> @@ -83,6 +83,7 @@
> fifo-size = <32>;
> reg-io-width = <4>;
> reg-shift = <2>;
> + tx-threshold = <16>;
> };
>
> sysid: sysid@18001528 {
Acked-by: Ley Foon Tan
-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c
index 58eef99..6477738 100644
--- a/drivers/pci/host/pcie-altera.c
+++ b/drivers/pci/host/pcie-altera.c
@@ -139,6 +139,9
601 - 632 of 632 matches
Mail list logo