Tuesday, January 7, 2014

linux.kernel - 26 new messages in 18 topics - digest

linux.kernel
http://groups.google.com/group/linux.kernel?hl=en

linux.kernel@googlegroups.com

Today's topics:

* dt-bindings: pci: xgene pcie device tree bindings - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/bb793bfb4a89dad9?hl=en
* [INCOMPLETE] ARM: make return_address available for ARM_UNWIND - 1 messages,
1 author
http://groups.google.com/group/linux.kernel/t/d81d184392f0d82e?hl=en
* sched: CPU topology try - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/c41eda64a33b68cb?hl=en
* ASoC: simple-card: fix the DAPM routes map parsing - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/3ac51ff0b450ad54?hl=en
* itrace: Infrastructure for instruction flow tracing units - 3 messages, 1
author
http://groups.google.com/group/linux.kernel/t/88bbae6fed905a8a?hl=en
* Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3
times slower then Solars 10 with the same HBA/Storage. - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/c2d4038a5c79058e?hl=en
* fs: xattr-based FS_IOC_[GS]ETFLAGS interface - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/d3dc0a8cffa4c086?hl=en
* vb2: Check if there are buffers before streamon - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/257ee1585451b40f?hl=en
* Bugfixes and improvements for Intel IOMMU drivers - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/779b56bb501a9e2e?hl=en
* hwmon/sensors: fix SENSORS_LM75 dependencies - 2 messages, 1 author
http://groups.google.com/group/linux.kernel/t/0b19a469dc611e35?hl=en
* Gnu - Linux - Lignux, libre speech, and nerds drinking beer. - 1 messages, 1
author
http://groups.google.com/group/linux.kernel/t/2b62e03653a1967b?hl=en
* gpio: mcp23s08: Add irq functionality for i2c chips - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/0833ba1057d91f29?hl=en
* ixgbevf: delete unneeded call to pci_set_power_state - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/0b9d3acda2d7f32b?hl=en
* intel_pstate divide error with v3.13-rc4-256-gb7000ad - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/3761c416adac4013?hl=en
* drivers: gpu: Move prototype declaration to header file radeon_drv.h from
radeon_drv.c - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/71bc2475553ede70?hl=en
* mtd: st_spi_fsm: Provide device look-up table - 1 messages, 1 author
http://groups.google.com/group/linux.kernel/t/8eb175d8e03582a7?hl=en
* issue 6: Poor and non-deterministic performance on heterogeneous systems - 6
messages, 1 author
http://groups.google.com/group/linux.kernel/t/31799db64481d1a6?hl=en
* ACPI: thermal: remove const from thermal_zone_device_ops declaration - 1
messages, 1 author
http://groups.google.com/group/linux.kernel/t/8fda5da4bbc5aa8c?hl=en

==============================================================================
TOPIC: dt-bindings: pci: xgene pcie device tree bindings
http://groups.google.com/group/linux.kernel/t/bb793bfb4a89dad9?hl=en
==============================================================================

== 1 of 1 ==
Date: Tues, Jan 7 2014 7:50 am
From: Arnd Bergmann


On Tuesday 07 January 2014 16:35:01 Arnd Bergmann wrote:
> > >> +SoC specific DT Entry:
> > >> + pcie0: pcie@1f2b0000 {
> > >> + status = "disabled";
> > >> + device_type = "pci";
> > >> + compatible = "xgene,pcie";
> > >> + #interrupt-cells = <1>;
> > >> + #size-cells = <2>;
> > >> + #address-cells = >;
> > >> + reg = < 0x00 0x1f2b0000 0x0 0x00010000>;
> > >> + ranges = <0x02000000 0x0 0x00000000 0xe0 0x00000000 0x0 0x10000000 /* mem*/
> > >
> > >
> > > Also, do you support no prefetchable memory?
> >
> > HW has either IO or Memory regions for mapping device's memory space.
> > There is no separate prefetchable memory space.
>
> Are you sure the memory is non-prefetchable then? I would have expected
> 0x42000000 rather than 0x02000000, but I could be misremembering it.

Nevermind. I just checked and you are right: if you only have
one memory range, it has to be non-prefetchable.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/





==============================================================================
TOPIC: [INCOMPLETE] ARM: make return_address available for ARM_UNWIND
http://groups.google.com/group/linux.kernel/t/d81d184392f0d82e?hl=en
==============================================================================

== 1 of 1 ==
Date: Tues, Jan 7 2014 7:50 am
From: Arnd Bergmann


On Tuesday 07 January 2014 14:41:30 Russell King - ARM Linux wrote:
> On Tue, Jan 07, 2014 at 03:33:34PM +0100, Arnd Bergmann wrote:
> >
> >
> > It's been almost a year since we last discussed the patches that were
> > posted by Dave and sahara, but nothing has changed in the mainline kernel.
> >
> > Any chance that someone could be motivated to pick this work up again
> > and finally fix return_address().
>
> I thought that we had _actively_ decided that we would not use the
> unwinder for these paths - that it was too expensive for these paths,
> and you had to use frame pointers instead.

I don't remember that discussion, but it may well be. What does
that mean for the #warning in return_address.c then? Can we
just use the frame pointer version based on CONFIG_FRAME_POINTER
and ignore whether CONFIG_ARM_UNWIND is set as the patch below,
or did I misunderstand?

Arnd

diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
index f89515a..3247370 100644
--- a/arch/arm/include/asm/ftrace.h
+++ b/arch/arm/include/asm/ftrace.h
@@ -32,7 +32,7 @@ extern void ftrace_call_old(void);

#ifndef __ASSEMBLY__

-#if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND)
+#if defined(CONFIG_FRAME_POINTER)
/*
* return_address uses walk_stackframe to do it's work. If both
* CONFIG_FRAME_POINTER=y and CONFIG_ARM_UNWIND=y walk_stackframe uses unwind
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile
index a30fc9b..c713f46 100644
--- a/arch/arm/kernel/Makefile
+++ b/arch/arm/kernel/Makefile
@@ -16,13 +16,14 @@ CFLAGS_REMOVE_return_address.o = -pg
# Object file lists.

obj-y := elf.o entry-common.o irq.o opcodes.o \
- process.o ptrace.o return_address.o \
+ process.o ptrace.o \
setup.o signal.o sigreturn_codes.o \
stacktrace.o sys_arm.o time.o traps.o

obj-$(CONFIG_ATAGS) += atags_parse.o
obj-$(CONFIG_ATAGS_PROC) += atags_proc.o
obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags_compat.o
+obj-$(CONFIG_FRAME_POINTER) += return_address.o

ifeq ($(CONFIG_CPU_V7M),y)
obj-y += entry-v7m.o v7m.o
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
index fafedd8..d9f2c15 100644
--- a/arch/arm/kernel/return_address.c
+++ b/arch/arm/kernel/return_address.c
@@ -10,8 +10,6 @@
*/
#include <linux/export.h>
#include <linux/ftrace.h>
-
-#if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND)
#include <linux/sched.h>

#include <asm/stacktrace.h>
@@ -56,18 +54,4 @@ void *return_address(unsigned int level)
else
return NULL;
}
-
-#else /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) */
-
-#if defined(CONFIG_ARM_UNWIND)
-#warning "TODO: return_address should use unwind tables"
-

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate