The Altera mailbox allows for interprocessor communication. It supports
only one channel and work as either sender or receiver.
Signed-off-by: Ley Foon Tan
---
v2:
Resolved comment from Dinh and Suman.
- Alphabetize the headers.
- Removed WARN_ON() checking
- Use devm_kzalloc to allocate struct
On Tue, Mar 10, 2015 at 1:05 AM, Ezequiel Garcia
wrote:
>
>
> On 03/09/2015 02:02 PM, Chung-Lin Tang wrote:
>> On 2015/3/10 12:54 AM, Chung-Lin Tang wrote:
>>> It appears that some of the ways nios2 has organized the
>>> ucontext/pt_regs/etc. are remnants of the pre-generic code, some
>>> basicall
On Tue, Mar 10, 2015 at 2:17 PM, Chung-Lin Tang wrote:
> On 2015/3/10 10:54 AM, Ley Foon Tan wrote:
>> On Tue, Mar 10, 2015 at 1:05 AM, Ezequiel Garcia
>> wrote:
>>>
>>>
>>> On 03/09/2015 02:02 PM, Chung-Lin Tang wrote:
>>>> On 2015/3/10 12:5
Hi Linus
There is one arch/nios2 fix for 4.0-rc4.
Please consider pulling.
Regards
Ley Foon
The following changes since commit 9eccca0843205f87c00404b663188b88eb248051:
Linux 4.0-rc3 (2015-03-08 16:09:09 -0700)
are available in the git repository at:
git://git.rocketboards.org/linux-socfp
- Remove ucontext.h from exported arch headers
- nios2: mm: do not invoke OOM killer on kernel fault OOM
Ley Foon Tan (1):
nios2: mm: do not invoke OOM killer on kernel fault OOM
Tobias Klauser (1):
nios2: Remove ucontext.h
Hi Linus,
There is one arch/nios2 fix for 3.19 final. This fix the incorrect
behavior of some user programs.
Please consider pulling.
Regards
Ley Foon
The following changes since commit
e36f014edff70fc02b3d3d79cead1d58f289332e:
Linux 3.19-rc7 (2015-02-01 20:07:21 -0800)
are available in the
Hi Linus,
There is one arch/nios2 fix for 3.19 final. This fix the incorrect
behavior of some user programs.
Please consider pulling.
Regards
Ley Foon
The following changes since commit e36f014edff70fc02b3d3d79cead1d58f289332e:
Linux 3.19-rc7 (2015-02-01 20:07:21 -0800)
are available in the
On Mon, Feb 2, 2015 at 3:04 PM, Jassi Brar wrote:
> On Mon, Dec 22, 2014 at 3:14 PM, Ley Foon Tan wrote:
> ...
>
>> diff --git a/drivers/mailbox/mailbox-altera.c
>> b/drivers/mailbox/mailbox-altera.c
>> new file mode 100644
>> index 000..8019795
>>
The Altera mailbox allows for interprocessor communication. It supports
only one channel and work as either sender or receiver.
Signed-off-by: Ley Foon Tan
---
v3:
- s/readl/readl_relaxed and s/writel/writel_relaxed
- Change polling interval to 5ms
- Change to use polling mode if request_irq
On Mon, Dec 15, 2014 at 10:22 PM, Dinh Nguyen wrote:
>
>
> On 12/15/14, 12:22 AM, Ley Foon Tan wrote:
>> On Fri, Dec 12, 2014 at 10:38 PM, Dinh Nguyen wrote:
>>
>>>> +
>>>> +#include
>>>> +#include
>>>> +#include
>>&
On Mon, Dec 15, 2014 at 6:17 PM, Michael S. Tsirkin wrote:
> Thanks for the heads up.
> No - it will probably need a similar fix for __get_user and get_user.
> It's just a parse warning so it's not a blocker.
> Can you fix it yourself or prefer me to?
Do you have newer revision of this series?
If
On Tue, Dec 16, 2014 at 4:54 AM, Suman Anna wrote:
> Hi Ley Foon,
>
> On 12/12/2014 08:38 AM, Dinh Nguyen wrote:
>>
>>
>> On 12/12/14, 4:04 AM, Ley Foon Tan wrote:
>>> The Altera mailbox allows for interprocessor communication. It supports
>>>
Add device pointer to port->dev.
Before:
"(NULL device *): ttyJ0 at MMIO 0x1008 (irq = 2, base_baud = 0) is a
Altera JTAG UART"
After:
"altera_jtaguart 1008.serial: ttyJ0 at MMIO 0x1008 (irq = 2, base_baud = 0) is a
Altera JTAG UART"
Signed-off-by: Ley Foon Tan
Add device pointer to port->dev.
Before:
"(NULL device *): ttyAL0 at MMIO 0x2020 (irq = 6, base_baud = 3125000)
is a Altera UART"
After:
"altera_uart 2020.serial: ttyAL0 at MMIO 0x2020 (irq = 6, base_baud = 3125000)
is a Altera UART"
Signed-off-by: Ley Foon Tan
On Wed, Dec 17, 2014 at 3:53 AM, Suman Anna wrote:
>>> I think this logic in general will conflict between interrupt and poll
>>> mode. send_data is supposed to return -EBUSY only in polling mode and
>>> not in interrupt mode.
>> What is the recommended error code for this case? BTW, omap-mailbox
On Thu, Dec 18, 2014 at 1:17 AM, Dinh Nguyen wrote:
> +MODULE_DEVICE_TABLE(of, altera_mbox_match);
> +
> +static struct platform_driver altera_mbox_driver = {
> +.probe = altera_mbox_probe,
> +.remove = altera_mbox_remove,
> +.driver = {
> +.nam
3:41 +0800)
nios2 fixes for v3.19
- add definition of ioremap_wc to io.h to fix build error from make allmodconfig
- fix make defconfig
- fix sparse error
Guenter Roeck (1):
nios2: add definition of ioremap_wc to io.h
On Wed, Dec 17, 2014 at 12:45 AM, Michael S. Tsirkin wrote:
> On Tue, Dec 16, 2014 at 02:06:50PM +0800, Ley Foon Tan wrote:
>> On Mon, Dec 15, 2014 at 6:17 PM, Michael S. Tsirkin wrote:
>> > Thanks for the heads up.
>> > No - it will probably need a similar fix
g to behave properly when there are other
> .word directives in between. Probably a binutils gas bug.
>
> Thanks,
> Chung-Lin
>
> Cc: Ley Foon Tan
> Cc: Tobias Klauser
> Signed-off-by: Chung-Lin Tang
>
> diff --git a/arch/nios2/kernel/entry.S b/arch/nios2/kernel/
On Thu, Jan 22, 2015 at 4:15 PM, Chung-Lin Tang wrote:
> On 2015/1/22 03:54 PM, Ley Foon Tan wrote:
>> On Thu, Jan 22, 2015 at 3:14 PM, Chung-Lin Tang
>> wrote:
>>> The address of __kuser_sigtramp is wrong by one word, due to padding
>>> __kuser_cmpxchg to fu
On Thu, Jan 22, 2015 at 5:07 PM, Chung-Lin Tang wrote:
> On 2015/1/22 下午 04:43, Ley Foon Tan wrote:
>> On Thu, Jan 22, 2015 at 4:15 PM, Chung-Lin Tang
>> wrote:
>>> On 2015/1/22 03:54 PM, Ley Foon Tan wrote:
>>>> On Thu, Jan 22, 2015 at 3:14 PM, Chung-Lin Tan
address.
Ley Foon Tan (1):
nios2: fix kuser trampoline address
arch/nios2/kernel/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" i
)
nios2 for v3.20
Add support for early printk, compressed kernel, kgdb and some bugfixes.
Ley Foon Tan (6):
nios2: Port OOM changes to do_page_fault()
nios2: add early printk support
nios2: Add support for
On Wed, Dec 10, 2014 at 4:02 AM, Paul Bolle wrote:
> Running "make defconfig" currently fails for nios2:
> $ make ARCH=nios2 defconfig
> scripts/kconfig/conf --defconfig Kconfig
> ***
> *** Can't find default configuration "arch/nios2/defconfig"!
> ***
> make[1]: *** [defco
On Thu, Dec 11, 2014 at 12:59 AM, Guenter Roeck wrote:
> Fix
>
> drivers/gpu/drm/drm_bufs.c: In function 'drm_addmap_core':
> drivers/gpu/drm/drm_bufs.c:213:5:
> error: implicit declaration of function 'ioremap_wc'
>
> seen when building nios2:allmodconfig.
>
> Signed-off-b
The Altera mailbox allows for interprocessor communication. It supports
only one channel and work as either sender or receiver.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/mailbox/altera-mailbox.txt | 49 +++
drivers/mailbox/Kconfig| 7 +
drivers
The Altera mailbox allows for interprocessor communication. It supports
only one channel and work as either sender or receiver.
Signed-off-by: Ley Foon Tan
---
.../devicetree/bindings/mailbox/altera-mailbox.txt | 49 +++
drivers/mailbox/Kconfig| 6 +
drivers
On Fri, Dec 12, 2014 at 10:38 PM, Dinh Nguyen wrote:
>> +
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>
> Alphabetize the headers.
Okay.
>> +static int altera_mbox_startup_sender(struct mbox_chan *chan)
>> +{
>> + int ret;
On Thu, 2016-03-17 at 20:22 -0700, Peter Hurley wrote:
> Hi Guenter,
>
> On 03/17/2016 07:49 PM, Guenter Roeck wrote:
> > nios2 builds fail with the following build error.
> >
> > arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial':
> > arch/nios2/kernel/prom.c:100:2: error:
> >
signed long paddr = page_to_virt(pte_page(pteval));
> + unsigned long paddr = (unsigned long)page_to_virt(pte_page(pteval));
>
> flush_dcache_range(paddr, paddr + PAGE_SIZE);
> set_pte(ptep, pteval);
> --
Acked-by: Ley Foon Tan
Hi Linus
There is one arch/nios2 fix for v4.6-rc2.
Please consider pulling.
Regards
Ley Foon
The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca:
Linux 4.6-rc1 (2016-03-26 16:03:24 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/k
7;
>
> This changes the new driver use the modified API.
>
> Signed-off-by: Arnd Bergmann
> Fixes: af1169b48b17 ("PCI: altera: Add Altera PCIe MSI driver")
> Fixes: be5436c83ac8 ("irqdomain/msi: Use fwnode instead of of_node")
Acked-by: Ley Foon Tan
Than
On Fri, Oct 30, 2015 at 7:22 AM, Bjorn Helgaas wrote:
>> >>>
>> >>> I applied these to pci/host-altera for v4.4, thanks!
>> >>>
>> >>> I squashed these into three patches:
>> >>>
>> >>> - add msi.h to Kbuild
>> >>> - add Altera host driver (including DT binding and MAINTAINERS update)
>> >>>
On Isn, 2015-11-02 at 02:23 +1100, Stephen Rothwell wrote:
> Hi Bjorn,
>
> After merging the pci tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> In file included from include/linux/kvm_host.h:20:0,
> from arch/powerpc/kernel/asm-offsets.c:54:
> include
On Isn, 2015-11-02 at 02:23 +1100, Stephen Rothwell wrote:
> Hi Bjorn,
>
> After merging the pci tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> In file included from include/linux/kvm_host.h:20:0,
> from arch/powerpc/kernel/asm-offsets.c:54:
> inclu
Ley Foon Tan (1):
nios2: check number of timer instances
arch/nios2/kernel/time.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" i
kml/2015/9/20/193
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 Altera PCIe and MSI drive
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 --
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 | 588 +
3 files changed, 596
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
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9f6685f..482de0b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7943,6 +7943,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
On Thu, Oct 8, 2015 at 5:47 PM, Russell King - ARM Linux
wrote:
>
> On Thu, Oct 08, 2015 at 05:43:11PM +0800, Ley Foon Tan wrote:
> > +static int altera_pcie_cfg_write(struct pci_bus *bus, unsigned int devfn,
> > + int where, i
On Kha, 2015-10-08 at 22:05 +0200, Corentin LABBE 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
> > Reviewed-by: Marc Zyngier
> >
Hi Linus,
Here are the arch/nios2 update for v4.4.
Please consider pulling.
Regards
Ley Foon
The following changes since commit 6a13feb9c82803e2b815eca72fa7a9f5561d7861:
Linux 4.3 (2015-11-01 16:05:25 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kerne
On Tue, Sep 29, 2015 at 3:37 PM, Arnd Bergmann wrote:
> On Tuesday 29 September 2015 11:12:24 Ley Foon Tan wrote:
>> >
>> > I think that would be good, yes. We probably picked defaults for the
>> > asm-generic version that are enough to build with CONFIG_PCI disab
On Isn, 2015-11-02 at 12:12 -0600, Bjorn Helgaas wrote:
> On Sun, Nov 1, 2015 at 6:00 PM, Ley Foon Tan wrote:
> > On Isn, 2015-11-02 at 02:23 +1100, Stephen Rothwell wrote:
> >> Hi Bjorn,
> >>
> >> After merging the pci tree, today's linux-next build (po
On Sat, Feb 9, 2019 at 12:29 AM Lorenzo Pieralisi
wrote:
>
> Apologies, I have dropped the ball on this one.
>
> On Wed, Jan 02, 2019 at 02:16:48PM +0800, Ley Foon Tan wrote:
> > Add PCIe Root Port support for Stratix 10 device.
> >
> > Main differences:
> >
de uses strncpy() when copying
> boot_command_line.
>
> Use strlcpy() instead.
>
> This issue is identified by a Coccinelle script.
>
> Signed-off-by: Wang Xiayang
Merged to v5.4-rc1. Thanks.
Acked-by: Ley Foon Tan
> ---
> arch/nios2/kernel/setup.c | 6 +++--
Hi Linus
Please pull the arch/nios2 update below.
Thanks.
Regards
Ley Foon
The following changes since commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8:
Linux 5.3 (2019-09-15 14:19:32 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2
On Wed, 2019-10-16 at 02:40 -0700, Ooi, Joyce wrote:
> This patch adds QSPI flash interface in device tree for Intel Agilex
>
> Signed-off-by: Ooi, Joyce
> ---
> v2: update the qspi_rootfs partition size
> ---
> arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 35
> ++
>
Add PCIe Root Port support for Stratix 10 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/pcie-altera.c |
Enable PCIE_ALTERA on ARM64 platform.
Signed-off-by: Ley Foon Tan
---
drivers/pci/controller/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 6671946..6012f30 100644
--- a/drivers/pci
/lkml.org/lkml/2018/12/31/46
[v3]: https://lkml.org/lkml/2019/1/2/16
Ley Foon Tan (3):
PCI: altera: Add Stratix 10 PCIe support
PCI: altera: Enable driver on ARM64
dt-bindings: PCI: altera: Add altr,pcie-root-port-2.0
.../devicetree/bindings/pci/altera-pcie.txt|4 +-
dr
Add support for altr,pcie-root-port-2.0.
Signed-off-by: Ley Foon Tan
Reviewed-by: Rob Herring
---
.../devicetree/bindings/pci/altera-pcie.txt|4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/altera-pcie.txt
b
ned-off-by: Ley Foon Tan
---
drivers/pci/controller/pcie-altera.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/controller/pcie-altera.c
b/drivers/pci/controller/pcie-altera.c
index 6c86bc69ace8..27222071ace7 100644
--- a/drivers/pci/controller/pcie-altera.c
+++
On Fri, May 24, 2019 at 10:15 AM Ley Foon Tan wrote:
>
> Fix compilation warning caused by patch "PCI: altera: Allow building as
> module".
>
> drivers/pci/controller/pcie-altera.c: In function ‘altera_pcie_irq_teardown’:
> drivers/pci/controller/pcie-altera.c:723:1:
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.
Ley Foon Tan (2):
PCI: altera: Fix configuration type based on secondary number
PCI
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
---
drivers/pci/controller/pcie-altera.c | 22
No longer need cfgrdX and cfgwrX since we have separate defines for
TLP_CFG*_DW0 and S10_TLP_CFG*_DW0, so remove them.
Signed-off-by: Ley Foon Tan
---
drivers/pci/controller/pcie-altera.c | 33 +++-
1 file changed, 8 insertions(+), 25 deletions(-)
diff --git a/drivers
On Wed, Apr 24, 2019 at 12:57 PM Ley Foon Tan wrote:
>
> Altera PCIe Rootport IP is a soft IP and is only available after
> FPGA image is programmed.
>
> Make driver modulable to support use case FPGA image is programmed
> after kernel is booted. User proram FPGA image in ker
On Wed, Apr 24, 2019 at 12:57 PM Ley Foon Tan wrote:
>
> Altera MSI IP is a soft IP and is only available after
> FPGA image is programmed.
>
> Make driver modulable to support use case FPGA image is programmed
> after kernel is booted. User proram FPGA image in kernel then only
re [2]. In the Kconfig syntax, the first one
> > is effective. So, TRACE_IRQFLAGS_SUPPORT is always 'n'.
> >
> > The second define in arch/nios2/Kconfig.debug is dead code.
> >
> > Signed-off-by: Masahiro Yamada
> > ---
> Ping.
>
>
Acked-by: Ley F
On Tue, Jun 4, 2019 at 9:18 PM Bjorn Helgaas wrote:
>
> On Wed, Apr 24, 2019 at 12:57:14PM +0800, Ley Foon Tan wrote:
> > Altera PCIe Rootport IP is a soft IP and is only available after
> > FPGA image is programmed.
> >
> > Make driver modulable to support use
Hi Linus
Please pull the arch/nios2 updates below.
Most of updates are MMU related.
Thanks.
Regards
Ley Foon
The following changes since commit 1c163f4c7b3f621efff9b28a47abb36f7378d783:
Linux 5.0 (2019-03-03 15:21:29 -0800)
are available in the git repository at:
git://git.kernel.org/pub
On Tue, 2019-02-19 at 16:23 +, Lorenzo Pieralisi wrote:
> On Thu, Feb 14, 2019 at 11:20:36PM +0800, Ley Foon Tan wrote:
> >
> > Add PCIe Root Port support for Stratix 10 device.
> >
> > Main differences:
> Main differences with what ? We need to rewrite this c
On Fri, 2019-02-15 at 16:55 +0900, Masahiro Yamada wrote:
> +CC: Ley Foon Tan
> +CC: nios2-...@lists.rocketboards.org
>
>
> On Thu, Feb 14, 2019 at 2:40 AM Christoph Hellwig wrote:
>
> >
> > diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
> > ind
On Fri, 2019-03-01 at 14:15 +, Lorenzo Pieralisi wrote:
> On Fri, Mar 01, 2019 at 08:50:48AM +0800, Ley Foon Tan wrote:
> >
> > On Thu, 2019-02-28 at 10:56 +, Lorenzo Pieralisi wrote:
> > >
> > > On Thu, Feb 28, 2019 at 06:
On Wed, 2019-01-02 at 14:16 +0800, Ley Foon Tan wrote:
> Add PCIe Root Port support for Stratix 10 device and also update
> device tree binding documentation.
>
> v2 -> v3:
> -
> - Rename Stratix10 to Stratix 10.
> - Change bool s10_flag to enum version.
>
>
On Fri, 2018-09-07 at 13:09 -0500, Rob Herring wrote:
> On Thu, Sep 6, 2018 at 9:21 PM Ley Foon Tan
> wrote:
> >
> >
> > On Wed, 2018-09-05 at 18:53 -0500, Rob Herring wrote:
> > >
> > > Align nios2 with other architectures which build the dtb files in
help enable the 'dtbs' target which builds all the
> dtbs
> regardless of kernel config.
>
> This transition could break some scripts if they expect dtb files in
> the old location.
>
> Cc: Ley Foon Tan
> Cc: nios2-...@lists.rocketboards.org
> Signed-off-by:
mplementation) and x86_64 (which doesn't).
>
> Signed-off-by: Shea Levy
Acked-by: Ley Foon Tan
> ---
> arch/nios2/mm/init.c | 7 ---
> 1 file changed, 7 deletions(-)
>
> diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c
> index c92fe4234009..3df75ff8c
Enable Altera PCIe host driver, Altera MSI driver and PCIe devices.
CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCIE_ALTERA=y
CONFIG_PCIE_ALTERA_MSI=y
CONFIG_BLK_DEV_NVME=m
CONFIG_E1000E=m
CONFIG_IGB=m
CONFIG_IXGBE=m
Signed-off-by: Ley Foon Tan
Signed-off-by: Tien Hock Loh
Cc: Dinh Nguyen
---
v2
On Sat, Jul 23, 2016 at 5:07 AM, Bjorn Helgaas wrote:
>
> On Tue, Jun 21, 2016 at 04:53:11PM +0800, 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
default:
> + ret = 0;
> break;
> }
Acked-by: Ley Foon Tan
On Rab, 2016-11-23 at 14:52 +, Geliang Tang wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang
Acked-by: Ley Foon Tan
> ---
> drivers/pci/host/pcie-altera.c | 6 +-
> 1 file changed, 1 insertion(+), 5 deletions(-)
td.h, and adjust all
>> architectures using the generic syscall list to define it so that no
>> in-tree architectures are affected.
>>
>> Cc: Vineet Gupta
>> Cc: Catalin Marinas
>> Cc: Will Deacon
>> Cc: Mark Salter
>> Cc: Aurelien Jacquiot
>&
to static inline
- Extend !__ASSEMBLY__ section in asm/page.h
Ley Foon Tan (1):
nios2: add screen_info
Tobias Klauser (2):
nios2: Extend !__ASSEMBLY__ section in asm/page.h
nios2: Convert pfn_valid to static inline
Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation
and this cause writing to configuration space will fail. This patch
fix it by using correct FMTTYPE for write operation.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 10 +++---
1 file changed, 7
Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation
and this cause writing to configuration space will fail. This patch
fix it by using correct FMTTYPE for write operation.
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 10 +++---
1 file changed, 7
On Tue, Feb 28, 2017 at 6:37 PM, Ley Foon Tan wrote:
> Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation
> and this cause writing to configuration space will fail. This patch
> fix it by using correct FMTTYPE for write operation.
>
> Signed-off-by: Ley Foon
Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation
and this cause writing to configuration space will fail. This patch
fix it by using correct FMTTYPE for write operation.
Signed-off-by: Ley Foon Tan
Cc: sta...@vger.kernel.org
---
drivers/pci/host/pcie-altera.c | 10
On Tue, Feb 28, 2017 at 6:31 PM, Ley Foon Tan wrote:
> Commit eb5767122feba1 used the TLP_FMTTYPE_CFGRD* for TLP write operation
> and this cause writing to configuration space will fail. This patch
> fix it by using correct FMTTYPE for write operation.
>
> Signed-off-b
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
> PCI: altera: Polling for link up status after retrain the link
>
> driver
On Fri, Aug 19, 2016 at 4:19 AM, Bjorn Helgaas wrote:
> On Mon, Aug 15, 2016 at 02:06:02PM +0800, Ley Foon Tan wrote:
>> 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
>&
On Fri, Aug 19, 2016 at 4:18 AM, Bjorn Helgaas wrote:
>
> On Mon, Aug 15, 2016 at 04:36:19PM +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
>
-off-by: Ley Foon Tan
---
v2: change to check PCIe type is PCI_EXP_TYPE_ROOT_PORT
---
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..33b6968 100644
--- a/drivers/pci/host/pcie
Enable Altera PCIe host driver, Altera MSI driver and PCIe devices.
CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCIE_ALTERA=y
CONFIG_PCIE_ALTERA_MSI=y
CONFIG_BLK_DEV_NVME=m
CONFIG_E1000E=m
CONFIG_IGB=m
CONFIG_IXGBE=m
Signed-off-by: Ley Foon Tan
Signed-off-by: Tien Hock Loh
Cc: Dinh Nguyen
---
arch
Enable Altera PCIe host driver, Altera MSI driver and PCIe devices.
CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCIE_ALTERA=y
CONFIG_PCIE_ALTERA_MSI=y
CONFIG_BLK_DEV_NVME=m
CONFIG_E1000E=m
CONFIG_IGB=m
CONFIG_IXGBE=m
Signed-off-by: Ley Foon Tan
Signed-off-by: Tien Hock Loh
Cc: Dinh Nguyen
The original code return true if RP_LTSSM register return non-zero
value. This fix to return true only RP_LTSSM register is in L0 state
(link up).
Signed-off-by: Ley Foon Tan
---
drivers/pci/host/pcie-altera.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/pci
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 Altera PCIe host controller driver and
> > Altera PCIe MSI driver.
> >
> > Signed-off-by: Ley Foon Tan
> > ---
> >
On Tue, Sep 22, 2015 at 7:42 PM, Arnd Bergmann wrote:
> On Tuesday 22 September 2015 18:53:50 Ley Foon Tan wrote:
>> On Tue, Sep 22, 2015 at 4:18 PM, Arnd Bergmann wrote:
>> > On Tuesday 22 September 2015 15:19:26 Ley Foon Tan wrote:
>> > I might be miss
On Wed, Sep 23, 2015 at 2:33 AM, Marc Zyngier wrote:
> On Mon, 21 Sep 2015 10:13:04 +0800
> Ley Foon Tan wrote:
>
>> This patch adds the Altera PCIe host controller driver.
>>
>> Signed-off-by: Ley Foon Tan
>> ---
>> drivers/pci/host/Kconfig
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 | 526 +
3 files changed, 535 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| 27
.../devicetree/bindings/pci/altera-pcie.txt| 49 ++
2 files changed
Signed-off-by: Ley Foon Tan
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index fd60784..32f5287 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7759,6 +7759,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
---
drivers/pci/host/Kconfig | 7 +
drivers/pci/host/Makefile | 1 +
drivers/pci/host/pcie-altera-msi.c | 324
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 --
kml.org/lkml/2015/7/28/395
Ley Foon Tan (5):
arm: add msi.h to Kbuild
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 Altera PCIe and MSI drivers maintainer
.../de
501 - 600 of 632 matches
Mail list logo