Re: [PATCH] libbpf: fix readelf output parsing on powerpc with recent binutils

2019-12-13 Thread Ben Hutchings
eam. Any tool generating tabular output like this should add new fields at the end (or show them only if requested), since there are bound to be scripts that parse the output like this. So I think Fedora's change to readelf was reasonable, but should have been pushed upstream as soon as possible. Now eve

Re: [Y2038] [PATCH 3/8] powerpc: fix vdso32 for ppc64le

2019-11-21 Thread Ben Hutchings
On Thu, 2019-11-21 at 11:02 +0100, Arnd Bergmann wrote: > On Wed, Nov 20, 2019 at 10:49 PM Ben Hutchings > wrote: > > On Wed, 2019-11-20 at 20:35 +0100, Arnd Bergmann wrote: > > > On Wed, Nov 20, 2019 at 8:13 PM Ben Hutchings > > > wrote: > > > > On Fri

Re: [Y2038] [PATCH 07/23] y2038: vdso: powerpc: avoid timespec references

2019-11-20 Thread Ben Hutchings
SEC+LOWPART(r9) Same here. > lwz r6,STAMP_SEC_FRAC(r9) > addcr4,r4,r6 > adder3,r3,r5 [...] -- Ben Hutchings, Software Developer Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom

Re: [Y2038] [PATCH 3/8] powerpc: fix vdso32 for ppc64le

2019-11-20 Thread Ben Hutchings
On Wed, 2019-11-20 at 20:35 +0100, Arnd Bergmann wrote: > On Wed, Nov 20, 2019 at 8:13 PM Ben Hutchings > wrote: > > On Fri, 2019-11-08 at 21:34 +0100, Arnd Bergmann wrote: > > > On little-endian 32-bit application running on 64-bit kernels, > > > the current

Re: [Y2038] [PATCH 3/8] powerpc: fix vdso32 for ppc64le

2019-11-20 Thread Ben Hutchings
fdef CONFIG_PPC64 > +#if defined(CONFIG_PPC64) && defined(CONFIG_CPU_BIG_ENDIAN) > #define LOPART 4 > #define TSPEC_TV_SEC TSPC64_TV_SEC+LOPART > #else -- Ben Hutchings, Software Developer Codethink Ltd https://www.codethink.co.uk/ Dale

Re: [Y2038] [PATCH 08/23] y2038: ipc: remove __kernel_time_t reference from headers

2019-11-20 Thread Ben Hutchings
m_ctime; /* last change time */ > __kernel_ulong_t __unused2; > #endif > __kernel_ulong_t sem_nsems; /* no. of semaphores in array */ [...] We need to use __kernel_long_t here to do the right thing on x32. Ben. -- Ben Hutchings, Software Developer

[PATCH 3.16 76/87] perf/ioctl: Add check for the sample_period value

2019-10-02 Thread Ben Hutchings
riod to 63 bits") Link: https://lkml.kernel.org/r/20190604042953.914-1-ravi.bango...@linux.ibm.com Signed-off-by: Ingo Molnar [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- kernel/events/core.c | 3 +++ 1 file changed, 3 insertions(+) --- a/kernel/events/core.c

[PATCH 3.16 09/86] jump_label: Allow jump labels to be used in assembly

2019-05-16 Thread Ben Hutchings
: pau...@samba.org Cc: r...@linux-mips.org Cc: rost...@goodmis.org Cc: schwidef...@de.ibm.com Cc: will.dea...@arm.com Link: http://lkml.kernel.org/r/1428551492-21977-2-git-send-email-an...@samba.org Signed-off-by: Ingo Molnar Signed-off-by: Ben Hutchings --- Makefile | 1 + include

[PATCH 3.16 79/86] cpu/speculation: Add 'mitigations=' cmdline option

2019-05-16 Thread Ben Hutchings
6: - Drop the auto,nosmt option which we can't support - Adjust filename] Signed-off-by: Ben Hutchings --- --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1906,6 +1906,25 @@ bytes respectively. Such letter suffixes in the "bleeding

[PATCH 3.16 08/86] jump_label: Allow asm/jump_label.h to be included in assembly

2019-05-16 Thread Ben Hutchings
Signed-off-by: Ingo Molnar Signed-off-by: Ben Hutchings --- arch/arm/include/asm/jump_label.h | 5 ++--- arch/arm64/include/asm/jump_label.h | 8 arch/mips/include/asm/jump_label.h | 7 +++ arch/s390/include/asm/jump_label.h | 3 +++ arch/sparc/include/asm/jump_label.h | 5

[PATCH 3.16 80/86] x86/speculation: Support 'mitigations=' cmdline option

2019-05-16 Thread Ben Hutchings
t.com [bwh: Backported to 3.16: - Drop the auto,nosmt option and the l1tf mitigation selection, which we can't support - Adjust filenames, context] Signed-off-by: Ben Hutchings --- --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1907,15 +1907,19 @@ bytes re

[PATCH 3.16 92/99] block/swim3: Fix -EBUSY error when re-opening device after unmount

2019-04-02 Thread Ben Hutchings
e Signed-off-by: Ben Hutchings --- drivers/block/swim3.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c @@ -1027,7 +1027,11 @@ static void floppy_release(struct gendis struct swim3 __iomem *sw = fs->swim3; m

Re: powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations

2019-03-24 Thread Ben Hutchings
On Mon, 2019-03-25 at 01:03 +0100, Andreas Schwab wrote: > On Mär 24 2019, Ben Hutchings wrote: > > > Presumably you have CONFIG_PPC_BOOK3S_64 enabled and > > CONFIG_SPARSEMEM > > disabled? Was this configuration actually usable? > > Why not? I assume that C

Re: powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations

2019-03-24 Thread Ben Hutchings
On Sun, 2019-03-24 at 23:18 +0100, Andreas Schwab wrote: > On Mär 22 2019, Michael Ellerman wrote: > > > On Sun, 2019-03-17 at 01:17:56 UTC, Ben Hutchings wrote: > > > MAX_PHYSMEM_BITS only needs to be defined if CONFIG_SPARSEMEM is > > > enabled, and that was the c

[PATCH] powerpc: vdso: Make vdso32 installation conditional in vdso_install

2019-03-21 Thread Ben Hutchings
VDSO ...") Signed-off-by: Ben Hutchings --- arch/powerpc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 488c9edffa58..3def265cf1cf 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -406,7 +406,9 @@ endef ifdef CO

[PATCH] powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations

2019-03-16 Thread Ben Hutchings
gt;> OBJ_INDEX_BITS)) ^~ ... mm/zsmalloc.c:253:21: error: variably modified 'size_class' at file scope struct size_class *size_class[ZS_SIZE_CLASSES]; ^~ Fixes: 4ffe713b7587 ("powerpc/mm: Increase the max addressable memory to 2PB") Cc: sta...@vger.kernel.

Re: [PATCH] powerpc: Fix -mcpu= options for SPE-only compiler

2018-12-26 Thread Ben Hutchings
On Wed, 2018-12-26 at 17:45 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Dec 26, 2018 at 02:15:11PM +0000, Ben Hutchings wrote: > > GCC for Debian's "powerpcspe" architecture only supports 32-bit > > SPE targets, and using -mcpu=powerpc or -mcpu=powerpc64 is

[PATCH] powerpc: Fix -mcpu= options for SPE-only compiler

2018-12-26 Thread Ben Hutchings
NFIG_PPC64 around the 64-bit CPU option definitions Signed-off-by: Ben Hutchings --- arch/powerpc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 488c9edffa58..c2e815863500 100644 --- a/arch/powerpc/Makefile +++ b/ar

[PATCH 3.16 153/366] powerpc/e500mc: Set assembler machine type to e500mc

2018-11-11 Thread Ben Hutchings
C: Michael Ellerman CC: Kumar Gala CC: Vakul Garg CC: Scott Wood CC: Mathieu Desnoyers CC: linuxppc-dev@lists.ozlabs.org CC: linux-ker...@vger.kernel.org Signed-off-by: Michael Ellerman [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- arch/powerpc/Makefile | 1 + 1 fi

[PATCH 3.16 122/370] powerpc: Fix build warning on 32-bit PPC

2017-03-10 Thread Ben Hutchings
r.net> Cc: Nicholas Piggin <npig...@gmail.com> Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> Cc: Paul Mackerras <pau...@samba.org> Cc: Michael Ellerman <m...@ellerman.id.au> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Linus Torvalds <torva...@linux-founda

Re: [PATCH] kbuild: avoid unrecognized option error for external DTC

2017-02-27 Thread Ben Hutchings
t;, "command line") [...] It could also be specified as an environment variable (assignment with "?=" doesn't override them, but "=" does). Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't. signature.asc Description: This is a digitally signed message part

Re: [PATCH 1/2] powerpc: Remove Mac-on-Linux hooks

2016-12-01 Thread Ben Hutchings
On Fri, Dec 02, 2016 at 02:56:47PM +1100, Michael Ellerman wrote: > Ben Hutchings <b...@decadent.org.uk> writes: > > > [ Unknown signature status ] > > The symbols exported for use by MOL aren't getting CRCs and I was > > about to fix that. But MOL is dead

[PATCH 2/2] powerpc: Fix missing CRCs, add yet more asm-prototypes.h declarations

2016-12-01 Thread Ben Hutchings
Add declarations for: - __mfdcr, __mtdcr (if CONFIG_PPC_DCR_NATIVE=y; through ) - switch_mmu_context (if CONFIG_PPC_BOOK3S_64=n; through ) Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- I checked all the symbols potentially exported from assembly under arch/powerpc, and thes

[PATCH 1/2] powerpc: Remove Mac-on-Linux hooks

2016-12-01 Thread Ben Hutchings
The symbols exported for use by MOL aren't getting CRCs and I was about to fix that. But MOL is dead upstream, and the latest work on it was to make it use KVM instead of its own kernel module. So remove them instead. Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- arch/powerpc/

Re: [PATCH] cxl: Fix potential build failure - select ANON_INODES

2016-11-16 Thread Ben Hutchings
On Thu, 2016-11-17 at 09:30 +1100, Andrew Donnellan wrote: > On 17/11/16 05:29, Ben Hutchings wrote: > > cxl calls anon_inode_get() so must select ANON_INODES. > > > > Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API") > > Signed-off-by

[PATCH] cxl: Fix potential build failure - select ANON_INODES

2016-11-16 Thread Ben Hutchings
cxl calls anon_inode_get() so must select ANON_INODES. Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API") Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- drivers/misc/cxl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/cxl/Kconfig b/

[PATCH] powerpc/boot: Fix build failure in 32-bit boot wrapper

2016-11-16 Thread Ben Hutchings
ppers") Cc: stable <sta...@vger.kernel.org> # 4.8 Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- I build-tested this (only) with minimal configurations for: - 32-bit big-endian, CONFIG_PPC_85xx - 64-bit big-endian, CONFIG_PPC_BOOK3S_64 - 64-bit little-endian, CONFIG_PPC_

Re: powerpc/mm: Fix HAVE_ARCH_SOFT_DIRTY dependencies

2016-02-22 Thread Ben Hutchings
On Mon, 2016-02-22 at 19:24 +1100, Michael Ellerman wrote: > On Sat, 2016-20-02 at 17:58:37 UTC, Ben Hutchings wrote: > > Soft dirty bit support was only implemented for 64-bit Book3S, and > > 32-bit configurations currently fail to build. > > > > Fixes: 7207f43665b8

powerpc/mm: Fix HAVE_ARCH_SOFT_DIRTY dependencies

2016-02-20 Thread Ben Hutchings
Signed-off-by: Ben Hutchings <b...@decadent.org.uk> --- --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -557,7 +557,7 @@ choice config PPC_4K_PAGES bool "4k page size" - select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S +

[PATCH 3.2 51/94] locking/mutex: Disable optimistic spinning on some architectures

2014-08-04 Thread Ben Hutchings
Signed-off-by: Ingo Molnar mi...@kernel.org [bwh: Backported to 3.2: - Adjust context - Drop arm64 change] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1,6 +1,7 @@ config ARM bool default y + select

Re: [PATCH] ibmveth: Fix more little endian issues

2013-12-25 Thread Ben Hutchings
holding the MAC address in big-endian order and perhaps the hypercall mechanism does a byte-swap when the guest is little-endian. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product

Re: [PATCH 3/7] IBM Akebono: Add support for a new PHY to the IBM emac driver

2013-11-06 Thread Ben Hutchings
On Wed, 2013-11-06 at 12:34 +1100, Alistair Popple wrote: On Tue, 5 Nov 2013 23:11:50 Ben Hutchings wrote: On Wed, 2013-11-06 at 06:54 +1100, Benjamin Herrenschmidt wrote: [snip] It's an SoC bit so there's little point making it generally selectable by the user. I think a better

Re: [PATCH 3/7] IBM Akebono: Add support for a new PHY to the IBM emac driver

2013-11-05 Thread Ben Hutchings
no-one can even build-test this at present! Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. ___ Linuxppc-dev

Re: [PATCH 3/7] IBM Akebono: Add support for a new PHY to the IBM emac driver

2013-11-05 Thread Ben Hutchings
On Wed, 2013-11-06 at 06:54 +1100, Benjamin Herrenschmidt wrote: On Tue, 2013-11-05 at 18:16 +, Ben Hutchings wrote: On Tue, 2013-11-05 at 16:31 +1100, Alistair Popple wrote: [...] --- a/drivers/net/ethernet/ibm/emac/Kconfig +++ b/drivers/net/ethernet/ibm/emac/Kconfig @@ -55,6

Re: Missing _restvr_20 and _savevr_20 subroutines for lib/raid6/altivec8.o

2013-10-23 Thread Ben Hutchings
On Wed, 2013-10-23 at 00:28 -0500, Kumar Gala wrote: On Oct 19, 2013, at 5:24 PM, Ben Hutchings wrote: When building lib/raid6/altivec8.o with gcc 4.8 on Debian, the compiler is generating references to two new runtime subroutines which are apparently not included in the kernel

Re: [PATCH] powerpc/vio: Fix modalias_show return values

2013-10-16 Thread Ben Hutchings
); + return strlen(buf); + } return sprintf(buf, vio:T%sS%s\n, vio_dev-type, cp); } -- Ben Hutchings Horngren's Observation: Among economists, the real world is often a special case. signature.asc Description: This is a digitally signed message part

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Ben Hutchings
are for, we can just make MSI-X variants. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. ___ Linuxppc-dev mailing list

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Ben Hutchings
does. There is one major flaw in min-max approach - the generic MSI layer will have to take decisions on exact number of MSIs to request, not device drivers. [... No, the min-max functions should be implemented using the same loop that drivers are expected to use now. Ben. -- Ben Hutchings

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-04 Thread Ben Hutchings
On Fri, 2013-10-04 at 10:29 +0200, Alexander Gordeev wrote: On Thu, Oct 03, 2013 at 11:49:45PM +0100, Ben Hutchings wrote: On Wed, 2013-10-02 at 12:48 +0200, Alexander Gordeev wrote: This update converts pci_enable_msix() and pci_enable_msi_block() interfaces to canonical kernel functions

Re: [PATCH RFC 01/77] PCI/MSI: Fix return value when populate_msi_sysfs() failed

2013-10-03 Thread Ben Hutchings
. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https

Re: [PATCH RFC 06/77] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-10-03 Thread Ben Hutchings
; [...] Shouldn't this also return -EINVAL? Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. ___ Linuxppc-dev mailing

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-03 Thread Ben Hutchings
and maximum number of vectors from the driver. This wouldn't allow the driver to specify that it could only accept, say, any even number within a certain range, but you could still leave the current functions available for any driver that needs that. Ben. -- Ben Hutchings, Staff Engineer, Solarflare

Re: [PATCH 01/51] DMA-API: provide a helper to set both DMA and coherent DMA masks

2013-09-19 Thread Ben Hutchings
to the same or a smaller mask than the streaming mask. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. ___ Linuxppc

[PATCH] hvc_vio: Do not override preferred console set by kernel parameter

2013-09-01 Thread Ben Hutchings
console and independant. References: http://bugs.debian.org/492703 Signed-off-by: Ben Hutchings b...@decadent.org.uk --- We've been carrying this in Debian for 5 years now, so it's about time it got reviewed. I'm not convinced strstr() is the right way to check the command line (what if there's

Re: therm_pm72 units, interface

2013-08-02 Thread Ben Hutchings
occurred between 3.8 and 3.9. Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't. signature.asc Description: This is a digitally signed message part ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https

Re: [PATCH] powerpc: fix numa distance for form0 device tree

2013-05-09 Thread Ben Hutchings
On Tue, 2013-05-07 at 13:49 +1000, Michael Ellerman wrote: From: Vaidyanathan Srinivasan sva...@linux.vnet.ibm.com Commit 7122b7bc1757682049780179d7c216dd1c83 upstream. [...] Queued up for 3.2, thanks. Ben. -- Ben Hutchings For every action, there is an equal and opposite criticism

Re: net/eth/ibmveth: Fixup retrieval of MAC address

2013-05-03 Thread Ben Hutchings
, + mac_len); + return -EINVAL; + } [...] -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

Re: [PATCH net-next] af_unix: fix a fatal race with bit fields

2013-05-01 Thread Ben Hutchings
or less keen to generate 64-bit load/store instructions for bitfields on different architectures. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

Re: [PATCH] net: mv643xx_eth: Add GRO support

2013-04-11 Thread Ben Hutchings
- netif_receive_skb(skb); + napi_gro_receive(mp-napi, skb); continue; -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

Re: ethtool occationally fails to communicate with with ucc_geth

2013-02-06 Thread Ben Hutchings
not been configured. A better workaround would be to use netif_carrier_{off,on}() in ugeth_{quiesce,activate}() respectively instead of netif_device_{detach,attach}(). But I think phylib really ought to be fixed. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer

Re: [PATCH v3] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-12 Thread Ben Hutchings
/platforms] Error 2 Signed-off-by: Shuah Khan shuah.k...@hp.com CC: sta...@vger.kernel.org 3.0.y [...] This looks fine, and I've queued it up for 3.2 since the errant code wasn't removed until 3.3. Ben. -- Ben Hutchings Theory and practice are closer in theory than in practice

Re: [PATCH v2] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-10 Thread Ben Hutchings
; - pr_info(MEM1: %08llx %08llx\n, p[0].base, p[0].size); + pr_info(MEM1: %08ulx %08ulx\n, + (phys_addr_t) p[0].base, (phys_addr_t) p[0].size); [...] This is incorrect in exactly the same way as the last version, but with extra redundant casts. Ben. -- Ben Hutchings We get

Re: [PATCH] powerpc: fix wii_memory_fixups() compile error on 3.0.y tree

2012-12-08 Thread Ben Hutchings
(MEM2: %08ulx %08ulx\n, p[1].base, p[1].size); p[0].size += wii_hole_size + p[1].size; -- Ben Hutchings Beware of programmers who carry screwdrivers. - Leonard Brandwein signature.asc Description: This is a digitally signed message part

Re: [PATCH] PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc()

2012-11-20 Thread Ben Hutchings
On Tue, 2012-11-20 at 18:20 +1100, Benjamin Herrenschmidt wrote: On Fri, 2010-07-23 at 14:56 +0100, Ben Hutchings wrote: commit 2ca1af9aa3285c6a5f103ed31ad09f7399fc65d7 PCI: MSI: Remove unsafe and unnecessary hardware access changed read_msi_msg_desc() to return the last MSI message written

Re: [PATCH net-next] ibm emac: delete module references; phy.c only supported as built-in

2012-02-27 Thread Ben Hutchings
*phy, int address) return 0; } - -MODULE_LICENSE(GPL); -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

Re: Bug#630845: linux-image-2.6.39-2-powerpc: CHRP Pegasos2 boot failure

2011-06-26 Thread Ben Hutchings
On Thu, 2011-06-23 at 20:36 +0800, Andrew Buckeridge wrote: Package: linux-image-3.0.0-rc3-powerpc Version: 3.0.0~rc3-1~experimental.1 On Wed, 22 Jun 2011 04:01:38 +0100 Ben Hutchings b...@decadent.org.uk wrote: linux-image-2.6.36-trunk-powerpc_2.6.36-1~experimental.1_powerpc.deb

Re: [RFC PATCH 1/1] BPF JIT for PPC64

2011-06-24 Thread Ben Hutchings
+ PPC_ADDI(r_A, r_A, IMM_L(-K)); + PPC_ADDIS(r_A, r_A, IMM_HA(-K)); + break; [...] Here as well. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Not speaking for my employer; that's the marketing department's job

[PATCH] powerpc/kexec: Fix build failure on 32-bit SMP

2011-04-24 Thread Ben Hutchings
of crash_kexec_wait_realmode() after the #ifdef CONFIG_SMP section. Compile-tested with 32-bit UP, 32-bit SMP and 64-bit SMP configurations. Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c @@ -162,34 +162,6 @@ /* Leave the IPI

Re: [PATCH V14 3/4] ptp: Added a clock driver for the IXP46x.

2011-04-18 Thread Ben Hutchings
the host byte order may vary. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. ___ Linuxppc-dev mailing

Re: [PATCH V14 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER.

2011-04-18 Thread Ben Hutchings
= (u16 *)(data + 18 + 30); + break; [...] Would be better without the magic numbers. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

[PATCH net-next-2.6 1/2] gianfar: Clean up implementation of RX network flow classification

2011-04-08 Thread Ben Hutchings
. Remove the useless code and definitions, and fix the error code. Signed-off-by: Ben Hutchings bhutchi...@solarflare.com --- This isn't even compile-tested, since it can only be built for some PowerPC SoCs. Could someone on ppc-dev check that this won't break the driver? Ben. drivers/net

[PATCH 2/2] powerpc/boot/Makefile: Use $(src) and $(obj) as per makefiles.txt

2011-01-08 Thread Ben Hutchings
$(src) and $(obj) are normally the same, but are supposed to be used for paths under $(srctree) and $(objtree) respectively. Also use $(dtstree) and $(wrapper) as appropriate. Signed-off-by: Ben Hutchings b...@decadent.org.uk --- This is totally untested, so please review carefully! Ben. arch

[PATCH 1/2] powerpc/boot/dts: Install dts from the right directory

2011-01-08 Thread Ben Hutchings
...@gmx.net Signed-off-by: Ben Hutchings b...@decadent.org.uk Tested-by: Gerhard Pircher gerhard_pirc...@gmx.net [against 2.6.32] --- arch/powerpc/boot/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 96deec6

Re: [v1 PATCH] ucc_geth: fix ethtool set ring param bug

2010-09-02 Thread Ben Hutchings
On Thu, 2010-09-02 at 08:50 +0800, Liang Li wrote: On Wed, Sep 01, 2010 at 02:42:30PM +0100, Ben Hutchings wrote: On Wed, 2010-09-01 at 09:43 +0800, Liang Li wrote: It's common sense that when we should do change to driver ring desc/buffer etc only after 'stop/shutdown' the device. When

Re: [v1 PATCH] ucc_geth: fix ethtool set ring param bug

2010-09-02 Thread Ben Hutchings
On Thu, 2010-09-02 at 23:48 +0800, Liang Li wrote: On Thu, Sep 02, 2010 at 12:11:47PM +0100, Ben Hutchings wrote: On Thu, 2010-09-02 at 08:50 +0800, Liang Li wrote: On Wed, Sep 01, 2010 at 02:42:30PM +0100, Ben Hutchings wrote: On Wed, 2010-09-01 at 09:43 +0800, Liang Li wrote: It's

Re: [v2 PATCH] ucc_geth: fix ethtool set ring param bug

2010-09-02 Thread Ben Hutchings
. These are also bugs, but that doesn't justify adding new bugs.) Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

Re: [v1 PATCH] ucc_geth: fix ethtool set ring param bug

2010-09-01 Thread Ben Hutchings
refuse to make the change if the interface is up. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked

Re: [PATCH] ucc_geth: fix ethtool set ring param bug

2010-08-31 Thread Ben Hutchings
if ucc_geth_open() fails? Ben. + } else { + ug_info-bdRingLenRx[queue] = ring-rx_pending; + ug_info-bdRingLenTx[queue] = ring-tx_pending; } return ret; -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's

Re: [PATCH] ucc_geth: fix ethtool set ring param bug

2010-08-31 Thread Ben Hutchings
On Tue, 2010-08-31 at 23:16 +0800, Liang Li wrote: On Tue, Aug 31, 2010 at 03:41:22PM +0100, Ben Hutchings wrote: On Mon, 2010-08-30 at 22:47 +0800, Liang Li wrote: It's common sense that when we should do change to driver ring desc/buffer etc only after 'stop/shutdown' the device. When

[PATCH] PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc()

2010-07-23 Thread Ben Hutchings
where appropriate Signed-off-by: Ben Hutchings bhutchi...@solarflare.com --- Compile-tested only. Ben. arch/ia64/kernel/msi_ia64.c|2 +- arch/ia64/sn/kernel/msi_sn.c |2 +- arch/x86/kernel/apic/io_apic.c |2 +- drivers/pci/msi.c | 47

Re: linux-next: OOPS at bot time

2010-07-22 Thread Ben Hutchings
); struct msi_msg *msg = entry-msg; /* ...followed by the old implementation of read_msi_msg_desc() */ } Possibly conditional on something like CONFIG_ARCH_NEEDS_SAVE_MSI_MSG. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's

[PATCH 1/4] panic: Allow warnings to set different taint flags

2010-04-03 Thread Ben Hutchings
. Architectures that implement warnings using trap instructions instead of calls to warn_slowpath_*() now implement __WARN_TAINT(taint) instead of __WARN(). Signed-off-by: Ben Hutchings b...@decadent.org.uk --- Changes since the previous version: - Added note to Documentation/oops-tracing.txt

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-23 Thread Ben Hutchings
On Mon, 2010-03-22 at 22:47 -0400, Andrew Morton wrote: On Sat, 20 Mar 2010 23:05:40 + Ben Hutchings b...@decadent.org.uk wrote: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-23 Thread Ben Hutchings
On Tue, 2010-03-23 at 16:45 +0900, Paul Mundt wrote: On Sat, Mar 20, 2010 at 11:05:40PM +, Ben Hutchings wrote: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-21 Thread Ben Hutchings
On Sun, 2010-03-21 at 20:10 +0100, Andi Kleen wrote: Ben Hutchings b...@decadent.org.uk writes: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the usual TAINT_WARN flag

[PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-20 Thread Ben Hutchings
. Architectures that implement warnings using trap instructions instead of calls to warn_slowpath_*() must now implement __WARN_TAINT(taint) instead of __WARN(). Signed-off-by: Ben Hutchings b...@decadent.org.uk --- The architecture-specific changes here are untested and need to be reviewed