On Wed, Jan 10, 2018 at 10:34:43AM +0900, Benjamin Poirier wrote:
> On 2018/01/10 01:29, rwar...@gmx.de wrote:
> > hallo
> >
> > any chance to get this patch into stable and 4.15 ?
> >
> > https://marc.info/?l=linux-kernel&m=151297726823919&w=2
> >
>
> It was part of the last network pull reque
Hi Saeed,
mlx5_get_vector_affinity used to call pci_irq_get_affinity and after
reverting the patch that sets the device affinity via PCI_IRQ_AFFINITY
API, calling pci_irq_get_affinity becomes useless and it breaks RDMA
mlx5 users. To fix this, this patch provides an alternative way to
retrieve
Register and use AVX CPU intrinsic instructions when available to do
256-bit reads to speed up reading EDC and MC. Otherwise, fallback to
32-bit reads. Also align destination buffer on 32-byte boundary.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chel
Export callback to register supported intrinsic instructions to speed
up reading EDC and MC. By default, use 32-bit reads. Also rework
logic to read EDC and MC.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/Makefile| 2 +-
driver
This series of patches speed up reading on-chip memory (EDC and MC)
by using AVX intrinsic instructions when available.
Patch 1 exports callback to register supported intrinsic instructions
when available. Also rework logic to read EDC and MC.
Patch 2 adds AVX CPU intrinsic instructions to read
From: Yossef Efraim
This patch adds ESN support to IPsec device offload.
Adding new xfrm device operation to synchronize device ESN.
Signed-off-by: Yossef Efraim
---
Changes from v1:
- Added documentation
Changes from v2:
- Due to Shannon Nelson's request, xfrm_dev_state_add() fails if ESN i
Thanks Jianchao for your patch.
And Thank you guys for your reviews, much appreciated.
I was off-work on Friday and Saturday.
On 14/01/2018 4:40 AM, jianchao.wang wrote:
Dear all
Thanks for the kindly response and reviewing. That's really appreciated.
On 01/13/2018 12:46 AM, Eric Dumazet wrot
>> Use pointers to structure as arguments to function instead of coping
>> structures and less stack size. Also transfer TNUM(_v, _m) to
>> tnum.h file to be used in differnet files for creating anonymous structures
>> statically.
>>
>> Signed-off-by: Karim Eshapa
...
>> +/* Statically tnum consta
SIOCKCMATTACH writes a connected socket's sk_user_data for its own
use. Prevent it doing so if the socket's sk_user_data is already set
since some sockets (e.g. encapsulated sockets) use sk_user_data
internally.
This issue was found by syzbot.
kernel BUG at net/l2tp/l2tp_ppp.c:176!
invalid opcode
From: Jiri Pirko
Nogah says:
Add an offload support for PRIO qdisc for mlxsw driver.
PRIO qdisc is being offloaded by using ndo_setup_tc. It has three
commands, to set or tune the qdisc, to remove it and to get its stats.
Like RED offloading, offloading this qdisc is not enforced on the driver
From: Yuval Mintz
When routing ip packets, the kernel is setting the SKB's priority
based on the tos field of the packet.
Imitate this behavior in the mlxsw router, having the internal
switch priority of a routed packet determined according to its DS
field.
Signed-off-by: Yuval Mintz
Signed-off
From: Nogah Frankel
Add support for offloading PRIO qdisc as root qdisc.
The support is for up to 8 bands.
Routed packets priority is determined by the DSCP field with the default
translations. Bridged packets priority is determined by the PCP field, if
exist, otherwise it is set to 0.
Since both
From: Nogah Frankel
Support basic stats for PRIO qdisc, which includes tx packets and bytes
count, drops count and backlog size. The rest of the stats are irrelevant
for this qdisc offload.
Since backlog is not only incremental but reflecting momentary value, in
case of a qdisc that stops being o
From: Yuval Mintz
Add rdpm definition - router DSCP to priority mapping register.
This register will be utilized later to align the default mapping between
packet DSCP and switch-priority to the kernel's mapping between
packet priority and skb priority.
This is the first non-bit indexed register
From: Nogah Frankel
Add the ability to offload PRIO qdisc by using ndo_setup_tc.
There are three commands for PRIO offloading:
* TC_PRIO_REPLACE: handles set and tune
* TC_PRIO_DESTROY: handles qdisc destroy
* TC_PRIO_STATS: updates the qdiscs counters (given as reference)
Like RED qdisc, the in
On Fri, Jan 12, 2018 at 4:00 PM, Pablo Neira Ayuso wrote:
> On Fri, Jan 12, 2018 at 03:56:21PM +0200, Eyal Birger wrote:
>> On Fri, Jan 12, 2018 at 3:41 PM, Pablo Neira Ayuso
>> wrote:
>> > On Fri, Jan 12, 2018 at 02:57:24PM +0200, Eyal Birger wrote:
>> >> @@ -51,9 +52,9 @@ match_xfrm_state(cons
Do not rely on l2specific_len value provided by userspace but set sublayer
length according to l2specific_type.
Fix a harmless issue in the switch default case in
l2tp_nl_cmd_session_create().
Changes since v1:
- remove l2specific_len parameter
- add sanity check on l2specific_type provided by use
Remove l2specific_len dependency while building l2tpv3 header or
parsing the received frame since default L2-Specific Sublayer is
always four bytes long and we don't need to rely on a user supplied
value.
Moreover in l2tp netlink code there are no sanity checks to
enforce the relation between l2spe
Signed-off-by: Lorenzo Bianconi
---
include/uapi/linux/l2tp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/l2tp.h b/include/uapi/linux/l2tp.h
index 71e62795104d..7d570c7bd117 100644
--- a/include/uapi/linux/l2tp.h
+++ b/include/uapi/linux/l2tp.h
@@ -97,7
Remove l2specific_len configuration parameter since now L2-Specific
Sublayer length is computed according to l2specific_type provided by
userspace.
Signed-off-by: Lorenzo Bianconi
---
net/l2tp/l2tp_core.c| 1 -
net/l2tp/l2tp_core.h| 2 --
net/l2tp/l2tp_debugfs.c | 2 +-
net/l2tp/l2tp_net
Although this issue is harmless since that code path is protected by the
check on l2tp_nl_cmd_ops[]/l2tp_nl_cmd_ops[]->session_create(), fix error
handling for L2TP_PWTYPE_IP/default case in l2tp_nl_cmd_session_create()
Signed-off-by: Lorenzo Bianconi
---
net/l2tp/l2tp_netlink.c | 2 +-
1 file c
Add sanity check on l2specific_type provided by userspace in
l2tp_nl_cmd_session_create() since just L2TP_L2SPECTYPE_DEFAULT and
L2TP_L2SPECTYPE_NONE are currently supported.
Moreover do not always initialize l2specific_type if userspace requests
a given l2-specific sublayer type
Signed-off-by: Lo
--
Dear
Congratulation i have selected you Just as I have declared on May 23,
2016 to give
my fortune as charity get back to me now.
Best Regards
mikhail fridman
From: Daniel Borkmann
Date: Sat, 13 Jan 2018 00:33:48 +0100
> The following pull-request contains BPF updates for your *net* tree.
>
> The main changes are:
>
> 1) Follow-up fix to the recent BPF out-of-bounds speculation
>fix that prevents max_entries overflows and an undefined
>behavi
From: Daniel Borkmann
Date: Sun, 14 Jan 2018 01:16:17 +0100
> Will get them in as soon as DaveM pulled the current batch into net.
This is now done.
From: Arnd Bergmann
Date: Sat, 13 Jan 2018 22:13:44 +0100
> On targets that have different sizes for phys_addr_t and dma_addr_t,
> we get a type mismatch error:
>
> drivers/net/ethernet/socionext/netsec.c: In function 'netsec_alloc_dring':
> drivers/net/ethernet/socionext/netsec.c:970:9: error:
From: Jim Westfall
Date: Sat, 13 Jan 2018 16:01:39 -0800
>
> + if(dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))
There must be a space between 'if' and the opennening parenthesis.
Please do not just repost this patch to fix this problem, you must
repost the entire patch series anew when m
From: Jiri Pirko
Date: Fri, 12 Jan 2018 17:15:59 +0100
> From: Ido Schimmel
>
> Since commit eb789980d0aa ("mlxsw: spectrum_router: Populate adjacency
> entries according to weights") the driver includes support for
> non-equal-cost multipath, but IPv4 nexthops were the only user.
>
> Now that
On Fri, Jan 12, 2018 at 05:43:23PM -0800, Eric Dumazet wrote:
> From: Eric Dumazet
>
> Divides by zero are not nice, lets avoid them if possible.
>
> Also do_div() seems not needed when dealing with 32bit operands,
> but this seems a minor detail.
>
> Fixes: bd4cf0ed331a ("net: filter: rework/o
From: Andrew Lunn
Date: Sun, 14 Jan 2018 02:32:43 +0100
> Both the ATU and VTU of Mavell switches can generate interrupts when
> violations occur. Trap this interrupts and print what violation
> occurred.
Series applied, thanks Andrew.
From: Rahul Lakkireddy
Date: Sun, 14 Jan 2018 15:02:03 +0530
> This series of patches speed up reading on-chip memory (EDC and MC)
> by using AVX intrinsic instructions when available.
>
> Patch 1 exports callback to register supported intrinsic instructions
> when available. Also rework logic
From: Jiri Pirko
Date: Sun, 14 Jan 2018 12:33:12 +0100
> Add an offload support for PRIO qdisc for mlxsw driver.
Series applied, thanks.
From: Jeff Kirsher
Date: Fri, 12 Jan 2018 09:29:22 -0800
> This series contains updates to ixgbe, fm10k and net core.
...
> The following are changes since commit
> 6bd39bc3da0f4a301fae69c4a32db2768f5118be:
> Merge branch 'hns3-add-some-new-features-and-fix-some-bugs'
> and are available in t
On Sun, Jan 14, 2018 at 01:18:35PM +0200, Karim Eshapa wrote:
> >> Use pointers to structure as arguments to function instead of coping
> >> structures and less stack size. Also transfer TNUM(_v, _m) to
> >> tnum.h file to be used in differnet files for creating anonymous structures
> >> statically
The dual-port Ether configurations always have a shared TSU to e.g. pass
the packets between those ports. With the TSU init. code gathered under
the single *if*, we now can only get the port # from 'platform_device::id'
only when we actually need it (and not recalculate it each time)...
Signe
Hello!
Here's a set of 2 patches against DaveM's 'net-next.git' repo. With those,
I'm somewhat simplifying the TSU init code in the driver probe() method...
[1/2] sh_eth: gather all TSU init code in one place
[2/2] sh_eth: get Ether port # only when needed
MBR, Sergei
The sh_eth_cpu_data::chip_reset() method always resets using ARSTR and
this register is always located at the start of the TSU register region.
Therefore, we can only call this method if we know TSU is there and thus
simplify the probing code a bit...
Signed-off-by: Sergei Shtylyov
---
d
As ieee80211_bss_get_ie() derefences an RCU, it needs to be called with
rcu_read_lock held.
Fixes: 44905265bc15 ("nl80211: don't expose wdev->ssid for most interfaces")
Signed-off-by: Dominik Brodowski
---
This patch fixes the regression I reported in the last couple of weeks for
various v4.15-r
On Fri, Jan 12, 2018 at 03:01:36PM +0100, Andrew Lunn wrote:
> __phy_modify would return the old value of the register before it was
> modified. Thus on success, it does not return 0, but a positive value.
> Thus functions using phy_modify, which is a wrapper around
> __phy_modify, can start return
From: Andrew Lunn
Date: Sun, 14 Jan 2018 19:04:11 +0100
> Is there any particular reason you have not picked up this patch? Do
> you want more testing? An O.K. from Russell?
I just haven't gotten to it yet, and it's the weekend, so...
Use n->primary_key instead of pkey to account for the possibility that a neigh
constructor function may have modified the primary_key value.
Signed-off-by: Jim Westfall
---
net/core/neighbour.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/core/neighbour.c b/net/cor
Map all lookup neigh keys to INADDR_ANY for loopback/point-to-point devices
to avoid making an entry for every remote ip the device needs to talk to.
This used the be the old behavior but became broken in a263b3093641f
(ipv4: Make neigh lookups directly in output packet path) and later removed
in
This used to be the previous behavior in older kernels but became broken in
a263b3093641f (ipv4: Make neigh lookups directly in output packet path)
and then later removed because it was broken in 0bb4087cbec0 (ipv4: Fix neigh
lookup keying over loopback/point-to-point devices)
Not having this resu
On Thu, Jan 11, 2018 at 9:06 AM, Christopher Lameter wrote:
> On Wed, 10 Jan 2018, Kees Cook wrote:
>
>> diff --git a/mm/slab.h b/mm/slab.h
>> index ad657ffa44e5..7d29e69ac310 100644
>> --- a/mm/slab.h
>> +++ b/mm/slab.h
>> @@ -526,4 +526,10 @@ static inline int cache_random_seq_create(struct
>>
Tests (using an oscilloscope and an Odroid-C1 board with a RTL8211F
RGMII PHY) have shown that the PRG_ETH0 register behaves as follows:
- bit 4 is a mux to choose between two parent clocks. according to the
public S805 datasheet the only supported parent clock is MPLL2 (this
was not verified u
Hi Dave,
please do not apply this series until it got a Tested-by from Emiliano.
Hi Emiliano,
you reported [0] that you couldn't get dwmac-meson8b to work on your
Odroid-C1. With your findings (register dumps, clk_summary output, etc.)
I think I was able to find a fix: it consists of two patche
On Meson8b the only valid input clock is MPLL2. The bootloader
configures that to run at 52394Hz which cannot be divided evenly
down to 125MHz using the m250_div clock. Currently the common clock
framework chooses a m250_div of 2 - with the internal fixed
"divide by 10" this results in a RGMII
Neither the m25_div_clk nor the m250_div_clk or m250_mux_clk are used in
RMII mode. The m25_div_clk output is routed to the RGMII PHY's "RGMII
clock".
This means that we don't need to configure the clocks in RMII mode. The
driver however did this - with no effect since the clocks are not routed
to
Instead of using a custom buffer, snprintf() and devm_kstrdup() we can
simplify this by using devm_kasprintf().
No functional changes - this just makes the code shorter.
Signed-off-by: Martin Blumenstingl
---
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 13 ++---
1 file changed,
Meson8b only supports MPLL2 as clock input. The rate of the MPLL2 clock
set by Odroid-C1's u-boot is close to (but not exactly) 500MHz. The
exact rate is 52394Hz, which is calculated in
drivers/clk/meson/clk-mpll.c using the following formula:
DIV_ROUND_UP_ULL((u64)parent_rate * SDM_DEN, (SDM_D
Hi,
> Fixes: 44905265bc15 ("nl80211: don't expose wdev->ssid for most interfaces")
> Signed-off-by: Dominik Brodowski
> ---
>
> This patch fixes the regression I reported in the last couple of weeks for
> various v4.15-rcX revisions to netdev, where a "suspicious RCU usage"
> showed up in net/wi
On 01/13/2018 03:59 AM, Alexei Starovoitov wrote:
> due to some JITs doing if (src_reg == 0) check in 64-bit mode
> for div/mod opreations mask upper 32-bits of src register
> before doing the check
>
> Fixes: 622582786c9e ("net: filter: x86: internal BPF JIT")
> Fixes: 7a12b5031c6b ("sparc64: Add
As ieee80211_bss_get_ie() derefences an RCU, it needs to be called with
rcu_read_lock held.
Fixes: 44905265bc15 ("nl80211: don't expose wdev->ssid for most interfaces")
Signed-off-by: Dominik Brodowski
---
> This uses the ssid_ie, so that doesn't really seem right? The
> protection should extend
On Thu, Jan 11, 2018 at 03:05:14PM -0800, Kees Cook wrote:
> On Thu, Jan 11, 2018 at 9:01 AM, Theodore Ts'o wrote:
> > On Wed, Jan 10, 2018 at 06:02:45PM -0800, Kees Cook wrote:
> >> The ext4 symlink pathnames, stored in struct ext4_inode_info.i_data
> >> and therefore contained in the ext4_inode_
On Sun, 2018-01-14 at 23:22 +0100, Dominik Brodowski wrote:
>
> + rcu_read_lock();
> ssid_ie = ieee80211_bss_get_ie(&wdev->current_bss->pub,
> WLAN_EID_SSID);
> if (!ssid_ie)
> - break;
nit-pi
On Wed, Jan 10, 2018 at 12:28:23PM -0600, Christopher Lameter wrote:
> On Tue, 9 Jan 2018, Kees Cook wrote:
> > +struct kmem_cache *kmem_cache_create_usercopy(const char *name,
> > + size_t size, size_t align, slab_flags_t flags,
> > + size_t useroffset, size_t u
Hi Jakub,
Series looks fine, just stumbled over one small thing here below.
On 01/12/2018 05:29 AM, Jakub Kicinski wrote:
[...]
> +bool bpf_offload_dev_match(struct bpf_prog *prog, struct bpf_map *map)
> +{
> + struct bpf_offloaded_map *offmap;
> + struct bpf_prog_offload *offload;
> +
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
include/linux/mlx5/mlx5_ifc.h
between commit:
8978cc921fc7 ("{net,ib}/mlx5: Don't disable local loopback multicast traffic
when needed")
from the net tree and commit:
40817cdbb695 ("net/mlx5: Add hairpin definitio
On Sun, Jan 14, 2018 at 3:37 PM, Daniel Borkmann wrote:
> Hi Jakub,
>
> Series looks fine, just stumbled over one small thing here below.
>
> On 01/12/2018 05:29 AM, Jakub Kicinski wrote:
> [...]
>> +bool bpf_offload_dev_match(struct bpf_prog *prog, struct bpf_map *map)
>> +{
>> + struct bpf_o
On 01/15/2018 12:52 AM, Jakub Kicinski wrote:
> On Sun, Jan 14, 2018 at 3:37 PM, Daniel Borkmann wrote:
>> Hi Jakub,
>>
>> Series looks fine, just stumbled over one small thing here below.
>>
>> On 01/12/2018 05:29 AM, Jakub Kicinski wrote:
>> [...]
>>> +bool bpf_offload_dev_match(struct bpf_prog
On 01/12/2018 05:29 AM, Jakub Kicinski wrote:
> Hi!
>
> This set adds support for creating maps on networking devices. BPF is
> programs+maps, the pure program offload has been around for quite some
> time, this patchset adds the map part of the equation.
>
> Maps are allocated on the target dev
Hi all,
Today's linux-next merge of the bpf-next tree got a conflict in:
arch/x86/lib/Makefile
between commit:
76b043848fd2 ("x86/retpoline: Add initial retpoline support")
from Linus' tree and commit:
540adea3809f ("error-injection: Separate error-injection from kprobe")
from the bpf-
Hi all,
Today's linux-next merge of the rdma tree got a conflict in:
drivers/infiniband/hw/mlx5/main.c
between commits:
8978cc921fc7 ("{net,ib}/mlx5: Don't disable local loopback multicast traffic
when needed")
72f36be06138 ("net/mlx5: Fix mlx5_get_uars_page to return error code")
from
Commit 0dfb33a0d7e2 ("sch_red: report backlog information") copied
child's backlog into RED's backlog. Back then RED did not maintain
its own backlog counts. This has changed after commit 2f5fb43f
("net_sched: update hierarchical backlog too") and commit d7f4f332f082
("sch_red: update backlog
The variable miistat is not used. So it is removed.
CC: Srinivas Eeda
CC: Joe Jin
CC: Junxiao Bi
Signed-off-by: Zhu Yanjun
---
drivers/net/ethernet/nvidia/forcedeth.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c
b/drivers/
Hi Tariq
Thanks for your kindly response.
On 01/14/2018 05:47 PM, Tariq Toukan wrote:
> Thanks Jianchao for your patch.
>
> And Thank you guys for your reviews, much appreciated.
> I was off-work on Friday and Saturday.
>
> On 14/01/2018 4:40 AM, jianchao.wang wrote:
>> Dear all
>>
>> Thanks fo
From: Greentime Hu
This patch includes memory initializations and highmem supporting.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/mm/highmem.c | 79 +
arch/nds32/mm/init.c | 277 ++
arch/nds32/mm/mm-nds
From: Greentime Hu
This patch adds VDSO support. The VDSO code is currently used for
sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter).
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/vdso.h | 24 +++
arch/nds32/inc
From: Greentime Hu
This patch is used to support nds32 architecture to use these faraday
mac IP.
Signed-off-by: Greentime Hu
---
drivers/net/ethernet/faraday/Kconfig |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/faraday/Kconfig
b/drivers/n
From: Rick Chen
Add a document to describe Andestech atcpit100 timer and
binding information.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Acked-by: Rob Herring
---
.../bindings/timer/andestech,atcpit100-timer.txt | 33
1 file changed, 33 insertions(+)
creat
From: Rick Chen
VDSO needs real-time cycle count to ensure the time accuracy.
Unlike others, nds32 architecture does not define clock source,
hence VDSO needs atcpit100 offering real-time cycle count
to derive the correct time.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by
From: Rick Chen
ATCPIT100 is often used on the Andes architecture,
This timer provide 4 PIT channels. Each PIT channel is a
multi-function timer, can be configured as 32,16,8 bit timers
or PWM as well.
For system timer it will set channel 1 32-bit timer0 as clock
source and count downwards until
ATCPIT100 is often used on the Andes architecture,
This timer provide 4 PIT channels. Each PIT channel is a
multi-function timer, can be configured as 32,16,8 bit timers
or PWM as well.
For system timer it will set channel 1 32-bit timer0 as clock
source and count downwards until underflow and res
From: Greentime Hu
This patch adds an irqchip driver document for the Andestech Internal Vector
Interrupt Controller.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
.../interrupt-controller/andestech,ativic32.txt| 19 +++
1 file change
From: Greentime Hu
This patch adds nds32 SoC(AE3XX and AG101P) binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
.../devicetree/bindings/nds32/andestech-boards | 40
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicet
From: Greentime Hu
This patch adds nds32 CPU binding documents.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by: Zong Li
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++
1 file change
From: Greentime Hu
This patch adds nds32 L2 cache controller binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/nds32/atl2c.txt | 29 +
1 file changed, 29 insertions(+)
create mode 100644 Documentation/devicetre
From: Greentime Hu
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building
an nds32 kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/Kconfig | 107
arch/nds32/Kconfig.cpu | 161 +++
From: Greentime Hu
This patch adds nds32 defconfig.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/configs/defconfig | 107 ++
1 file changed, 107 insertions(+)
create mode 100644 arch/nds32/configs/defconfig
diff --git a/arch
From: Greentime Hu
This patch introduces some miscellaneous header files.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/delay.h | 39 +++
arch/nds32/include/asm/linkage.h| 11 +
arch/nds32/include/ua
From: Greentime Hu
Signed-off-by: Greentime Hu
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2f4e462..20284c8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -857,6 +857,17 @@ X: drivers/iio/*/adjd*
F: drivers/staging/iio/*
From: Greentime Hu
This patch adds support for timer.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
---
arch/nds32/kernel/time.c | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 arch/nds32/kernel/time.c
diff --git a/arch/nds32/ker
From: Greentime Hu
This patch adds support for device tree.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/boot/dts/Makefile |8
arch/nds32/boot/dts/ae3xx.dts | 85 +
arch/nds32/kernel/devtree.c | 19 +
3
From: Greentime Hu
This patch adds support for loadable modules.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/module.h | 11 ++
arch/nds32/kernel/module.c | 286 +++
2 files changed, 297 insertions(+)
create mo
From: Greentime Hu
This patch adds L2 cache support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/l2_cache.h | 137 +
arch/nds32/kernel/atl2c.c | 64 +
2 files changed, 201 insertions(+)
crea
From: Greentime Hu
This patch adds ptrace support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/ptrace.h | 25 +++
arch/nds32/kernel/ptrace.c | 311 ++
2 files changed, 336 insertions(+)
create mode 10064
From: Greentime Hu
This patch add support for various library functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/string.h | 17 +++
arch/nds32/include/asm/swab.h| 35 +
arch/nds32/include/asm/uaccess.h | 283
From: Greentime Hu
This patch adds support for signal handling.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/sigcontext.h | 60 ++
arch/nds32/kernel/signal.c | 337 ++
2 files changed, 397 insertions(+
From: Greentime Hu
This patch adds support for system calls.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/syscall.h | 188 ++
arch/nds32/include/asm/syscalls.h| 13 +++
arch/nds32/include/asm/unistd.h |6
From: Greentime Hu
This patch adds definitions for the ELF format, relocation types, vdso
locations and EXEC_PAGESIZE.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/elf.h | 171 ++
arch/nds32/include/uapi/asm/auxvec
From: Greentime Hu
This patch includes irq related functions and irqchip_init().
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/irqflags.h | 36
arch/nds32/kernel/irq.c |9 +
2 files changed, 45 i
From: Greentime Hu
This patch introduces ioremap implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/io.h | 83 +++
arch/nds32/mm/ioremap.c | 62
2 files changed, 1
From: Greentime Hu
This patch adds support for the DMA mapping API. It uses dma_map_ops for
flexibility.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/dma-mapping.h | 14 ++
arch/nds32/kernel/dma.c | 459 ++
From: Greentime Hu
This patch contains cache and TLB maintenance functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/cache.h | 12 +
arch/nds32/include/asm/cache_info.h| 13 +
arch/nds32/include/asm/cacheflush.h| 44 +++
arch/nds
From: Greentime Hu
This patch includes the atomic and futex operations. Many atomic operations use
the load-lock word(llw) and store-condition word(scw) operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/barrier.h | 15 ++
arch/nds32/include/a
From: Greentime Hu
This patch includes copy_thread(), start_thread() implementation and cpu_context
structure definition. nds32 uses $r25 to get current task_struct.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/current.h | 12 ++
arch/nds32/include/
From: Greentime Hu
This patch includes the kernel startup code. It can get dtb pointer
passed from bootloader. It will create a temp mapping by tlb
instructions at beginning and goto start_kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/head.S | 188 +++
From: Greentime Hu
This patch includes page fault handler, mmap and fixup implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/lib/copy_page.S | 37
arch/nds32/mm/extable.c| 16 ++
arch/nds32/mm/fault.c | 410 ++
From: Greentime Hu
This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It
also includes the 4KB/8KB page size configurations and pte operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/fixmap.h | 29 +++
arch/nds32/include/a
From: Greentime Hu
This patch includes the exception/interrupt entries, pt_reg structure and
related accessors.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/ptrace.h | 66 +
arch/nds32/kernel/ex-entry.S| 157 ++
arch/nds32/kernel/ex-exi
1 - 100 of 117 matches
Mail list logo