Re: [PATCH 3/3] powerpc: Set default VGA device

2013-04-05 Thread Brian King
On 04/05/2013 01:52 AM, Michael Ellerman wrote: > Hi Brian, > > > On Thu, Apr 04, 2013 at 04:58:17PM -0500, Brian King wrote: >> >> Add a PCI quirk for VGA devices on Power to set the default VGA device. >> Ensures a default VGA is always set if a graphics adapter i

[PATCH 3/3] powerpc: Set default VGA device

2013-04-04 Thread Brian King
device. This ensures that X autoconfiguration will work. Signed-off-by: Brian King --- arch/powerpc/kernel/pci-common.c | 13 + 1 file changed, 13 insertions(+) diff -puN arch/powerpc/kernel/pci-common.c~powerpc_vga_default_device arch/powerpc/kernel/pci-common.c --- linux/arch

[PATCH 2/3] powerpc: Enable boot_vga sysfs attribute for graphics adapters on Power

2013-04-04 Thread Brian King
Initialize dev->dev.type such that the PCI group attributes for boot_vga and SR-IOV can be displayed if appropriate. This fixes an issue seen on Power preventing X from auto initializing a graphics adapter when using KMS. Signed-off-by: Brian King --- arch/powerpc/kernel/pci_of_scan.c |

[PATCH 1/3] pci: Export pci_dev_type

2013-04-04 Thread Brian King
Export pci_dev_type so that arch specific PCI probing code can initialize a new PCI device struct. Signed-off-by: Brian King --- drivers/pci/pci.h |1 - include/linux/pci.h |1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/pci/pci.h~pci_export_pci_dev_type

Re: [PATCH] scsi/ibmvscsi: add module alias for ibmvscsic

2012-07-31 Thread Brian King
n you submit a patch to the maintainers file, adding yourself as the ibmvscsi maintainer? Thanks, Brian -- Brian King Power Linux I/O IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: tlb flushing on Power

2012-01-26 Thread Brian King
k) to send to it. > > I was wondering if you have any ideas. Any help is greatly appreciated! > > -- > Seth -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/1] powerpc: Fix partition migration hang in stop_topology_update

2012-01-11 Thread Brian King
: ebe1fff8 4e800020 fbe1fff8 7c0802a6 f8010010 7c7f1b78 f821ff81 78290464 80090014 5400019e 7cd0 78000fe0 <0b00> 480c 7c210b78 7c421378 Signed-off-by: Brian King --- arch/powerpc/kernel/rtas.c |5 +++-- arch/powerpc/platforms/pseries/suspend.c |6 +- 2

[PATCH 1/1] hvcs: Ensure page aligned partner info buffer

2011-09-13 Thread Brian King
The Power platform requires the partner info buffer to be page aligned otherwise it will fail the partner info hcall with H_PARAMETER. Switch from using kmalloc to allocate this buffer to __get_free_page to ensure page alignment. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c |6

Re: [PATCH] libata/sas: only set FROZEN flag if new EH is supported

2011-06-23 Thread Brian King
On 06/23/2011 12:15 PM, Nishanth Aravamudan wrote: > On 23.06.2011 [14:42:00 +1000], Benjamin Herrenschmidt wrote: >> On Thu, 2011-06-23 at 14:31 +1000, Benjamin Herrenschmidt wrote: >>> On Tue, 2011-06-21 at 15:30 -0500, Brian King wrote: >>>> Looks good to me

Re: [PATCH] libata/sas: only set FROZEN flag if new EH is supported

2011-06-21 Thread Brian King
; > On 16.06.2011 [08:28:36 -0700], Nishanth Aravamudan wrote: >> On 16.06.2011 [08:28:39 -0500], Brian King wrote: >>> On 06/16/2011 02:51 AM, Tejun Heo wrote: >>>> On Wed, Jun 15, 2011 at 04:34:17PM -0700, Nishanth Aravamudan wrote: >>>>>> That look

Re: libata/ipr/powerpc: regression between 2.6.39-rc4 and 2.6.39-rc5

2011-06-16 Thread Brian King
t;> ap->ops typically gets set only after ata_port_alloc returns? > > Maybe we can test error_handler in ata_sas_port_start()? Good point. Since libsas is converted to the new eh now, we would need to have this test. Thanks, Brian -- Brian King Linux on Power Virtualization IBM

Re: libata/ipr/powerpc: regression between 2.6.39-rc4 and 2.6.39-rc5

2011-06-15 Thread Brian King
y to fix this would be to only set ATA_PFLAG_FROZEN in ata_port_alloc if ap->ops->error_handler is not NULL. Thanks, Brian -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/1] powerpc: Update MAX_HCALL_OPCODE to reflect page coalescing

2011-05-24 Thread Brian King
When page coalescing support was added recently, the MAX_HCALL_OPCODE define was not updated for the newly added H_GET_MPP_X hcall. Signed-off-by: Brian King --- arch/powerpc/include/asm/hvcall.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/powerpc/include/asm

Re: [PATCH 1/1] powerpc: Add page coalescing support

2011-04-25 Thread Brian King
On 04/22/2011 05:59 PM, Benjamin Herrenschmidt wrote: > On Fri, 2011-04-22 at 16:08 -0500, Brian King wrote: >> Adds support for page coalescing, which is a feature on IBM Power servers >> which allows for coalescing identical pages between logical partitions. >> Hint t

[PATCH 1/1] powerpc: Add page coalescing support

2011-04-22 Thread Brian King
some page coalescing statistics available from firmware via lparcfg. Signed-off-by: Brian King --- arch/powerpc/include/asm/firmware.h |3 +- arch/powerpc/include/asm/hvcall.h | 12 arch/powerpc/include/asm/pSeries_reconfig.h |6 arch/powerpc/kernel

[PATCH 1/1] powerpc: Add page coalescing support

2011-03-14 Thread Brian King
some page coalescing statistics available from firmware via lparcfg. Signed-off-by: Brian King --- arch/powerpc/include/asm/firmware.h |3 +- arch/powerpc/include/asm/hvcall.h | 12 arch/powerpc/include/asm/pSeries_reconfig.h |6 arch/powerpc/kernel

Re: [PATCH 1/1] powerpc: Clear cpu_sibling_map in cpu_die

2010-08-24 Thread Brian King
On 08/24/2010 12:24 AM, Benjamin Herrenschmidt wrote: > On Wed, 2010-08-11 at 15:34 -0500, Brian King wrote: >> While testing CPU DLPAR, the following problem was discovered. >> We were DLPAR removing the first CPU, which in this case was >> logical CPUs 0-3. CPUs 0-2 were a

[PATCH 1/1] powerpc: Clear cpu_sibling_map in cpu_die

2010-08-11 Thread Brian King
when we tried to complete the I/O. Fix this by delaying clearing the sibling map of the cpu we are offlining for the cpu we are offlining until cpu_die. Signed-off-by: Brian King --- arch/powerpc/kernel/smp.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -puN arch/powerpc

Re: [PATCH 6/8] v3 Update the node sysfs code

2010-07-28 Thread Brian King
unregister_mem_sect_under_nodes for the !CONFIG_NUMA case. -Brian -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/1] powerpc: Increase pseries_cpu_die delay

2010-07-22 Thread Brian King
lt in BUG_ON's going off in the timer code when we try to migrate the timers off the dead cpu while a timer is still running. Increasing this delay, as is done in this patch, seems to resolve this issue. Signed-off-by: Brian King --- arch/powerpc/platforms/pseries/hotplug-cpu.c |4 ++

Re: [PATCH 7/8] v3 Define memory_block_size_bytes() for ppc/pseries

2010-07-21 Thread Brian King
> + const unsigned int *size; This needs to be an unsigned long, otherwise I always get zero on my p6. > + > + size = of_get_property(np, "ibm,lmb-size", NULL); > + memblock_size = size ? *size : 0; > + > + of_node_put(

[PATCH 1/1] powerpc: Remove redundant xics badness warning

2010-07-14 Thread Brian King
-off-by: Brian King --- arch/powerpc/platforms/pseries/xics.c |2 -- 1 file changed, 2 deletions(-) diff -puN arch/powerpc/platforms/pseries/xics.c~powerpc_xics_fix_badness arch/powerpc/platforms/pseries/xics.c --- linux-2.6/arch/powerpc/platforms/pseries/xics.c~powerpc_xics_fix_badness

Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Brian King
c(sizeof(*mbs), GFP_KERNEL); > + if (!mbs) > + return -ENOMEM; > + > + mbs->phys_index = section_nr; > + mbs->state = state; > + > + list_add(&mbs->next, &mem->sections); I don't think there is sufficient protection for this list. Don't we need to be holding a lock of some sort when adding/deleting/iterating through this list? > + return 0; > +} -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCHv2 2/2] powerpc: Partition hibernation support

2010-07-07 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

[PATCHv2 1/2] powerpc: Migration code reorganization / hibernation prep

2010-07-07 Thread Brian King
and checked on different cpus without any barriers or locking. Signed-off-by: Brian King --- arch/powerpc/include/asm/hvcall.h |1 arch/powerpc/include/asm/rtas.h | 10 +++ arch/powerpc/kernel/rtas.c| 105 +- 3 files changed, 81 insertions

[PATCHv2 2/2] powerpc: Partition hibernation support

2010-06-17 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

[PATCHv2 1/2] powerpc: Migration code reorganization / hibernation prep

2010-06-17 Thread Brian King
and checked on different cpus without any barriers or locking. Signed-off-by: Brian King --- arch/powerpc/include/asm/hvcall.h |1 arch/powerpc/include/asm/rtas.h | 10 +++ arch/powerpc/kernel/rtas.c| 105 +- 3 files changed, 81 insertions

[PATCHv2 0/2] powerpc: pSeries Partition Hibernation

2010-06-17 Thread Brian King
t patch touches that path. -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/2] powerpc: Migration code reorganization / hibernation prep

2010-06-10 Thread Brian King
and checked on different cpus without any barriers or locking. Signed-off-by: Brian King --- arch/powerpc/include/asm/rtas.h | 10 +++ arch/powerpc/kernel/rtas.c | 106 ++-- 2 files changed, 81 insertions(+), 35 deletions(-) diff -puN arch/powerpc

[PATCH 2/2] powerpc: Partition hibernation support

2010-06-10 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

Re: [PATCH 1/1] [SCSI] ipr: fix resource path display and formatting

2010-06-04 Thread Brian King
Acked-by: Brian King On 06/03/2010 06:02 PM, Wayne Boyer wrote: > It was possible to overflow the buffer used to print out the formatted > version of the resource path. The fix is to limit the number of > bytes that get formatted. > > This patch also updates the ipr_sho

[PATCH 2/2] powerpc: Partition hibernation support

2010-05-27 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

[PATCH 1/2] powerpc: Migration code reorganization / hibernation prep

2010-05-27 Thread Brian King
and checked on different cpus without any barriers or locking. Signed-off-by: Brian King --- arch/powerpc/include/asm/rtas.h | 10 +++ arch/powerpc/kernel/rtas.c | 106 ++-- 2 files changed, 81 insertions(+), 35 deletions(-) diff -puN arch/powerpc

Re: [PATCH RT] ehea: make receive irq handler non-threaded (IRQF_NODELAY)

2010-05-18 Thread Brian King
instrumentation and tracing which > clarified the scenario and to Thomas Gleixner for the incredibly simple > solution. > > Signed-off-by: Darren Hart > Acked-by: Will Schmidt > Cc: Thomas Gleixner > Cc: Jan-Bernd Themann > Cc: Nivedita Singhvi > Cc: Brian King > Cc: Mi

[PATCHv3 2/3] powerpc: Switch VIO Bus PM to use generic helpers

2010-05-14 Thread Brian King
Switch to use the generic power management helpers. Signed-off-by: Brian King --- arch/powerpc/kernel/vio.c | 25 + 1 file changed, 1 insertion(+), 24 deletions(-) diff -puN arch/powerpc/kernel/vio.c~powerpc_vio_bus_pm2 arch/powerpc/kernel/vio.c --- powerpc.git

Re: [PATCH] powerpc: eeh: Fix oops when probing in early boot

2010-05-11 Thread Brian King
ing the bus and before the pci_dn >> to pcidev mapping has been created. Since we only need the pcidev to work >> out the type of reset and that only gets set after the module for the >> device loads, lets just do a hot reset if the pcidev is NULL. >> >> Signed-off-by: Anton Blancha

Re: [PATCH 1/2] powerpc: Partition hibernation support

2010-05-10 Thread Brian King
On 05/10/2010 09:37 AM, Brian King wrote: > >>> } >>> #else /* CONFIG_PPC_PSERIES */ >>> static int rtas_ibm_suspend_me(struct rtas_args *args) >>> { >>> return -ENOSYS; >>> } >>> + >>> +int rtas_s

[PATCHv2 2/3] powerpc: Add power management support to VIO bus

2010-05-10 Thread Brian King
Adds support for suspend/resume for VIO devices. This is needed for support for HMC initiated hibernation. Signed-off-by: Brian King --- arch/powerpc/kernel/vio.c |1 + 1 file changed, 1 insertion(+) diff -puN arch/powerpc/kernel/vio.c~powerpc_vio_bus_pm arch/powerpc/kernel/vio.c

[PATCHv2 1/3] powerpc: Migration code reorganization / hibernation prep

2010-05-10 Thread Brian King
and checked on different cpus without any barriers or locking. Signed-off-by: Brian King --- arch/powerpc/include/asm/rtas.h | 10 +++ arch/powerpc/kernel/rtas.c | 106 ++-- 2 files changed, 81 insertions(+), 35 deletions(-) diff -puN arch/powerpc

[PATCHv2 3/3] powerpc: Partition hibernation support

2010-05-10 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

Re: [PATCH 1/2] powerpc: Partition hibernation support

2010-05-10 Thread Brian King
On 05/10/2010 01:48 AM, Michael Ellerman wrote: > On Fri, 2010-05-07 at 13:58 -0500, Brian King wrote: >> diff -puN /dev/null arch/powerpc/platforms/pseries/suspend.c >> --- /dev/null2009-12-15 17:58:07.0 -0600 >> +++ linux-2.6-bjking1/arch/powerpc/platfo

Re: [PATCH 2/2] powerpc: Add power management support to VIO bus

2010-05-10 Thread Brian King
On 05/09/2010 09:35 PM, Michael Ellerman wrote: > On Fri, 2010-05-07 at 13:58 -0500, Brian King wrote: >> Adds support for suspend/resume for VIO devices. This is needed for >> support for HMC initiated hibernation. >> >> Signed-off-by: Brian King >> --- >&g

[PATCH 2/2] powerpc: Add power management support to VIO bus

2010-05-07 Thread Brian King
Adds support for suspend/resume for VIO devices. This is needed for support for HMC initiated hibernation. Signed-off-by: Brian King --- arch/powerpc/kernel/vio.c | 24 1 file changed, 24 insertions(+) diff -puN arch/powerpc/kernel/vio.c~powerpc_vio_bus_pm arch

[PATCH 1/2] powerpc: Partition hibernation support

2010-05-07 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

Re: [PATCH 1/1] powerpc: Ignore IPIs to offline CPUs

2010-04-21 Thread Brian King
hael Ellerman wrote: >>>>> On Tue, 2010-04-20 at 22:15 -0500, Brian King wrote: >>>>>> On 04/20/2010 09:04 PM, Michael Neuling wrote: >>>>>>> In message <201004210154.o3l1sxar001...@d01av04.pok.ibm.com> you wrote: >>>>>>>

Re: [PATCH 1/1] powerpc: Ignore IPIs to offline CPUs

2010-04-21 Thread Brian King
On 04/21/2010 04:03 PM, Michael Neuling wrote: > In message <4bcf029b.1020...@linux.vnet.ibm.com> you wrote: >> On 04/21/2010 08:35 AM, Michael Ellerman wrote: >>> On Tue, 2010-04-20 at 22:15 -0500, Brian King wrote: >>>> On 04/20/2010 09:04 PM, Mic

Re: [PATCH 1/1] powerpc: Ignore IPIs to offline CPUs

2010-04-21 Thread Brian King
On 04/21/2010 08:35 AM, Michael Ellerman wrote: > On Tue, 2010-04-20 at 22:15 -0500, Brian King wrote: >> On 04/20/2010 09:04 PM, Michael Neuling wrote: >>> In message <201004210154.o3l1sxar001...@d01av04.pok.ibm.com> you wrote: >>>> >>>> Since ther

Re: [PATCH 1/1] powerpc: Ignore IPIs to offline CPUs

2010-04-20 Thread Brian King
fewer IPIs get sent to it since its no longer in the online mask. Perhaps we should be disabling IPIs to offline CPUs instead? -Brian > >> Signed-off-by: Brian King >> --- >> >> arch/powerpc/platforms/pseries/xics.c |3 ++- >> 1 file changed, 2 i

[PATCH 1/1] powerpc: Ignore IPIs to offline CPUs

2010-04-20 Thread Brian King
Since there is nothing to stop an IPI from occurring to an offline CPU, rather than printing a warning to the logs, just ignore the IPI. This was seen while stress testing SMT enable/disable. Signed-off-by: Brian King --- arch/powerpc/platforms/pseries/xics.c |3 ++- 1 file changed, 2

Badness in xics_ipi_dispatch

2010-04-20 Thread Brian King
c0 <4>[c0003fe33d40] [c00c6f0c] .run_workqueue+0xf4/0x1e0 <4>[c0003fe33e00] [c00c70b8] .worker_thread+0xc0/0x180 <4>[c0003fe33ed0] [c00cce74] .kthread+0xb4/0xc0 <4>[c0003fe33f90] [c00309fc] .kernel_thread+0x54/0x70 <4

Re: [PATCH 3/4] Provide VIO modalias

2010-02-23 Thread Brian King
gt; }; You'll want to add this to vio_cmo_dev_attrs as well, as that is the device attribute array that gets used when active memory sharing is enabled. Thanks, Brian -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 2/2] powerpc: Add power management support to VIO bus

2010-02-23 Thread Brian King
Adds support for suspend/resume for VIO devices. This is needed for support for HMC initiated hibernation. Signed-off-by: Brian King --- arch/powerpc/kernel/vio.c | 24 1 file changed, 24 insertions(+) diff -puN arch/powerpc/kernel/vio.c~powerpc_vio_bus_pm arch

[PATCH 1/2] powerpc: Partition hibernation support

2010-02-23 Thread Brian King
Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kconfig

[PATCH 1/1] powerpc: Add kdump support to Collaborative Memory Manager

2009-10-19 Thread Brian King
aned. Pages that are marked as "loaned" which are not in the balloon will automatically get switched to "active" the next time we touch the page. This also fixes the case where totalram_pages is smaller than min_mem_mb, which can occur during kdump. Signed-off-by: Brian King -

[PATCH 1/1] powerpc: Add kdump support to Collaborative Memory Manager

2009-09-29 Thread Brian King
aned. Pages that are marked as "loaned" which are not in the balloon will automatically get switched to "active" the next time we touch the page. This also fixes the case where totalram_pages is smaller than min_mem_mb, which can occur during kdump. Signed-off-by: Brian King -

Re: [PATCH 5/5] kernel handling of CPU DLPAR

2009-09-15 Thread Brian King
e(dn->full_name); > +dn->full_name = cpu_name; > + > +rc = add_device_tree_nodes(dn); > +if (rc) > +release_drc(drc_index); > + > +return rc ? rc : count; > +} > + -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 2/5] move of_drconf_cell definition to prom.h

2009-09-15 Thread Brian King
DRCONF_MEM_ASSIGNED0x0008 > -#define DRCONF_MEM_AI_INVALID0x0040 > -#define DRCONF_MEM_RESERVED0x0080 > - > /* > * Read the next lmb list entry from the ibm,dynamic-memory property > * and return the information in the provided of_drconf_cell structure.

Re: [PATCH 1/5] dynamic logical partitioning infrastructure

2009-09-14 Thread Brian King
.c2009-09-11 > 12:51:52.0 -0500 > @@ -95,7 +95,7 @@ > return parent; > } > > -static BLOCKING_NOTIFIER_HEAD(pSeries_reconfig_chain); > +struct blocking_notifier_head pSeries_reconfig_chain = > BLOCKING_NOTIFIER_INIT(pSeries_reconfig_chain); Can't this just b

[PATCH 1/1] powerpc: Fix to handle slb resize across migration

2009-08-28 Thread Brian King
scenarios where the SLB size will change. Signed-off-by: Brian King --- arch/powerpc/include/asm/mmu-hash64.h |2 ++ arch/powerpc/kernel/lparcfg.c |3 +++ arch/powerpc/kernel/rtas.c|7 ++- arch/powerpc/mm/slb.c | 16

Re: Boot failure on the powerstation with 2.6.30 latest

2009-06-22 Thread Brian King
ng from prom_init > > So it looks like some type of early boot failure or handoff in head_64 > > James > > > _______ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev -- Brian King Linux on Power Virtualization IBM L

Re: ipr boot failure caused by MSI (2.6.30-rc1+)

2009-05-29 Thread Brian King
James Bottomley wrote: > On Thu, 2009-05-21 at 14:51 -0500, James Bottomley wrote: >> On Thu, 2009-05-21 at 13:47 -0500, Brian King wrote: >>> cc'ing linuxppc-dev... >>> >>> -Brian >>> >>> >>> James Bottomley wrote: >&g

Re: ipr boot failure caused by MSI (2.6.30-rc1+)

2009-05-21 Thread Brian King
8748 > FRU No.= 10N7182 > FRU Serial = YL30W8106038 > UUID = > Flashside = 1 (temporary) > Version= HEAD > Build Date = 12-04-2008 16:13 > > James > > > -- > To unsubscribe from this list: send

[PATCH 1/1] powerpc: Fix partition migration hang under load

2009-02-17 Thread Brian King
rtas_percpu_suspend_me. Fix this by calling H_JOIN multiple times if necessary during the migration. Signed-off-by: Brian King --- arch/powerpc/kernel/rtas.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -puN arch/powerpc/kernel/rtas.c~powerpc_migration_hang_fix arch

Re: [PATCH 1/1] powerpc: Fix partition migration hang under load

2009-01-30 Thread Brian King
Nathan Lynch wrote: > Brian King wrote: >> While testing partition migration with heavy CPU load using >> shared processors, it was observed that sometimes the migration >> would never complete and would appear to hang. Currently, the >> migration code assumes that if

[PATCH 1/1] powerpc: Fix partition migration hang under load

2009-01-29 Thread Brian King
rtas_percpu_suspend_me. Fix this by calling H_JOIN multiple times if necessary during the migration. Signed-off-by: Brian King --- arch/powerpc/kernel/rtas.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -puN arch/powerpc/kernel/rtas.c~powerpc_migration_hang_fix arch

Re: [PATCH] powerpc: Correct VIO bus accounting problem in CMO env.

2009-01-28 Thread Brian King
Acked by: Brian King Robert Jennings wrote: > In the VIO bus code the wrappers for dma alloc_coherent and free_coherent > calls are rounding to IOMMU_PAGE_SIZE. Taking a look at the underlying > calls, the actual mapping is promoted to PAGE_SIZE. Changing the > rounding in these t

Re: [PATCH] powerpc: cleanup from l64 to ll64 change: drivers/scsi

2009-01-12 Thread Brian King
Acked by: Brian King Stephen Rothwell wrote: > This is a powerpc specific driver. > > Signed-off-by: Stephen Rothwell > --- > drivers/scsi/ibmvscsi/ibmvfc.c | 14 +++--- > drivers/scsi/ibmvscsi/ibmvfc.h |6 +++--- > 2 files changed, 10 insertions(+), 10 d

[PATCH 2/2] powerpc: Add reboot notifier to Collaborative Memory Manager

2008-12-18 Thread Brian King
er can get out of sync with respect to the number of pages currently marked "loaned". Fix this by adding a reboot notifier to the CMM driver to deflate the balloon and mark all pages as active. Signed-off-by: Brian King --- arch/powerpc/platforms/pseries/cmm.c | 29 +

[PATCH 1/2] powerpc: Disable Collaborative Memory Manager for kdump

2008-12-18 Thread Brian King
ang due to the CMM driver inflating too large. Since there really is no clean way for the CMM driver in the kdump kernel to clean this up, simply disable CMM in the kdump kernel. This fixes hangs we were seeing doing kdump with AMS. Signed-off-by: Brian King --- arch/powerpc/platforms/pseries/Kconfig

Re: [PATCH 1/1] powerpc: Check for valid hugepage size in hugetlb_get_unmapped_area

2008-12-04 Thread Brian King
Paul Mackerras wrote: > Brian King writes: > >> This should go to Linus for 2.6.28 > > OK, thanks, but is it a regression from 2.6.27? Probably not. Its probably broken in 2.6.27 as well. Looking at the git history of arch/powerpc/mm/hugetlbpage.c, it hasn't changed si

Re: [PATCH 1/1] powerpc: Check for valid hugepage size in hugetlb_get_unmapped_area

2008-12-04 Thread Brian King
Paul Mackerras wrote: > Brian King writes: > >> It looks like most of the hugetlb code is doing the correct thing if >> hugepages are not supported, but the mmap code is not. If we get into >> the mmap code when hugepages are not supported, such as in an LPAR >>

[PATCH 1/1] powerpc: Check for valid hugepage size in hugetlb_get_unmapped_area

2008-12-04 Thread Brian King
1 f8c10158 f8e10160 <7d49002e> f9010168 e92d01b0 eb4902b0 Signed-off-by: Brian King <[EMAIL PROTECTED]> --- arch/powerpc/mm/hugetlbpage.c |3 +++ 1 file changed, 3 insertions(+) diff -puN arch/powerpc/mm/hugetlbpage.c~powerpc_hugepage_mmap_check arch/powerpc/mm/hugetlbpage.c ---

[PATCHv3 1/1] powerpc: Update page in counter for CMM

2008-10-22 Thread Brian King
more memory allocated to it. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/lppaca.h |3 ++- arch/powerpc/kernel/paca.c|1 + arch/powerpc/mm/fault.c | 12 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff -pu

[PATCHv2 1/1] powerpc: Update page in counter for CMM

2008-10-21 Thread Brian King
more memory allocated to it. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/lppaca.h |3 ++- arch/powerpc/kernel/paca.c|1 + arch/powerpc/mm/fault.c |7 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff -puN arch/powe

Re: [1/1] powerpc: Update page in counter for CMM

2008-10-21 Thread Brian King
ad only field from the hypervisor's perspective. They shouldn't be clearing it. > If we are worried about linux preemption, then we need to disable > it to avoid crossing cpu variables or getting to this point multiple > times. (I have not looked at the context to see if we are alrea

[PATCH 1/1] powerpc: Update page in counter for CMM

2008-10-20 Thread Brian King
needs more memory allocated to it. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/lppaca.h |3 ++- arch/powerpc/kernel/paca.c|1 + arch/powerpc/mm/fault.c |8 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff -puN arch/powe

[PATCH 1/1] powerpc: Fix vio_bus_probe oops on probe error

2008-08-12 Thread Brian King
x1a10 [ce13be30] c0008748 syscall_exit+0x0/0x40 Signed-off-by: Brian King <[EMAIL PROTECTED]> --- arch/powerpc/kernel/vio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/powerpc/kernel/vio.c~powerpc_vio_bus_probe_error arch/powerpc/kernel/vio.c --- lin

Re: [PATCH] powerpc: correct CMO feature flag enablement

2008-07-15 Thread Brian King
Acked by: Brian King <[EMAIL PROTECTED]> Robert Jennings wrote: > Correct string conversion for rtas value being read for CMO configuration. > A value of -1 in the string indicates that CMO is not enabled and we > had used simple_strtoul rather than simple_strtol which

Re: [PATCH 08/16 v3] powerpc: Do not probe PCI buses or eBus devices if CMO is enabled

2008-07-14 Thread Brian King
Ben, Please drop this patch from the series. After further discussion, this patch is not required and has actually been causing problems. Thanks, Brian Robert Jennings wrote: > From: Brian King <[EMAIL PROTECTED]> > > The Cooperative Memory Overcommit (CMO) on System p doe

Re: [PATCH 15/16 v3] [v2] ibmvscsi: driver enablement for CMO

2008-07-10 Thread Brian King
Acked by: Brian King <[EMAIL PROTECTED]> -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 15/16 v3] ibmvscsi: driver enablement for CMO

2008-07-07 Thread Brian King
ULT * > + IBMVSCSI_CMDS_PER_LUN_DEFAULT); > + > + return IOMMU_PAGE_ALIGN(io_entitlement); I really think this function should just return the number of bytes and let the caller round it up to any boundary requirements it might have. -Brian

Re: [PATCH 08/18 v2] powerpc: Do not probe PCI buses or eBus devices if CMO is enabled

2008-06-30 Thread Brian King
Paul Mackerras wrote: > Robert Jennings writes: > >> From: Brian King <[EMAIL PROTECTED]> >> >> The Cooperative Memory Overcommit (CMO) on System p does not currently >> support native PCI devices or eBus devices when enabled. > > Then why would we

Re: [PATCH 03/19][v3] powerpc: Add memory entitlement capabilities to /proc/ppc64/lparcfg

2008-06-24 Thread Brian King
pool_size; > +long loan_request; Might as well be specific here and call this a signed long. Tab/spacing issue here as well. -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 18/19] ibmvscsi: driver enablement for CMO

2008-06-13 Thread Brian King
HIS_MODULE, > Index: b/drivers/scsi/ibmvscsi/ibmvscsi.h > === > --- a/drivers/scsi/ibmvscsi/ibmvscsi.h > +++ b/drivers/scsi/ibmvscsi/ibmvscsi.h > @@ -45,6 +45,8 @@ struct Scsi_Host; > #define MAX_INDIRECT_BUFS 10 > > #define IBMVSCSI_MAX_REQUESTS_DEFAULT 100 > +#define IBMVSCSI_CMDS_PER_LUN_DEFAULT 16 > +#define IBMVSCSI_MAX_SECTORS_DEFAULT 256 /* 32 * 8 = default max I/O 32 > pages */ > #define IBMVSCSI_MAX_CMDS_PER_LUN 64 > > /* > ___ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev -- Brian King Linux on Power Virtualization IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 10/19] [repost] powerpc: move get_longbusy_msecs out of ehca/ehea

2008-06-13 Thread Brian King
) { > + case H_LONG_BUSY_ORDER_1_MSEC: > + return 1; > + case H_LONG_BUSY_ORDER_10_MSEC: > + return 10; > + case H_LONG_BUSY_ORDER_100_MSEC: > + return 100; > + case H_LONG_BUSY_ORDER_1_SEC: > + return 1000; > + case H_L

Re: [PATCH 1/1] ibmvscsi: Non SCSI error status fixup

2008-05-20 Thread Brian King
Michael Ellerman wrote: > On Mon, 2008-05-19 at 10:56 -0500, Dave Boutcher wrote: >> On Mon, 19 May 2008 10:27:56 -0500, Brian King <[EMAIL PROTECTED]> said: >>> Some versions of the Virtual I/O Server on Power >>> return 0x99 in the non-SCSI error status field as

[PATCH 1/1] ibmvscsi: Non SCSI error status fixup

2008-05-19 Thread Brian King
Some versions of the Virtual I/O Server on Power return 0x99 in the non-SCSI error status field as success, rather than 0. This fixes the ibmvscsi driver to treat this response as success. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/scsi/ibmvscsi/ibmv

[PATCH 1/1] ehea: Fix use after free on reboot

2008-05-14 Thread Brian King
.kernel_restart+0x20/0x6c [c0002ec6fc90] c0078674 .sys_reboot+0x1d4/0x290 [c0002ec6fe30] c00086ac syscall_exit+0x0/0x40 --- Exception: c01 (System Call) at 0ff63a40 SP (ffceea50) is in userspace Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-b

[PATCH 6/6] ibmveth: Remove use of bitfields

2007-08-17 Thread Brian King
Removes the use of bitfields from the ibmveth driver. This results in slightly smaller object code. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 90 linux-2.6-bjking1/drivers/net/ibmveth.h

[PATCH 5/6] ibmveth: Remove dead frag processing code

2007-08-17 Thread Brian King
Removes dead frag processing code from ibmveth. Since NETIF_F_SG was not set, this code was never executed. Also, since the ibmveth interface can only handle 6 fragments, core networking code would need to be modified in order to efficiently enable this support. Signed-off-by: Brian King <[EM

[PATCH 4/6] ibmveth: Add ethtool driver stats hooks

2007-08-17 Thread Brian King
Add ethtool hooks to ibmveth to retrieve driver statistics. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 51 1 file changed, 51 insertions(+) diff -puN drivers/net/ibmveth.c~ibmveth_ethtool_driver_stats d

[PATCH 3/6] ibmveth: Add ethtool TSO handlers

2007-08-17 Thread Brian King
Add handlers for get_tso and get_ufo to prevent errors being printed by ethtool. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c |2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/net/ibmveth.c~ibmveth_ethtool_get_tso drivers/net/ibm

[PATCH 2/6] ibmveth: Implement ethtool hooks to enable/disable checksum offload

2007-08-17 Thread Brian King
This patch adds the appropriate ethtool hooks to allow for enabling/disabling of hypervisor assisted checksum offload for TCP. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 125 +++- linux-2.6-bjking1/drive

[PATCH 1/6] ibmveth: Enable TCP checksum offload

2007-08-17 Thread Brian King
yielded a ~30% increase in throughput. This feature is enabled by default on systems that support it, but can be disabled with a module option. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 53 linux-2.6-bjking1/d

[PATCH 5/6] ibmveth: Remove dead frag processing code

2007-08-10 Thread Brian King
Removes dead frag processing code from ibmveth. Since NETIF_F_SG was not set, this code was never executed. Also, since the ibmveth interface can only handle 6 fragments, core networking code would need to be modified in order to efficiently enable this support. Signed-off-by: Brian King <[EM

[PATCH 6/6] ibmveth: Remove use of bitfields

2007-08-10 Thread Brian King
Removes the use of bitfields from the ibmveth driver. This results in slightly smaller object code. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 90 linux-2.6-bjking1/drivers/net/ibmveth.h

[PATCH 4/6] ibmveth: Add ethtool driver stats hooks

2007-08-10 Thread Brian King
Add ethtool hooks to ibmveth to retrieve driver statistics. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 51 1 file changed, 51 insertions(+) diff -puN drivers/net/ibmveth.c~ibmveth_ethtool_driver_stats d

[PATCH 3/6] ibmveth: Add ethtool TSO handlers

2007-08-10 Thread Brian King
Add handlers for get_tso and get_ufo to prevent errors being printed by ethtool. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c |2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/net/ibmveth.c~ibmveth_ethtool_get_tso drivers/net/ibm

[PATCH 2/6] ibmveth: Implement ethtool hooks to enable/disable checksum offload

2007-08-10 Thread Brian King
This patch adds the appropriate ethtool hooks to allow for enabling/disabling of hypervisor assisted checksum offload for TCP. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 125 +++- linux-2.6-bjking1/drive

[PATCH 1/6] ibmveth: Enable TCP checksum offload

2007-08-10 Thread Brian King
yielded a ~30% increase in throughput. This feature is enabled by default on systems that support it, but can be disabled with a module option. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/net/ibmveth.c | 53 linux-2.6-bjking1/d

<    1   2   3   4   >