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
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
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 |
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
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
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
:
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
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
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
;
> 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
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
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
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
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
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
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
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
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
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
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 ++
> + 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(
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>>>>>>>
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
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
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
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
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
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
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
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
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
-
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
-
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
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.
.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
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
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
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
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
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
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
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
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
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
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 +
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
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
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
>>
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
---
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
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
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
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
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
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
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
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
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
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
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
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
) {
> + 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
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
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
.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
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
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
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
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
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
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
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
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
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
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
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
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
201 - 300 of 321 matches
Mail list logo