Re: [PATCH v2] selftests/powerpc: Remove the path after initialization.

2024-10-01 Thread IBM
the path after initialization. > > tools/testing/selftests/powerpc/mm/tlbie_test.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Thanks for the fix. Looks good to me. Please feel free to add - Reviewed-by: Ritesh Harjani (IBM)

Re: [PATCH] selftests/powerpc: Rm the unnecessary remove function.

2024-09-27 Thread IBM
zhangjiao2 writes: > From: zhang jiao > > Path is not initialized before use, > remove the unnecessary remove function. > > Signed-off-by: zhang jiao > --- > tools/testing/selftests/powerpc/mm/tlbie_test.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/testing/selftests/powerpc/

[PATCH linux v5 2/6] hwmon: occ: Add sysfs interface

2017-01-30 Thread eajames . ibm
_sysfs.c @@ -0,0 +1,251 @@ +/* + * occ_sysfs.c - OCC sysfs interface + * + * This file contains the methods and data structures for implementing the OCC + * hwmon sysfs entries. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under

[PATCH linux v5 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-01-30 Thread eajames . ibm
he chip must be connected to a POWER8 or POWER9 processor +(see the BMC - Host Communications section). + +Author: Eddie James + +Description +--- + +This driver implements support for the OCC (On-Chip Controller) on the IBM +POWER8 and POWER9 processors, from a BMC (Baseboard Management C

[PATCH linux v5 0/6] drivers: hwmon: Add On-Chip Controller driver

2017-01-30 Thread eajames . ibm
From: "Edward A. James" This patchset adds a hwmon driver to support the OCC (On-Chip Controller) on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The OCC is an embedded processor that provides real time power and thermal monitoring. The driver p

[PATCH linux v5 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2017-01-30 Thread eajames . ibm
devicetree/bindings/hwmon/occ.txt @@ -0,0 +1,13 @@ +HWMON I2C driver for IBM POWER CPU OCC (On Chip Controller) + +Required properties: + - compatible: must be "ibm,p8-occ-i2c" + - reg: physical address + +Example: +i2c3: i2c-bus@100 { + occ@50 { + compatib

[PATCH linux v4 0/6] drivers: hwmon: Add On-Chip Controller drive

2017-01-26 Thread eajames . ibm
From: "Edward A. James" This patchset adds a hwmon driver to support the OCC (On-Chip Controller) on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The OCC is an embedded processor that provides real time power and thermal monitoring. The driver p

[PATCH linux v4 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures

2017-01-26 Thread eajames . ibm
s/hwmon/occ/occ_p8.c b/drivers/hwmon/occ/occ_p8.c new file mode 100644 index 000..32215ed --- /dev/null +++ b/drivers/hwmon/occ/occ_p8.c @@ -0,0 +1,247 @@ +/* + * occ_p8.c - OCC hwmon driver + * + * This file contains the Power8-specific methods and data structures for + * the OCC hwmon driver. +

[PATCH linux v4 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures

2017-01-26 Thread eajames . ibm
dex 000..d99a026 --- /dev/null +++ b/drivers/hwmon/occ/occ_p9.c @@ -0,0 +1,308 @@ +/* + * occ_p9.c - OCC hwmon driver + * + * This file contains the Power9-specific methods and data structures for + * the OCC hwmon driver. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you

[PATCH linux v4 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2017-01-26 Thread eajames . ibm
devicetree/bindings/hwmon/occ.txt @@ -0,0 +1,13 @@ +HWMON I2C driver for IBM POWER CPU OCC (On Chip Controller) + +Required properties: + - compatible: must be "ibm,p8-occ-i2c" + - reg: physical address + +Example: +i2c3: i2c-bus@100 { + occ@50 { + compatib

[PATCH linux v4 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2017-01-26 Thread eajames . ibm
bus + * to access the OCC. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option)

[PATCH linux v4 2/6] hwmon: occ: Add sysfs interface

2017-01-26 Thread eajames . ibm
_sysfs.c @@ -0,0 +1,259 @@ +/* + * occ_sysfs.c - OCC sysfs interface + * + * This file contains the methods and data structures for implementing the OCC + * hwmon sysfs entries. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under

[PATCH linux v4 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-01-26 Thread eajames . ibm
he chip must be connected to a POWER8 or POWER9 processor +(see the BMC - Host Communications section). + +Author: Eddie James + +Description +--- + +This driver implements support for the OCC (On-Chip Controller) on the IBM +POWER8 and POWER9 processors, from a BMC (Baseboard Management C

[PATCH linux v3 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-01-16 Thread eajames . ibm
he chip must be connected to a POWER8 or POWER9 processor +(see the BMC - Host Communications section). + +Author: Eddie James + +Description +--- + +This driver implements support for the OCC (On-Chip Controller) on the IBM +POWER8 and POWER9 processors, from a BMC (Baseboard Management C

[PATCH linux v3 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2017-01-16 Thread eajames . ibm
bus + * to access the OCC. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option)

[PATCH linux v3 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures

2017-01-16 Thread eajames . ibm
s/hwmon/occ/occ_p8.c b/drivers/hwmon/occ/occ_p8.c new file mode 100644 index 000..32215ed --- /dev/null +++ b/drivers/hwmon/occ/occ_p8.c @@ -0,0 +1,247 @@ +/* + * occ_p8.c - OCC hwmon driver + * + * This file contains the Power8-specific methods and data structures for + * the OCC hwmon driver. +

[PATCH linux v3 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2017-01-16 Thread eajames . ibm
devicetree/bindings/hwmon/occ.txt @@ -0,0 +1,13 @@ +HWMON I2C driver for IBM POWER CPU OCC (On Chip Controller) + +Required properties: + - compatible: must be "ibm,p8-occ-i2c" + - reg: physical address + +Example: +i2c3: i2c-bus@100 { + occ@50 { + compatib

[PATCH linux v3 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures

2017-01-16 Thread eajames . ibm
dex 000..d99a026 --- /dev/null +++ b/drivers/hwmon/occ/occ_p9.c @@ -0,0 +1,308 @@ +/* + * occ_p9.c - OCC hwmon driver + * + * This file contains the Power9-specific methods and data structures for + * the OCC hwmon driver. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you

[PATCH linux v3 0/6] drivers: hwmon: Add On-Chip Controller driver

2017-01-16 Thread eajames . ibm
From: "Edward A. James" This patchset adds a hwmon driver to support the OCC (On-Chip Controller) on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The OCC is an embedded processor that provides real time power and thermal monitoring. The driver p

[PATCH linux v3 2/6] hwmon: occ: Add sysfs interface

2017-01-16 Thread eajames . ibm
_sysfs.c @@ -0,0 +1,271 @@ +/* + * occ_sysfs.c - OCC sysfs interface + * + * This file contains the methods and data structures for implementing the OCC + * hwmon sysfs entries. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it und

[PATCH linux v2 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2017-01-11 Thread eajames . ibm
to access the OCC. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option)

[PATCH linux v2 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures

2017-01-11 Thread eajames . ibm
s/hwmon/occ/occ_p8.c b/drivers/hwmon/occ/occ_p8.c new file mode 100644 index 000..6673da2 --- /dev/null +++ b/drivers/hwmon/occ/occ_p8.c @@ -0,0 +1,254 @@ +/* + * occ_p8.c - OCC hwmon driver + * + * This file contains the Power8-specific methods and data structures for + * the OCC hwmon driver. +

[PATCH linux v2 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-01-11 Thread eajames . ibm
OWER8 or POWER9 processor +(see the BMC - Host Communications section). + +Author: Eddie James + +Description +--- + +This driver implements support for the OCC (On-Chip Controller) on the IBM +POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The +OCC is an embedded

[PATCH linux v2 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2017-01-11 Thread eajames . ibm
devicetree/bindings/hwmon/occ.txt @@ -0,0 +1,13 @@ +HWMON I2C driver for IBM POWER CPU OCC (On Chip Controller) + +Required properties: + - compatible: must be "ibm,p8-occ-i2c" + - reg: physical address + +Example: +i2c3: i2c-bus@100 { + occ@50 { + compatib

[PATCH linux v2 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures

2017-01-11 Thread eajames . ibm
dex 000..8b351a0 --- /dev/null +++ b/drivers/hwmon/occ/occ_p9.c @@ -0,0 +1,314 @@ +/* + * occ_p9.c - OCC hwmon driver + * + * This file contains the Power9-specific methods and data structures for + * the OCC hwmon driver. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you

[PATCH linux v2 2/6] hwmon: occ: Add sysfs interface

2017-01-11 Thread eajames . ibm
_sysfs.c @@ -0,0 +1,274 @@ +/* + * occ_sysfs.c - OCC sysfs interface + * + * This file contains the methods and data structures for implementing the OCC + * hwmon sysfs entries. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it und

[PATCH linux v2 0/6] drivers: hwmon: Add On-Chip Controller driver

2017-01-11 Thread eajames . ibm
From: "Edward A. James" This patchset adds a hwmon driver to support the OCC (On-Chip Controller) on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The OCC is an embedded processor that provides real time power and thermal monitoring. The driver p

[PATCH linux 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures

2016-12-30 Thread eajames . ibm
_occ.c new file mode 100644 index 000..f69b469 --- /dev/null +++ b/drivers/hwmon/occ/p9_occ.c @@ -0,0 +1,243 @@ +/* + * p9.c - OCC hwmon driver + * + * This file contains the Power9-specific methods and data structures for + * the OCC hwmon driver. + * + * Copyright 2016 IBM Corp. + * + * This prog

[PATCH linux 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC

2016-12-30 Thread eajames . ibm
by: Andrew Jeffery --- .../devicetree/bindings/i2c/i2c-ibm-occ.txt| 13 ++ drivers/hwmon/occ/Kconfig | 14 ++ drivers/hwmon/occ/Makefile | 1 + drivers/hwmon/occ/p8_occ_i2c.c | 141 + 4 files ch

[PATCH linux 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2016-12-30 Thread eajames . ibm
to access the OCC. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option)

[PATCH linux 0/6] drivers: hwmon: Add On-Chip Controller driver

2016-12-30 Thread eajames . ibm
From: "Edward A. James" This patchset adds a hwmon driver to support the OCC (On-Chip Controller) on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The OCC is an embedded processor that provides real time power and thermal monitoring. The driver p

[PATCH linux 2/6] hwmon: occ: Add sysfs interface

2016-12-30 Thread eajames . ibm
f --git a/drivers/hwmon/occ/occ_sysfs.c b/drivers/hwmon/occ/occ_sysfs.c new file mode 100644 index 000..b0e063da --- /dev/null +++ b/drivers/hwmon/occ/occ_sysfs.c @@ -0,0 +1,492 @@ +/* + * occ_sysfs.c - OCC sysfs interface + * + * This file contains the methods and data structures for implem

[PATCH linux 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures

2016-12-30 Thread eajames . ibm
s for + * the OCC hwmon driver. + * + * Copyright 2016 IBM Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at

[PATCH linux 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2016-12-30 Thread eajames . ibm
OWER8 or POWER9 processor +(see the BMC - Host Communications section). + +Author: Eddie James + +Description +--- + +This driver implements support for the OCC (On-Chip Controller) on the IBM +POWER8 and POWER9 processors, from a BMC (Baseboard Management Controller). The +OCC is an embedded

Re: [PATCH 2/4] thinkpad_acpi: Factor out get/set adaptive kbd mode

2015-03-02 Thread ibm-acpi
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote: > Move the getting/setting of the adaptive keyboard mode to separate > functions, so that we can reuse them later through sysfs attributes. > > Signed-off-by: Bastien Nocera Acked-by: Henrique de Moraes Holschuh > --- > drivers/platform/x86

[PATCH] Some systems have a dynamic PAGE_SIZE value and do not add a definition for PAGE_SIZE. This value will have to be retrieved using getpagesize() or sysconf().

2014-08-06 Thread Thierry FAUCK - IBM LTC
From: Thierry Fauck Signed-off-by: Thierry Fauck --- tools/testing/selftests/ptrace/peeksiginfo.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/ptrace/peeksiginfo.c b/tools/testing/selftests/ptrace/peeksiginfo.c index d46558b..c34cd8a 100644 --- a/tools/testin

Re: test11-pre6

2000-11-16 Thread Ying Chen/Almaden/IBM
Linus, You forgot about wakeup_bdflush(1) stuff. Here is the patch again (against test10). === There are several places where schedule() is called after wakeup_bdflush(1) is called. This is completely unnecessary, since wakeup_bdflush(

[patch] nfsd optimizations for test10 (yet another try)

2000-11-13 Thread Ying Chen/Almaden/IBM
Neil, Here is a set of fixes and answers to you questions/points. The new patch was tested in my own environment again and worked fine. 1/ Why did you change nfsd_busy into an atomic_t? It is only ever used or updated inside the Big-Kernel-Lock, so it doesn't need to be atomic. I think

[patch] nfsd optimizations for test10 (recoded to use list_head)

2000-11-12 Thread Ying Chen/Almaden/IBM
Hi, This is the recoded racache that uses list_head for several lists, e.g., lru and free lists. I have tested it under SPEC SFS runs, and several other NFS loads myself. Here is the whole patch against test10. = diff -ruN nfsd.orig/nfsd.h nfs

Re: [patch] nfsd optimizations for test10

2000-11-11 Thread Ying Chen/Almaden/IBM
1/ Do you have any stats showing what sort of speedup this gives - I'm curious. I don't have the exact timing stats to show the improvements, but I do have some stats that I gathered when running SPEC SFS. Basically with the default racache scheme which only keeps 80 entries in the table

problems with sync_all_inode() in prune_icache() and kupdate()

2000-11-11 Thread Ying Chen/Almaden/IBM
Hi, I'm wondering if someone can tell me why sync_all_inodes() is called in prune_icache(). sync_all_inodes() can cause problems in some situations when memory is short and shrink_icache_memory() is called. For instance, when the system is really short of memory, do_try_to_free_pages() is invoked

[patch] wakeup_bdflush related fixes and nfsd optimizations for test10

2000-11-11 Thread Ying Chen/Almaden/IBM
scanning the table (even though the table is small), the hash table-based is much more effective and fast. I have generated the patch for test10 and tested it. (See attached file: a) Ying Chen [EMAIL PROTECTED] IBM Almaden Research Center a

[patch] nfsd optimizations for test10

2000-11-10 Thread Ying Chen/Almaden/IBM
Hi, I made some optimizations on racache in nfsd in test10. The idea is to replace with existing fixed length table for readahead cache in NFSD with a hash table. The old racache is essentially ineffective in dealing with large # of files, and yet eats CPU cycles in scanning the table (even thoug

[PATCH] 2.4.0-test10-pre6 TLB flush race in establish_pte

2000-10-30 Thread Steve Pratt/Austin/IBM
nsigned long address, pte_t *page_table, pte_t entry) { -flush_tlb_page(vma, address); set_pte(page_table, entry); +flush_tlb_page(vma, address); update_mmu_cache(vma, address, entry); } Linux Technology Center - IBM Corporation 11400 Burnet Road Austin, TX 78758 (512) 838

Re: VM in v2.4.0test9

2000-10-04 Thread Ying Chen/Almaden/IBM
I'd second that this is most likely a VM related problem. Last few days I sent you an example that I would make system hang simply by doing a mkfs on 90 GB file system. This happens when low 1GB memory is used up (but I still have high 1GB available). I think David probably ran into the same prob