Hi,
We do cross compile builds for ARC Linux. To avoid the env var set, we have a
defconfig entry for CONFIG_CROSS_COMPILE.
This worked fine so far (host gcc 4.4 i.e.). When switched to a new host distro
(gcc 4.7), a defconfig build spews out the warning.
--->8
Hi Michal, Arnd, Ben
On Tuesday 05 February 2013 04:24 PM, Michal Simek wrote:
> 2013/2/5 Benjamin Herrenschmidt :
>> On Mon, 2013-02-04 at 17:24 +, Arnd Bergmann wrote:
>>> On Monday 04 February 2013, Michal Simek wrote:
> and select the CONFIG_FOO_BIG_ENDIAN and CONFIG_FOO_LITTLE_ENDIAN
On Wednesday 30 January 2013 02:14 AM, Stephen Rothwell wrote:
> Hi Vineet,
>
> On Mon, 28 Jan 2013 12:40:24 +0530 Vineet Gupta
> wrote:
>>
>> Stephen, can you please add the following branch (rebased off 3.8-rc5) to
>> linux-next
>>
>> git://githu
On Thursday 10 January 2013 09:00 PM, James Hogan wrote:
> Add device tree files to arch/metag.
>
> Signed-off-by: James Hogan
Acknowledging the fact that I reused much of code/ideas from this patch for ARC
Device tree and multi-platform-image implementation:
Reviewed-by: Vineet Gu
On Thursday 07 February 2013 04:46 PM, James Hogan wrote:
> Hi Rusty,
>
> The metag architecture tree adds an add_taint(TAINT_DIE) like other
> architectures do, and the modules-next tree adds the
> LOCKDEP_NOW_UNRELIABLE flag to all uses of add_taint (but obviously
> misses arch/metag since it do
On Saturday 09 February 2013 04:31 AM, Grant Likely wrote:
> On Fri, 11 Jan 2013 11:50:23 +0530, Vineet Gupta
> wrote:
>> +- clock-frequency : the input clock frequency for the UART
>> +- baud : baud rate for UART
> change 'baud' to
Hi Arnd,
On Thursday 24 January 2013 04:20 PM, Vineet Gupta wrote:
> Includes following fixes courtesy review by Al-Viro
>
> * Tracer poke to Callee-regs were lost
>
> Before going off into do_signal( ) we save the user-mode callee regs
> (as they are not saved by default
-replace "baud" with "current-speed"
-if uart alias doesn't exist in DT, don't abort, pick 0
Signed-off-by: Vineet Gupta
Cc: Greg Kroah-Hartman
Cc: Grant Likely
Cc: Arnd Bergmann
Cc: devicetree-disc...@lists.ozlabs.org
Cc: Rob Herring
Cc: Rob Landley
Cc: l
On Monday 11 February 2013 03:06 PM, Jonas Bonn wrote:
> On 11 February 2013 08:26, Vineet Gupta wrote:
>
>> The only downside of this patch is that userspace signal stack grows in size,
>> since signal frame only cares about scratch regs (pt_regs), but has to
>&g
On Monday 11 February 2013 04:23 PM, Jonas Bonn wrote:
> On 11 February 2013 11:28, James Hogan wrote:
>> On 11/02/13 10:13, Vineet Gupta wrote:
>>> On Monday 11 February 2013 03:06 PM, Jonas Bonn wrote:
>>>> On 11 February 2013 08:26, Vineet Gupta wrote:
>&g
On Monday 11 February 2013 04:59 PM, James Hogan wrote:
> Hi Vineet,
>
> On 24/01/13 10:50, Vineet Gupta wrote:
>> diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
>> new file mode 100644
>> index 000..b0b09ae
>> --- /dev/null
>> +
On Monday 11 February 2013 05:42 PM, Jonas Bonn wrote:
> On 11 February 2013 12:22, Vineet Gupta wrote:
>> On Monday 11 February 2013 04:23 PM, Jonas Bonn wrote:
>>> On 11 February 2013 11:28, James Hogan wrote:
>>>> On 11/02/13 10:13, Vineet Gupta wrote:
>>
On Monday 11 February 2013 06:32 PM, Jonas Bonn wrote:
> On 11 February 2013 13:37, Vineet Gupta wrote:
>> Anyhow going back to my orig patch - if we park the
>> callee-regs-in-sigcontext-or-not, other bits look OK ?
>>
> Aside from the callee-regs question (wh
Hi Peter,
On 04/01/2013 08:40 PM, Peter Hurley wrote:
> On Mon, 2013-04-01 at 19:27 +0530, Vineet Gupta wrote:
>> Hi,
>>
>> Any thoughts: I observe the same issue even with CONFIG_PREEMPT and
>> CONFIG_PREEMPT_COUNT
>>
>> -Vineet
>>
>>
On 04/01/2013 08:40 PM, Peter Hurley wrote:
> On Mon, 2013-04-01 at 19:27 +0530, Vineet Gupta wrote:
>> Hi,
>>
>> Any thoughts: I observe the same issue even with CONFIG_PREEMPT and
>> CONFIG_PREEMPT_COUNT
>>
>> -Vineet
>>
>> On 03/30/2013 06:0
ff0ff0 DR7: 0400
> Stack:
> 88007c861ef8 81000312 82446608 88007c85e650
> 0003 88007c861f38 82335e5d
> 88007c862080 8223d8c0 88007c862080 81c47730
> Call Trace:
> [] do_one_ini
CHK kernel/config_data.h
--->8-
Signed-off-by: Vineet Gupta
Cc: Michal Marek
Cc: Stephen Warren
Cc: Grant Likely
Cc: linux-kbu...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
scripts/Makefile.lib |2 ++
1 file changed, 2 insertions(+)
diff --git
forgot to CC linux-arch
On 04/03/2013 12:42 PM, Vineet Gupta wrote:
> Currently, for every ARC kernel build I see the following:
>
> --->8-
> DTBarch/arc/boot/dts/angel4.dtb.S
> AS arch/arc/boot/dts/angel4.dtb.o
> LD arch/ar
Hi Thomas,
Did you get a chance to look at this one !
It fixes a real problem for ARC platform - w/o it my stress test setup buckles
up
in ~20 mins.
Thx,
-Vineet
On 03/29/2013 04:03 PM, Vineet Gupta wrote:
> When stress testing ARC Linux from 3.9-rc3, we've hit a serialization
>
Hi Ilya
On 04/03/2013 11:14 AM, Ilya Zykov wrote:
> Please, try this patch maybe it can help localize your problem.
>
> drivers/tty/n_tty.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c
> index 05e72be..28f15d0 100644
> --- a/drivers/tty/n_tty.
Hi Christian,
On 04/03/2013 06:40 PM, Christian Ruppert wrote:
> This patch adds implicit memory barriers to irqsave/restore functions of
> the ARC architecture port in line with what is done in other architectures.
>
> It seems to fix several seemingly unrelated issues in our platform but for
> t
st r4,[r3,4]# .prev, D.31439
st r3,[r4] # .next, D.30246
Signed-off-by: Vineet Gupta
Reported-by: Christian Ruppert
Cc: Thomas Gleixner
Cc: Christian Ruppert
Cc: Pierrick Hascoet
Cc: Robert Love
Cc: kpreempt-t...@lists.sourceforge.net
Cc: Frederic Weisbecker
Cc: Ste
On 04/03/2013 09:48 PM, Stephen Warren wrote:
> On 04/03/2013 01:14 AM, Vineet Gupta wrote:
>> forgot to CC linux-arch
>>
>> On 04/03/2013 12:42 PM, Vineet Gupta wrote:
>>> Currently, for every ARC kernel build I see the following:
>>>
>>>
Hi Oskar,
On 04/03/2013 01:58 PM, oskar.and...@sonymobile.com wrote:
> Hi,
>
> This is a slight rework of the following patches which I posted earlier:
> [PATCH] Kprobes blacklist: Conditionally add x86-specific symbols
> [PATCH] delay blacklist symbol lookup until we actually need it
>
> This s
Hi Peter,
On 04/04/2013 09:43 PM, Peter Zijlstra wrote:
> - : "cc");
> + : "memory", "cc");
> That's not a memory barrier, that a memory clobber, aka a compiler
> barrier.
For the problem under consideration we indeed want a compiler barrier because
the
error shows up due to a stale
Hi Thomas,
On 04/04/2013 08:58 PM, Christian Ruppert wrote:
> Hi Vineet,
>
> Our stress testing campaign has just successfully completed on this
> patch. It seems to solve several issues we have seen in unpatched
> versions, amongst others the original timer issue, a crash in hrtimer
> rb-tree man
On 04/04/2013 06:21 PM, Oskar Andero wrote:
> Some blackpoints are only valid for specific architectures. To let each
> architecture specify its own blackpoints the list has been split in two
> lists: common and arch. The common list is kept in kernel/kprobes.c and
> the arch list is kept in the ar
Hi James,
On Monday 28 January 2013 03:51 PM, James Hogan wrote:
> Hi Vineet,
>
> On 24/01/13 10:50, Vineet Gupta wrote:
>> diff --git a/arch/arc/Makefile b/arch/arc/Makefile
>> index 4d52a3b..90570f9 100644
>> --- a/arch/arc/Makefile
>> +++ b/arch/arc/Mak
Hi Stephen,
On Monday 28 January 2013 12:40 PM, Vineet Gupta wrote:
> Hi Arnd / Stephen,
>
> On Saturday 26 January 2013 05:55 AM, Arnd Bergmann wrote:
>> I'd suggest that you both ask Stephen to add the trees to linux-next
>> now (I thought you had done that already,
On Tuesday 29 January 2013 06:55 PM, Rob Herring wrote:
> On 01/24/2013 04:50 AM, Vineet Gupta wrote:
>> This is minimal infrastructure needed for devicetree work.
>> It uses an a sample "skeleton" devicetree - embedded in kernel image -
>> to print the board, manufa
On Tuesday 29 January 2013 12:14 AM, Sam Ravnborg wrote:
> On Mon, Jan 28, 2013 at 11:59:36AM +0530, Vineet Gupta wrote:
>> Hi Sam,
>>
>> On Thursday 24 January 2013 04:20 PM, Vineet Gupta wrote:
>>> Arnd in his review pointed out that arch Kconfig organisatio
On Tuesday 29 January 2013 10:35 PM, James Hogan wrote:
> Hi Vineet,
>
> You don't appear to define CONFIG_HW_PERF_EVENTS, so
> include/linux/oprofile.h will presumably define oprofile_perf_init as
> just a pr_info(...); return -ENODEV;
>
> Similarly drivers/oprofile/oprofile_perf.o doesn't seem to
On Wednesday 30 January 2013 04:24 PM, James Hogan wrote:
> On 30/01/13 06:34, Vineet Gupta wrote:
>> On Tuesday 29 January 2013 10:35 PM, James Hogan wrote:
>>> Hi Vineet,
>>>
>>> You don't appear to define CONFIG_HW_PERF_EVENTS, so
>>&g
On Wednesday 30 January 2013 04:43 PM, Michal Simek wrote:
> 2013/1/30 Alexey Brodkin :
>> On 01/29/2013 08:27 PM, Arnd Bergmann wrote:
>>> On Tuesday 29 January 2013, Alexey Brodkin wrote:
in(out)_8/in(out)_be16/in(out)_le16 are very powerpc/microblaze
specific. To enable use of Xilinx S
Hi Stephen,
On Wednesday 30 January 2013 02:14 AM, Stephen Rothwell wrote:
> Hi Vineet,
>
> On Mon, 28 Jan 2013 12:40:24 +0530 Vineet Gupta
> wrote:
>> Stephen, can you please add the following branch (rebased off 3.8-rc5) to
>> linux-next
>>
>> git://
On Friday 18 January 2013 08:42 PM, Arnd Bergmann wrote:
> On Friday 18 January 2013, Vineet Gupta wrote:
>>
>
> Hi Vineet,
>
> I've looked at the entire series again now, and it looks very good
> overall, I only had comments for tiny issues. With 76 patches in the
&
On Thursday 24 January 2013 03:22 PM, James Hogan wrote:
> Hi Vineet,
>
> On 24/01/13 08:54, Vineet Gupta wrote:
>> (3) That branch will be ARC patches on top of Linus's 3.8 rc4. Actually for
>> my
>> development, I'd also cherry picked a few patch
support (750/770) is exclusive.
The first 2 have been fixed in subsequent patches.
Due to the nature of the 750 and 770, it is not possible to build for
both together, w/o special runtime glue code which would hurt
performance.
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Cc: Sam Ravnborg
---
arch
This includes support for generic clone/for/vfork/execve
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Cc: Al Viro
Acked-by: Arnd Bergmann
---
arch/arc/Kconfig|1 +
arch/arc/include/asm/ptrace.h |5 +++
arch/arc/include/asm/syscall.h | 72
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/Kbuild| 58
arch/arc/include/asm/asm-offsets.h |9 +
2 files changed, 67 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/include/asm/Kbuild
create mode 100644 arch/arc/include
core kernel data-types
such as struct pt_regs, #ifdef __KERNEL__ which also makes the UAPI header
spit (further patch in the series) to NOT export it to asm/uapi/ptrace.h
Signed-off-by: Vineet Gupta
Cc: Jonas Bonn
Cc: Al Viro
Acked-by: Arnd Bergmann
---
arch/arc/include/asm/bug.h
caught in sigreturn()
* restart should happen only once, even if we get through do_signal()
many times."
ARC Port already handled #1, this patch fixes #2 and #3.
We use the additional state in pt_regs->orig_r8 to ckh if restarting
has already been done once.
Thanks to Al Viro for spotting
s specific hardware assist)
-RTSC is only allowed in SMP if it's cross-core-sync (Kconfig glue
ensures that) and thus usable for both requirements.
Signed-off-by: Vineet Gupta
Cc: Thomas Gleixner
---
arch/arc/include/asm/arcregs.h | 11 ++
arch/arc/include/asm/clk.h | 20 +++
arch/
ific "machine_desc".
TODO: support interpreting the command line as boot-loader passed dtb
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Cc: Grant Likely
Cc: devicetree-disc...@lists.ozlabs.org
Cc: Rob Herring
---
arch/arc/Kconfig|9 +
arch/arc/Makefile
rot API
Mischa Jonker (1):
ARC: kgdb support
Vineet Gupta (69):
ARC: Generic Headers
ARC: Build system: Makefiles, Kconfig, Linker script
ARC: irqflags - Interrupt enabling/disabling at in-core intc
ARC: Atomic/bitops/cmpxchg/barriers
asm-generic headers: uaccess.h to conditionally d
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/module.h |4 ++
arch/arc/kernel/Makefile |1 +
arch/arc/kernel/module.c | 87 +
3 files changed, 92 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/kernel/module.c
diff
asm-generic/Kbuild.asm
To work around empty uapi/asm/setup.h added a placholder comment.
Signed-off-by: Vineet Gupta
Cc: David Howells
---
arch/arc/include/asm/Kbuild|8 ---
arch/arc/include/asm/byteorder.h | 18 --
arch/arc/include/asm/cachectl.h| 28
* ARC700 has VIPT L1 Caches
* Caches don't snoop and are not coherent
* Given the PAGE_SIZE and Cache associativity, we don't support aliasing
D$ configurations (yet), but do allow aliasing I$ configs
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h| 80
to do likes
of PEEKUSR(callee-reg).
However in return path we were simply discarding the user-mode callee
regs, which would break a POKEUSR(callee-reg) from a tracer.
* Issue related to multiple syscall restarts are addressed in next patch
Signed-off-by: Vineet Gupta
Cc: Al Viro
Signed-off-by: Vineet Gupta
Cc: Al Viro
Cc: Thomas Gleixner
---
arch/arc/Kconfig |2 +
arch/arc/include/asm/arcregs.h | 20
arch/arc/include/asm/processor.h |9 +-
arch/arc/include/asm/ptrace.h|8 ++
arch/arc/include/asm/switch_to.h | 41
Signed-off-by: Vineet Gupta
Acked-by: Arnd Bergmann
---
arch/arc/Kconfig |2 +
arch/arc/include/asm/arcregs.h |5 +
arch/arc/include/asm/setup.h | 22 +
arch/arc/kernel/head.S | 78 +
arch/arc/kernel/reset.c | 33
restarted)
* upper short word optionally containing the syscall num - needed by
likes of tracehooks etc
This patch only changes how orig_r8 is organised and nothing should
change behaviourily.
Signed-off-by: Vineet Gupta
Cc: Al Viro
---
arch/arc/include/asm/entry.h | 29 +-
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/serial.h | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/include/asm/serial.h
diff --git a/arch/arc/include/asm/serial.h b/arch/arc/include/asm/serial.h
new file mode 100644
* mem size now runtime configured (prev CONFIG_ARC_PLAT_SDRAM_SIZE)
* core cpu clk runtime configured (prev CONFIG_ARC_PLAT_CLK)
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Cc: Grant Likely
---
arch/arc/Kconfig| 12
arch/arc/boot/dts/skeleton.dtsi |6
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/segment.h | 24 ++
arch/arc/include/asm/uaccess.h | 646
arch/arc/mm/extable.c | 63
3 files changed, 733 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/include/asm
Arc DCCM.
The end result is that it is possible to examine values of variables
placed into DCCM in user space programs via GDB.
CC: Alexey Brodkin
CC: Noam Camus
Acked-by: Vineet Gupta
Signed-off-by: Gilad Ben-Yossef
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig|1 +
arch
th MACHINE_STARt/END constructs) so the hooks will not run.
Next commit will actually convert the platform to this infrastructure.
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Acked-by: Arnd Bergmann
---
arch/arc/include/asm/mach_desc.h | 85 ++
arch/ar
Origin port done by Rajeshwar Ranga
Signed-off-by: Vineet Gupta
Cc: Rajeshwar Ranga
---
arch/arc/Kconfig |2 +
arch/arc/include/asm/kprobes.h | 62 +
arch/arc/include/asm/ptrace.h |5 +
arch/arc/kernel/Makefile |1 +
arch/arc/kernel/disasm.c |5
: switch over to linear irq domain once all devs have been
transitioned to DT
Signed-off-by: Vineet Gupta
Cc: Grant Likely
Cc: Arnd Bergmann
---
.../devicetree/bindings/arc/interrupts.txt | 24 +
arch/arc/boot/dts/Makefile |2 +-
arch/arc/boot/dts
This allows ARC Target to do I/O to host in absence of any peripherals
whatsoever, assisted by Metaware Hostlink facility.
Further we have a FUSE based filesystem which makes us mount/access host
filesystem on target and do fops.
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig
Signed-off-by: Vineet Gupta
---
arch/arc/configs/fpga_defconfig | 23 +++
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/arch/arc/configs/fpga_defconfig b/arch/arc/configs/fpga_defconfig
index 8638e101f..b869806 100644
--- a/arch/arc/configs/fpga_defconfig
ressed in subsequent patches within this series.
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Cc: Thomas Gleixner
Cc: Rajeshwar Ranga
Cc: Noam Camus
Cc: Gilad Ben-Yossef
---
arch/arc/Kconfig | 39 -
arch/arc/Makefile|3 +
arch/arc
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/dma-mapping.h| 205 +
arch/arc/include/asm/dma.h| 14 ++
arch/arc/include/asm/io.h | 103 +
arch/arc/mm/dma.c | 94
-Originally contributed by Rajeshwar Range
-Derived off of generic unwinder in 2.6.19 and adapted to ARC
Signed-off-by: Vineet Gupta
Cc: Rajeshwar Ranga
---
arch/arc/Kconfig | 15 +
arch/arc/include/asm/module.h |7 +
arch/arc/include/asm/unwind.h | 163 +
arch/arc
This is the second set of patches untouched since v2.
-Vineet
--
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.o
know that data involved is "unit"
sized and aligned, using the vanilla copy backend is a bit wasteful.
This change thus allows arches to over-ride the aforementioned routines.
Signed-off-by: Vineet Gupta
Acked-by: Arnd Bergmann
---
include/asm-generic/uaccess.h | 11 +++
1 fi
TBD: do_csum still needs to be written in asm
Signed-off-by: Vineet Gupta
Acked-by: Arnd Bergmann
---
arch/arc/include/asm/byteorder.h | 18 +++
arch/arc/include/asm/checksum.h | 101 ++
arch/arc/include/asm/swab.h | 98
This contains:
-bootup arch IRQ init: init_IRQ(), arc_init_IRQ()
-generic IRQ subsystem glue: arch_do_IRQ()
-basic IRQ chip setup for in-core intc
Signed-off-by: Vineet Gupta
Cc: Thomas Gleixner
---
arch/arc/include/asm/arcregs.h |3 +
arch/arc/include/asm/hw_irq.h |7 +++
arch/arc
y
a bit in the AUX_IENABLE register, hence the implmentation of
arch_{,un}mask_irq( ) routines.
Signed-off-by: Vineet Gupta
Cc: Thomas Gleixner
---
arch/arc/include/asm/arcregs.h | 114 ++
arch/arc/include/asm/irqflags.h | 149 +++
This covers the UP / SMP (with no hardware assist for atomic r-m-w) as
well as ARC700 LLOCK/SCOND insns based.
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/atomic.h | 232 ++
arch/arc/include/asm/barrier.h | 42
arch/arc/include/asm/bitops.h | 516
* MMU I-TLB / D-TLB Miss Exceptions
- Fast Path TLB Refill Handler
- slowpath TLB creation via do_page_fault() -> update_mmu_cache()
* Duplicate PD Exception Handler
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 91 ++
arch/arc/include/asm/tlb-mmu1.h |
r
newer kernel ports.
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
---
arch/arc/include/asm/irq.h |1 +
arch/arc/plat-arcfpga/include/plat/irq.h| 27 +++
arch/arc/plat-arcfpga/include/plat/memmap.h | 31
arch/arc/plat-arcfpga/platform
d NOT early
exit for
SIGKILL + VM_FAULT_OOM + !VM_FAULT_RETRY
Signed-off-by: Vineet Gupta
---
arch/arc/mm/fault.c | 228 +++
1 files changed, 228 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/mm/fault.c
diff --git a/arch/arc/mm/f
Signed-off-by: Vineet Gupta
Cc: Al Viro
---
arch/arc/include/asm/entry.h | 495
arch/arc/kernel/entry.S | 571 ++
2 files changed, 1066 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/include/asm
ARC700 MMU provides for tagging TLB entries with a 8-bit ASID to avoid
having to flush the TLB every task switch.
It also allows for a quick way to invalidate all the TLB entries for
task useful for:
* COW sementics during fork()
* task exit()ing
Signed-off-by: Vineet Gupta
---
arch/arc
This is because mm_segment_t is exported by arch code, while seqment_eq
assumes it will have .seg element.
Acked-by: Arnd Bergmann
Signed-off-by: Vineet Gupta
---
include/asm-generic/uaccess.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig |7 ++
arch/arc/Makefile|9 +++
arch/arc/include/asm/Kbuild |1 -
arch/arc/include/asm/current.h | 32 +++
arch/arc/include/asm/entry.h | 45
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/troubleshoot.c | 305
arch/arc/mm/tlbex.S| 20 +++
2 files changed, 325 insertions(+), 0 deletions(-)
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c
index
to do leftover bytes calculation can be avoided as well.
The savings were significant: ~17k of code.
bloat-o-meter vmlinux_uaccess_pre vmlinux_uaccess_post
add/remove: 0/4 grow/shrink: 8/118 up/down: 1262/-18758 (-17496)
^
Signed-off-b
ble/disble
* SYSCTL_ARCH_UNALIGN_NO_WARN: Warn on each emulation attempt
Originally contributed by Tim Yao
Signed-off-by: Vineet Gupta
Cc: Tim Yao
Acked-by: Arnd Bergmann
---
arch/arc/Kconfig | 11 ++
arch/arc/include/asm/Kbuild |1 -
arch/arc/include/asm/ptrace.h|3 +
Signed-off-by: Vineet Gupta
Cc: Robert Richter
Cc: oprofile-l...@lists.sf.net
---
arch/arc/Kconfig |1 +
arch/arc/Makefile |2 ++
arch/arc/oprofile/Makefile |9 +
arch/arc/oprofile/common.c | 22 ++
4 files changed, 34 insertions
In-kernel disassembler
Due Credits
* Orig written by Rajeshwar Ranga
* Consolidation/cleanups by Mischa Jonker
Signed-off-by: Vineet Gupta
Cc: Rajeshwar Ranga
Cc: Mischa Jonker
---
arch/arc/include/asm/disasm.h | 116 +
arch/arc/kernel/Makefile |2 +-
arch/arc/kernel
PARISC defines /proc/sys/kernel/unaligned-trap to runtime toggle
unaligned access emulation.
The exact mechanics of enablig/disabling are still arch specific, we can
make the sysctl usable by other arches.
Signed-off-by: Vineet Gupta
Acked-by: Helge Deller
Cc: "James E.J. Bottomley"
Signed-off-by: Vineet Gupta
---
arch/arc/Makefile |2 +
arch/arc/include/asm/arcregs.h | 122 --
arch/arc/include/asm/defines.h | 56 ++
arch/arc/include/asm/setup.h | 14 +++
arch/arc/kernel/setup.c| 223
-platform API is retired and instead callbacks are used
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Acked-by: Arnd Bergmann
---
arch/arc/include/asm/irq.h |1 -
arch/arc/include/asm/smp.h |5 ---
arch/arc/kernel/irq.c|2 -
arch/arc
This is more natural and is now doable since the choice constructs are
gone.
Signed-off-by: Vineet Gupta
Acked-by: Arnd Bergmann
---
arch/arc/Kconfig | 21 +++--
arch/arc/plat-arcfpga/Kconfig | 14 ++
2 files changed, 13 insertions(+), 22 deletions
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig |3 +++
arch/arc/include/asm/perf_event.h | 13 +
2 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/include/asm/perf_event.h
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index
From: Mischa Jonker
Signed-off-by: Mischa Jonker
Signed-off-by: Vineet Gupta
Cc: Jason Wessel
Acked-by: Jason Wessel
---
arch/arc/Kconfig|3 +-
arch/arc/include/asm/kgdb.h | 61 +
arch/arc/kernel/Makefile|1 +
arch/arc/kernel/kgdb.c | 205
For now this will suffice for all platforms, later exotic ones needs to
get this from DeviceTree
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
---
arch/arc/include/asm/irq.h |2 ++
arch/arc/plat-arcfpga/include/plat/irq.h |6 --
2 files changed, 2 insertions(+), 6
st in case a platform has an obscure device
which say needs 0 based bus address.
That way no longer needs to unconditinally include
Also verfied that on Angel4 board, other peripherals (IDE-disk / EMAC)
work fine with 0x8000_ based dma addresses.
Signed-off-by: Vineet Gupta
Cc: Arnd Ber
Signed-off-by: Vineet Gupta
---
arch/arc/plat-arcfpga/Kconfig| 32 +
arch/arc/plat-arcfpga/platform.c | 56 ++
2 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/arch/arc/plat-arcfpga/Kconfig b/arch/arc/plat-arcfpga
ned-off-by: Vineet Gupta
Cc: Arnd Bergmann
Acked-by: Arnd Bergmann
---
arch/arc/Makefile| 16 +---
arch/arc/include/asm/irq.h |1 -
arch/arc/kernel/vmlinux.lds.S|1 -
arch/arc/plat-arcfpga/Makefile |2 ++
arch/arc/plat-arcfpga/irq.c |
o the first step towards multi-platform (and multi-board) builds it to
allow build system to do that.
So as applicable, =>
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Acked-by: Arnd Bergmann
---
arch/arc/Kconfig |6 ++
arch/arc/plat-arcfpga/Kconfig |5 ++---
Signed-off-by: Vineet Gupta
---
MAINTAINERS |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3105c48..05cdc99 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7418,6 +7418,12 @@ F: lib/swiotlb.c
F: arch/*/kernel/pci-swiotlb.c
This again is for switch from singleton platform SMP API to
multi-platform paradigm
Platform code is not yet setup to populate the callbacks, that happens
in next commit
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
Acked-by: Arnd Bergmann
---
arch/arc/include/asm/smp.h | 36
Although with uClibc there's more we need to do
Signed-off-by: Vineet Gupta
Cc: Peter Zijlstra
Cc: Paul Mackerras
Cc: Ingo Molnar
Cc: Arnaldo Carvalho de Melo
---
tools/perf/perf.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/perf/perf.h b/tools
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig |4 +
arch/arc/kernel/stacktrace.c | 215 +-
2 files changed, 217 insertions(+), 2 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 0979d8e..84b23fa 100644
--- a/arch/arc
Platforms export their SMP callbacks by populating arc_smp_ops.
The population itself needs to be done pretty early, from init_early
callback.
Signed-off-by: Vineet Gupta
Cc: Arnd Bergmann
---
arch/arc/plat-arcfpga/include/plat/smp.h |1 +
arch/arc/plat-arcfpga/platform.c |4
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/futex.h | 151 ++
1 files changed, 151 insertions(+), 0 deletions(-)
create mode 100644 arch/arc/include/asm/futex.h
diff --git a/arch/arc/include/asm/futex.h b/arch/arc/include/asm/futex.h
new file
* Includes mapping of CCMs in address space
* Annotations to move arbitrary code/data into CCM
* Moving some of the critical code/data into CCM
* Runtime detection/reporting
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig | 27
arch/arc/include/asm
1 - 100 of 1905 matches
Mail list logo