items, and only interrupt those cores. When we are trying to
isolate a set of cpus from interrupts, this is important to do.
Signed-off-by: Chris Metcalf
---
This change stands alone so could be taken into the net tree if
desired, but it is most useful in the context of Frederic Weisbecker's
On 2/1/2013 5:33 PM, Joe Perches wrote:
> On Fri, 2013-02-01 at 12:34 -0500, Chris Metcalf wrote:
>> Using pr_info in a header exposes us to potential trouble from
>> subsystems that define pr_fmt. This change fixes:
>>
>> In file included from inc
quot;, inspired
to Tejun Heo's observation about Kconfig.freezer not being included.
The largest changes are just syntax changes removing the tile-specific use
of a macro named INT_MASK, which is way too commonly redefined throughout
driver code.
Chris Metcalf (9):
tile: remove an unused v
; CONFIG_COGRUP_FREEZER is in init/Kconfig, so allyesconfig enables it
> but as CONFIG_FREEZER definition isn't visible, we end up with broken
> config CONFIG_CGROUP_FREEZER && !CONFIG_FREEZER.
>
> Maybe we need to move CONFIG_CGROUP_FREEZER to Kconfig.freezer if tile
>
On 1/31/2013 7:52 PM, Tejun Heo wrote:
> Hello, Chris.
>
> On Thu, Jan 31, 2013 at 07:46:09PM -0500, Chris Metcalf wrote:
>> That seems reasonable to me, but I'm happy to experiment with
>> including Kconfig.freezer from the arch/tile/Kconfig if that feels
>>
Use the normal cmpxchg() idiom to implement this functionality.
Signed-off-by: Chris Metcalf
---
arch/tile/Kconfig |1 +
arch/tile/include/asm/atomic.h | 21 +
2 files changed, 22 insertions(+)
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index
Like nm10300, tile can just use get_cycles() for this.
Signed-off-by: Chris Metcalf
---
drivers/input/joystick/analog.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c
index 358cd7e..7cd74e2 100644
--- a
These functions are used by (for example) the tilegx onchip
network driver, and it's useful to be able to load that driver
as a module.
Signed-off-by: Chris Metcalf
---
kernel/irq/manage.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
This was shown up by running with "allmodconfig". I used
EXPORT_SYMBOL() to match existing conventions in files that
were already exporting symbols, or that were exported that way
by other architectures, and otherwise EXPORT_SYMBOL_GPL().
Signed-off-by: Chris Metcalf
---
arch/t
On tilepro without CONFIG_PCI, we can't provide inlines of these
functions, as we don't have readl/writel.
In addition, fix memset_io() signature to take a volatile void *.
Signed-off-by: Chris Metcalf
---
arch/tile/include/asm/io.h |6 +-
1 file changed, 5 insertions(+),
This allows us to disable COMPAT mode without a link error.
Signed-off-by: Chris Metcalf
---
arch/tile/kernel/intvec_64.S |4
1 file changed, 4 insertions(+)
diff --git a/arch/tile/kernel/intvec_64.S b/arch/tile/kernel/intvec_64.S
index 54bc9a6..4ea0809 100644
--- a/arch/tile/kernel
/include/asm/io.h: In function ‘ioport_map’:
arch/tile/include/asm/io.h:296: error: expected ‘)’ before ‘PFX’
Signed-off-by: Chris Metcalf
---
arch/tile/include/asm/io.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/tile/include/asm/io.h b/arch/tile/include/asm/io.h
ivers that
are enabled by "allyesconfig".
Signed-off-by: Chris Metcalf
---
arch/tile/include/asm/irqflags.h| 32 +--
arch/tile/include/uapi/arch/interrupts_32.h | 394 ++-
arch/tile/include/uapi/arch/interrupts_64.h | 346 +++
a
This avoids a link-time failure when building allyesconfig.
Signed-off-by: Chris Metcalf
---
arch/tile/kernel/setup.c |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index 6a649a4..d1e15f7 100644
--- a/arch/tile/kernel/setup.c
On tile architecture (with "make allyesconfig") including
is required to call swiotlb_nr_tbl().
Signed-off-by: Chris Metcalf
---
drivers/gpu/drm/nouveau/nouveau_bo.c |1 +
drivers/gpu/drm/radeon/radeon_ttm.c |1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/d
per" bit in the initial mk_huge_pte() call, and then set "young"
and "huge" after that in the platform-independent caller (make_huge_pte). This
would allow your change to eliminate some code as well as just introducing code
:-)
--
Chris Metcalf, Tilera Corp.
http://w
set_personality(PER_LINUX); \
current_thread_info()->status |= TS_COMPAT; \
} while (0)
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@
On 8/28/2012 2:49 PM, Jiri Kosina wrote:
> On Tue, 28 Aug 2012, Chris Metcalf wrote:
>>> On tile, the PER_LINUX_32BIT is always set for 32 bit compat tasks in a
>>> 64 bit kernel, which is harmless but wrong anyway. Also this, tile never
>>> calls set_personality, whi
Kconfig file.
>
> Cc: Chris Metcalf
> Signed-off-by: Greg Kroah-Hartman
>
> ---
> arch/tile/Kconfig |8
> 1 file changed, 8 deletions(-)
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the li
On 9/12/2012 11:32 AM, Michal Hocko wrote:
> Makes sense if there are going to be more archs to support THP.
The tile architecture currently supports it in our in-house tree,
though we haven't returned it to the community yet.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.c
On 10/21/2012 11:16 PM, Rusty Russell wrote:
> Chris Metcalf writes:
>
>> These are now provided in , so clean up warning
>> by not re-defining them in module.c.
>>
>> Signed-off-by: Chris Metcalf
> This change was in linux-next for quite a while, BTW, so there
Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git stable
This fixes one issue with compiler flags that can cause modules not
to load, and cleans up some warnings with ELF_R_xxx defines.
Chris Metcalf (2):
arch/tile: avoid generating
On 10/20/2012 1:16 PM, Al Viro wrote:
> On Sat, Oct 20, 2012 at 04:34:01PM +0100, Al Viro wrote:
>> On Sat, Oct 20, 2012 at 09:06:57AM -0400, Chris Metcalf wrote:
>>> First, the compat_sys_execve() declaration provided in
>>> arch/tile/include/asm/compat.h isn't r
cmpxchg_badaddr() syscalls are now just straight C.
Signed-off-by: Chris Metcalf
---
This is based on Al Viro's signal.git#arch-tile branch, which includes
some ARM64 changes and some Tile changes for generic kernel execve.
arch/tile/include/asm/compat.h |9 +++--
arch/tile/include/asm/sysca
On 10/23/2012 2:41 PM, Al Viro wrote:
> On Tue, Oct 23, 2012 at 01:30:26PM -0400, Chris Metcalf wrote:
>> As you had suggested in an earlier email, I went ahead and eliminated the
>> special pt_regs handling for sigaltstack, rt_sigreturn, and clone. (Also a
>> tilepro-spec
dle()), that should be all
> we'll need in arch/tile for killing idle_regs() and killing the pt_regs
> passing to do_fork()/copy_process()/copy_thread().
It seems to work fine. Thanks!
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe f
This change correctly computes the header length and data length in
the fragments to avoid a bug where we would end up with extremely
slow performance. Also adopt use of skb_frag_size() accessor.
Signed-off-by: Chris Metcalf
Cc: sta...@vger.kernel.org [v3.6]
---
drivers/net/ethernet/tile
On 10/25/2012 1:51 PM, Ben Hutchings wrote:
> On Thu, 2012-10-25 at 13:25 -0400, Chris Metcalf wrote:
>> This change correctly computes the header length and data length in
>> the fragments to avoid a bug where we would end up with extremely
>> slow performance. Also adopt
Support having the PCI bus be removed at runtime and rediscovered.
Signed-off-by: Chris Metcalf
Cc: sta...@vger.kernel.org [v3.6]
---
arch/tile/kernel/pci_gx.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
index
An ABI numbering change was made in the hypervisor for Tilera's 4.1
MDE release (just shipped). It's incompatible with the previous 4.0
release ABI numbering, so we track the new numbering going forward.
We plan to avoid modifying ABI numbering for these interfaces again.
Signed-off
this occur.
Chris Metcalf (1):
tile: gxio iorpc numbering change for TRIO interface
arch/tile/include/gxio/iorpc_trio.h | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list:
d submit that change to the community.
Bjorn et al: does it seem reasonable to add a bias to the mappings so that
we never report a zero value as valid? This may be sufficiently defensive
programming that it's just the right thing to do regardless of whether
drivers are technically at fault
7; and some more normal streams) to ensure there
> is real contention.
Thanks! I've filed a bugzilla within Tilera to come back and revisit this
- I think it's not a short-term problem so we'll find some time to look at
it in the future. Or, someone reading this could t
nged, 6 insertions(+), 9 deletions(-)
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
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.o
On 8/25/2013 7:39 AM, Gleb Natapov wrote:
> On Mon, Aug 12, 2013 at 04:24:11PM -0400, Chris Metcalf wrote:
>> This change provides the initial framework support for KVM on tilegx.
>> Basic virtual disk and networking is supported.
>>
> This needs to be broken down to mor
asid, then use __this_cpu_write() with min_asid. Thanks.
The rest is fine. Would it make more sense for me to fold all these changes
into the tile tree and just have it meet in linux-next? There are certainly a
bunch of other changes staged there which likely also include more uses of
__ge
On 8/27/2013 10:48 AM, Christoph Lameter wrote:
> On Mon, 26 Aug 2013, Chris Metcalf wrote:
>> > The rest is fine. Would it make more sense for me to fold all these
>> > changes into the tile tree and just have it meet in linux-next? There
>> > are certainly a bunch
On 8/28/2013 1:54 PM, Christoph Lameter wrote:
> On Wed, 28 Aug 2013, Chris Metcalf wrote:
>> In addition, I applied the following commit to clean up the remaining
>> uses that are currently only being carried in the linux-tile tree.
> You are going to merge these changes rig
On 8/26/2013 8:04 AM, Gleb Natapov wrote:
> On Sun, Aug 25, 2013 at 09:26:47PM -0400, Chris Metcalf wrote:
>> On 8/25/2013 7:39 AM, Gleb Natapov wrote:
>>> On Mon, Aug 12, 2013 at 04:24:11PM -0400, Chris Metcalf wrote:
>>>> This change provides the initial frame
ulator notifications within the guest kernel.
The timer interrupt for the guest uses the AUX_TILE_TIMER hardware,
leaving the regular TILE_TIMER for the host.
Signed-off-by: Chris Metcalf
---
arch/tile/Kconfig | 14 +++--
arch/tile/include/asm/module.h | 10 --
arch/til
-by: Chris Metcalf
---
arch/tile/Kconfig | 3 +
arch/tile/include/asm/kvm_para.h| 20 ++
arch/tile/include/asm/kvm_virtio.h | 26 ++
arch/tile/include/uapi/asm/Kbuild | 1 +
arch/tile/include/uapi/asm/kvm.h| 5 +
arch/tile/include/uapi/asm
up.c |4
> 1 file changed, 4 insertions(+)
Thanks. Taken into the tile tree.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordo
, whitespace and style issues cleaned up, and some
header updates from our internal "upstream" architecture team.
Chris Metcalf (8):
tile: fix typos in comment in arch/tile/kernel/unaligned.c
tile: use pmd_pfn() instead of casting via pte_t
tile: remove HUGE_VMAP dead code
This pull request is (IMO) suitable for 3.12-rc2 as well, since it introduces
no new features and is purely cleanup (and deletes more lines of code than
it adds - always a good attribute!).
On 9/16/2013 5:01 PM, Chris Metcalf wrote:
> Linus,
>
> Please pull the following changes for
arguments,
which is consistent with how they used the arguments internally
anyway, so provided some nice simplification there too.
Signed-off-by: Chris Metcalf
---
arch/tile/include/asm/atomic.h| 52 +
arch/tile/include/asm/atomic_32.h | 85 --
These are based on the current shipping versions of the config files
from Tilera, as synced up to the tip, so are a better starting point
for folks who want a default configuration.
Signed-off-by: Chris Metcalf
---
arch/tile/configs/tilegx_defconfig | 241
ng (1):
arch: tile: include: asm: add cmpxchg64() definition
Chris Metcalf (77):
tile: various minor cleanups to hardwall subsystem
tile: convert uses of "inv" to "finv"
tile: optimize and clean up string functions
tile PCI RC: cleanups for tilepro PCI RC
cc 4.7 does not warn.
Signed-off-by: Chris Metcalf
---
drivers/net/ethernet/tile/tilegx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/tile/tilegx.c
b/drivers/net/ethernet/tile/tilegx.c
index 949076f..13e6fff 100644
--- a/drivers/net/ethernet
interrupt
> is needed for architecture specific code to support generic SMP function
> call interfaces, so kill the redundant single function call interrupt.
>
> Signed-off-by: Jiang Liu
> Cc: Jiang Liu
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To u
nge, since as far as I know there's no
way for tile to have PARPORT_PC.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
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
: 0xfff7103a4b10 ath9k_wmi_event_tasklet+0x1b0/0x270 [ath9k_htc]
frame 2: 0xfff700326570 tasklet_action+0x148/0x298
[...]
Signed-off-by: Chris Metcalf
---
drivers/net/wireless/ath/ath9k/wmi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k
):
arch: tile: re-use kbasename() helper
Chen Gang (1):
tile: include: asm: use 'long long' instead of 'u64' for atomic64_t and
its related functions
Chris Metcalf (2):
tile: ensure interrupts disabled for preempt_schedule_irq()
tile: use a more conservativ
On 10/10/2013 2:05 PM, Kirill A. Shutemov wrote:
> Signed-off-by: Kirill A. Shutemov
> Cc: Chris Metcalf
> ---
> arch/tile/mm/pgtable.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.ti
release?
https://lkml.org/lkml/2013/8/9/497
https://lkml.org/lkml/2013/8/9/499
Thanks in advance!
On 8/14/2013 5:30 PM, Chris Metcalf wrote:
> On 8/14/2013 2:17 PM, John Stultz wrote:
>> So a long while back we had tried to adapt for clock frequency changes
>> on things like
This change sets the PCI devices' initial DMA capabilities
conservatively and promotes them at the request of the driver,
as opposed to assuming advanced DMA capabilities. The old design
runs the risk of breaking drivers that assume default capabilities.
Signed-off-by: Chris Metcalf
---
On 8/29/2013 3:30 PM, John Stultz wrote:
> On 08/29/2013 11:40 AM, Chris Metcalf wrote:
>> Ping! I have this work queued up to push as part of the linux-tile tree for
>> the
>> merge window. Is that acceptable to the timekeeping/clocksource folks?
>> Should I hold it
On 8/28/2013 2:13 PM, Chris Metcalf wrote:
> On 8/28/2013 1:54 PM, Christoph Lameter wrote:
>> On Wed, 28 Aug 2013, Chris Metcalf wrote:
>>> In addition, I applied the following commit to clean up the remaining
>>> uses that are currently only being carried in the linux-
On 8/26/2013 8:04 AM, Gleb Natapov wrote:
> On Sun, Aug 25, 2013 at 09:26:47PM -0400, Chris Metcalf wrote:
>> On 8/25/2013 7:39 AM, Gleb Natapov wrote:
>>> On Mon, Aug 12, 2013 at 04:24:11PM -0400, Chris Metcalf wrote:
>>>> This change provides the initial frame
On 9/3/2013 1:39 PM, Gleb Natapov wrote:
> On Tue, Sep 03, 2013 at 01:32:22PM -0400, Chris Metcalf wrote:
>> Ping! I'd like to ask Linus to pull the tile tree now that 3.12 is open.
>> Let me know if this would be problematic for you.
>>
> That was sent to close to
nt PLs in tilepro, only tilegx.
Signed-off-by: Chris Metcalf
---
arch/tile/include/asm/page.h | 52 +++---
arch/tile/include/asm/pgtable_32.h | 2 +-
arch/tile/include/asm/pgtable_64.h | 3 +--
arch/tile/include/asm/processor.h | 2 +-
arch/tile/kernel/he
We remove some debug code in relocate_kernel_64.S that made raw
calls to the hv_console_putc Tilera hypervisor API, since everything
should funnel through the early_hv_write() API.
Signed-off-by: Chris Metcalf
---
arch/tile/kernel/relocate_kernel_64.S | 9 +++--
1 file changed, 7 insertions
e they are essentially internal rework within the
tile architecture. This will also simplify ongoing three-way merges.
I will defer the pull request for linux-tile for a few days in case
anyone has comments on this batch of changes.
Chris Metcalf (3):
tile: clean up relocate_kernel_64 debug code
t
Technically, user privilege is anything less than kernel
privilege. We modify the existing user_mode() macro to have
this semantic (and use it in a couple of places it wasn't being
used before), and add an IS_KERNEL_EX1() macro to the assembly
code as well.
Signed-off-by: Chris Me
When coming from a page fault (for example), interrupts might
be enabled as we enter the code to return from interrupt.
Cc: sta...@vger.kernel.org
Signed-off-by: Chris Metcalf
---
arch/tile/kernel/intvec_32.S | 3 +++
arch/tile/kernel/intvec_64.S | 3 +++
2 files changed, 6 insertions(+)
diff
ne in change 509eb76ebf97.
Cc: sta...@vger.kernel.org
Signed-off-by: Chris Metcalf
---
Ben Herrenschmidt offered to look into extending barrier() in some
per-architecture way, but for now this patch is the minimal thing to
fix the bug in 3.12 and earlier, so I'm planning to push it as-i
On 9/26/2013 1:57 PM, Will Deacon wrote:
> Hi Chris,
>
> On Thu, Sep 26, 2013 at 06:24:53PM +0100, Chris Metcalf wrote:
>> [...]
>> +static inline unsigned long __my_cpu_offset(void)
>> +{
>> +unsigned long tp;
>> +register unsigned long *sp asm(&quo
On 9/27/2013 4:26 AM, Andy Shevchenko wrote:
> kbasename() returns the filename part of a pathname.
>
> Signed-off-by: Andy Shevchenko
> ---
> arch/tile/kernel/stack.c | 12 +---
> 1 file changed, 5 insertions(+), 7 deletions(-)
Thanks! Taken into the tile tree.
On 9/30/2013 5:45 AM, Will Deacon wrote:
> On Fri, Sep 27, 2013 at 09:13:15PM +0100, Chris Metcalf wrote:
>> On 9/26/2013 1:57 PM, Will Deacon wrote:
>>> Hi Chris,
>>>
>>> On Thu, Sep 26, 2013 at 06:24:53PM +0100, Chris Metcalf wrote:
>>>> [...]
&
As I said to Gleb in the previous email - sorry for the delay in
replying to your thoughtful comments!
On 9/10/2013 8:47 AM, Paolo Bonzini wrote:
> Il 28/08/2013 22:58, Chris Metcalf ha scritto:
>> This change enables support for a virtio-based console,
>> network support, a
tead.
>> --- a/virt/kvm/kvm_main.c
>> +++ b/virt/kvm/kvm_main.c
>> @@ -1978,7 +1978,8 @@ static long kvm_vcpu_ioctl(struct file *filp,
>> if (vcpu->kvm->mm != current->mm)
>> return -EIO;
>>
>> -#if defined(CONFIG_S390) ||
doesn't ever
* change with PREEMPT_NONE, and with PREEMPT_VOLUNTARY it only
* changes at function call points, at which we are already re-reading
* the value of "tp" due to "my_cpu_offset_reg" being a global variable.
*/
#define __my_cpu_offset my_cpu_offset_reg
#endif
#d
On 9/23/2013 4:57 PM, Benjamin Herrenschmidt wrote:
> On Mon, 2013-09-23 at 13:59 -0400, Chris Metcalf wrote:
>> We just came up against this on tilegx with a customer bug report in a
>> PREEMPT environment. On tile, %tp is a GPR that points to the percpu area.
>> The foll
b/atomic_32.c | 8
> 4 files changed, 39 insertions(+), 29 deletions(-)
Thanks! Taken into the tile tree for 3.12.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
gt; arch/tile/kernel/hardwall.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks! Taken into the tile tree for 3.12.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a me
vior is used on powerpc, s390, mips, sparc and
> parisc. Not sure about tile though.
tile also reports "tilegx" regardless of whether the task is 64-bit or
32-bit compat.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the line "unsub
t; magic.
I'll take a look at this for arch/tile this week.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
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.kerne
ry non-common :-)
I'll add arch/tile to the list of architectures that would benefit.
We currently allocate PTEs using the page allocator, but by default
we use 64K pages and 16M huge pages, so with 8-byte PTEs that's
just 2K for the page table, so we could fit 32 of them on a page
if we wi
On 12/3/2012 8:28 AM, Wei Yongjun wrote:
> From: Wei Yongjun
>
> Use for_each_pci_dev to simplify the code.
>
> Signed-off-by: Wei Yongjun
Thanks, I've taken this into my tree for -next.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this
ch function are you referring to? You mention MPS/MRS so perhaps
you're talking about fixup_read_and_payload_sizes()?
> In general, I think the PCI_EXP_DEVCAP and PCI_EXP_DEVCTL code for MPS
> and MRRS management belongs in the PCI core, not in drivers or
> architectures (it's fin
t it will be the same there.
>
> Signed-off-by: David Howells
> cc: Ralf Baechle
> cc: Chris Metcalf
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
On 10/17/2012 10:16 AM, David Howells wrote:
> Move the header-y and generic-y lines for ucontext.h from
> arch/tile/include/asm/Kbuild to the uapi/ Kbuild as the asm-generic variant is
> used.
>
> Signed-off-by: David Howells
> cc: Chris Metcalf
Acked-by: Chris Metcalf
Also provide an optimized current_pt_regs() while we're at it.
Signed-off-by: Chris Metcalf
---
arch/tile/Kconfig |2 +
arch/tile/include/asm/processor.h |3 ++
arch/tile/include/asm/switch_to.h |5 +-
arch/tile/kernel/entry.S | 11
arch/tile/k
support, the compiler by default omits .eh_frame
information, so we don't see this problem. But when not using feedback,
we need to explicitly suppress the .eh_frame.
Signed-off-by: Chris Metcalf
---
arch/tile/Makefile |4
1 file changed, 4 insertions(+)
diff --git a/arch/tile/Mak
These are now provided in , so clean up warning
by not re-defining them in module.c.
Signed-off-by: Chris Metcalf
---
arch/tile/kernel/module.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/arch/tile/kernel/module.c b/arch/tile/kernel/module.c
index 001cbfa..243ffeb 100644
Also provide an optimized current_pt_regs() while we're at it.
Signed-off-by: Chris Metcalf
---
[Re-sending to correct linus-arch / linux-arch typo.]
arch/tile/Kconfig |2 +
arch/tile/include/asm/processor.h |3 ++
arch/tile/include/asm/switch_to.h |5 +-
arch
On 10/19/2012 5:35 PM, Al Viro wrote:
> On Fri, Oct 19, 2012 at 04:25:12PM -0400, Chris Metcalf wrote:
>> Also provide an optimized current_pt_regs() while we're at it.
> Applied. BTW, are you sure you want to record parent's pid and not tid?
By recording ->pid r
ext as soon as the merge window opens. It had
> been sitting there for a long time by now and you've all been Cc'd on
> that thread all along.
IMHO, Al has done a great job reaching out to the architecture maintainers with
this round of changes. I think it should be a m
feel free to apply it to the tile
file as well. You'll note that for tile it's under an #if 0, which in
retrospect I shouldn't have pushed anyway. So I don't feel strongly :-)
FWIW, the change certainly seems at least plausible to me.
--
Chris Metcalf, Tilera Corp.
http://w
net_handle_ingress_irq,
> - 0, NULL, NULL);
> + 0, "tile_net", NULL);
Good catch. If you can change it to dev->name instead of "tile_net", feel
free to add my:
Acked-by: Chris Metcalf
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsub
On 11/13/2012 4:54 PM, Simon Marchi wrote:
> On Tue, Nov 13, 2012 at 1:37 PM, Chris Metcalf wrote:
>> On 11/13/2012 3:58 PM, Simon Marchi wrote:
>>> This patch simply makes the tilegx net driver call request_irq with a
>>> non-null name. It makes the output in /proc/i
d patch 3/3 in this series, into the tile tree (and
pushed it up to linux-next). I fixed up ptrace.h to adjust the declarations
for the modified functions.
As Al Viro pointed out, patch 2/3 is already present in v3.8-rc1.
Thanks!
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
To unsubs
Signed-off-by: Chris Metcalf
---
arch/tile/kernel/process.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c
index 0e5661e..caf93ae 100644
--- a/arch/tile/kernel/process.c
+++ b/arch/tile/kernel/process.c
@@ -159,7
see
do_work_pending() in arch/tile/kernel/process.c. And signal delivery seems to
be handled in a platform-independent way now; see kernel/signal.c.
My only comment on the revised patch is that I believe you should #include
, not . Source code (.c files) doesn't seem to
use the prefix.
--
On 12/17/2012 8:08 PM, Simon Marchi wrote:
> This is a basic implementation of user_regset for the tile
> architecture. It reuses the basic blocks that were already there.
>
> Signed-off-by: Simon Marchi
Thanks, I'll take this into the tile tree for this merge window.
--
Chri
Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master
These are a smattering of minor changes from Tilera and other folks,
mostly in the ptrace area.
Chris Metcalf (3):
tilegx: remove __init from pci fixup hook
arch/tile: provide
gcc 4.7.x is emitting calls to __ffsdi2 where previously
it used to inline the appropriate ctz instructions.
While this needs to be fixed in gcc, it's also easy to avoid
having it cause build failures when building with those
compilers by exporting __ffsdi2 to modules.
Signed-off-by:
implementation for __builtin_ffsll().
This should be inline again starting with gcc 4.7.4 and 4.8.2 or so,
but meanwhile this change keeps things from breaking, with the only
cost being a few bytes of code in the kernel to provide __ffsdi2
even for compilers that do inline it.
Chris Metcalf (1
On 5/25/2013 9:48 AM, Jiang Liu wrote:
> Mark pci_scan_bus_parented() as __deprecated and clean up outdated
> comments.
>
> Signed-off-by: Jiang Liu
> Cc: Chris Metcalf
> Cc: Greg Kroah-Hartman
> Cc: Thierry Reding
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-..
LICIT(FUNCNAME, SECNAME, SIZE)
#define FEEDBACK_ENTER(FUNCNAME)
#define FEEDBACK_REENTER(FUNCNAME)
#define FEEDBACK_ENTRY(FUNCNAME, SECNAME, SIZE)
^D
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
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.org/lkml/
> Signed-off-by: Paul Bolle
>
Thanks - taken into the tile tree.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--
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 h
1 - 100 of 1098 matches
Mail list logo