Re: [PATCH v2 2/7] PCI: don't touch enable_cnt in pci_device_shutdown()

2013-02-04 Thread Khalid Aziz
e the suspend() routine for drivers to shut devices down cleanly. Maybe it is time to revisit that discussion. >Cc: Khalid Aziz Please update this to kha...@gonehiking.org -- Khalid -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 2/7] PCI: don't touch enable_cnt in pci_device_shutdown()

2013-02-05 Thread Khalid Aziz
On Mon, 2013-02-04 at 16:13 -0700, Bjorn Helgaas wrote: > On Mon, Feb 4, 2013 at 3:20 PM, Khalid Aziz wrote: > > On Mon, 2013-02-04 at 15:55 +0400, Konstantin Khlebnikov wrote: > >> Matthew Garrett and Alan Cox said (see LKML link below) that clearing > >> bus-master &

Re: [PATCH v2 2/7] PCI: don't touch enable_cnt in pci_device_shutdown()

2013-02-05 Thread Khalid Aziz
On Tue, 2013-02-05 at 12:22 -0700, Bjorn Helgaas wrote: > On Tue, Feb 5, 2013 at 8:28 AM, Khalid Aziz wrote: > > On Mon, 2013-02-04 at 16:13 -0700, Bjorn Helgaas wrote: > >> Did you figure out specifically why pcibios_disable_device() helps? > >> Using pcibios_disable

Re: [PATCH 4/5] PCI: don't touch enable_cnt in pci_device_shutdown()

2013-01-28 Thread Khalid Aziz
PCI device continues to DMA to > >> | memory that does not belong to it any more in the new kernel. > >> > >> Seems like pci_clear_master() must be used here instead of > >> pci_disable_device(), > >> because it disables Bus Muster unconditionally

Re: Kdump with signed images

2012-11-01 Thread Khalid Aziz
On Thu, 2012-11-01 at 14:57 +, Matthew Garrett wrote: > On Thu, Nov 01, 2012 at 10:51:49AM -0400, Vivek Goyal wrote: > > > And if one wants only /sbin/kexec to call it, then just sign that > > one so no other executable will be able to call kexec_load(). Though > > I don't think that's the req

Re: Kdump with signed images

2012-11-02 Thread Khalid Aziz
On Thu, 2012-11-01 at 16:23 +, Matthew Garrett wrote: > On Thu, Nov 01, 2012 at 09:10:56AM -0600, Khalid Aziz wrote: > > How would a customer go about getting that userspace binary signed and > > re-signed every time they update their app? There is the option of > &

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-26 Thread Khalid Aziz
On 07/23/2012 07:26 AM, Matthew Garrett wrote: On Fri, Jul 20, 2012 at 03:10:56PM -0700, H. Peter Anvin wrote: On 07/20/2012 03:08 PM, Khalid Aziz wrote: Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer

[PATCH -next v2] Shorten constant names for EFI variable attributes

2012-09-25 Thread Khalid Aziz
Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer names so as to not break compatibility with current API since these constants are used by userspace programs. Signed-off-by: Khalid Aziz Cc: Khalid Aziz

Re: [PATCH -next v2] Shorten constant names for EFI variable attributes

2012-09-25 Thread Khalid Aziz
On Wed, 2012-09-26 at 07:55 +1000, Stephen Rothwell wrote: > Hi, > > On Tue, 25 Sep 2012 09:41:00 -0600 Khalid Aziz wrote: > > > > Replace very long constants for EFI variable attributes with > > shorter and more convenient names. Also create an alias for > >

Re: [ 00/13] 3.0.99-stable review

2013-10-03 Thread Khalid Aziz
On 10/03/2013 06:47 AM, Christoph Biedl wrote: Guenter Roeck wrote... On 10/02/2013 09:04 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.99 release. Heads up: I am getting lots of build failures in 3.0 and 3.4 builds. mm/built-in.o: In function `__pu

Re: [ 00/13] 3.0.99-stable review

2013-10-03 Thread Khalid Aziz
On 10/03/2013 08:41 AM, Christoph Biedl wrote: Khalid Aziz wrote... Thanks for tracking this down. I had not tried a configuration with CONFIG_HUGETLB_PAGE not set. In my config, I was getting many multiple definition errors for bunch of other defines from linux/hugetlb.h. I will look at my

Re: [ 00/13] 3.0.99-stable review

2013-10-03 Thread Khalid Aziz
On 10/03/2013 08:56 AM, Khalid Aziz wrote: Greg, please apply the patch Christoph had included in his earlier post. Ben, this will apply to 3.2 as well. Better yet, just pull this patch from stable from now. I will redo the patch and send another one for the next round. Thanks, Khalid

Re: [ 00/13] 3.0.99-stable review

2013-10-03 Thread Khalid Aziz
On 10/03/2013 01:15 PM, Christoph Biedl wrote: Khalid Aziz wrote... Better yet, just pull this patch from stable from now. I will redo the patch and send another one for the next round. FYI, after patching mm/swap.c accordingly, all the 3.0 and 3.4 configurations I use do build. Some boot

[PATCH v2] SCSI: buslogic: Added check for DMA mapping errors (was Re:[BusLogic] DMA-API: device driver failed to check map error)

2013-09-13 Thread Khalid Aziz
Added check for DMA mapping errors for request sense data buffer. Checking for mapping error can avoid potential wild writes. This patch was prompted by the warning from dma_unmap when kernel is compiled with CONFIG_DMA_API_DEBUG. Signed-off-by: Khalid Aziz --- Changelog: v1 - Fixed a typo and

[PATCH] SCSI: buslogic: Added check for DMA mapping errors (was Re: [BusLogic] DMA-API: device driver failed to check map error)

2013-09-12 Thread Khalid Aziz
Added check for DMA mapping errors for request sense data buffer. Checking for mapping error can avoid potential wild writes. This patch was prompted by the warning from dma_unmap when kernel is compiled with CONFIG_DMA_API_DEBUG. Signed-off-by: Khalid Aziz --- drivers/scsi/BusLogic.c | 32

Re: [PATCH] SCSI: buslogic: Added check for DMA mapping errors (was Re:[BusLogic] DMA-API: device driver failed to check map error)

2013-09-13 Thread Khalid Aziz
On 09/13/2013 09:42 AM, Tetsuo Handa wrote: Khalid Aziz wrote: Added check for DMA mapping errors for request sense data buffer. Checking for mapping error can avoid potential wild writes. This patch was prompted by the warning from dma_unmap when kernel is compiled with CONFIG_DMA_API_DEBUG

Re: [PATCH 092/104] mm: fix aio performance regression for database caused by THP

2013-09-30 Thread Khalid Aziz
On 09/30/2013 07:26 AM, Greg Kroah-Hartman wrote: On Mon, Sep 30, 2013 at 03:14:52PM +0200, Jack Wang wrote: On 09/30/2013 12:11 PM, Luis Henriques wrote: 3.5.7.22 -stable review patch. If anyone has any objections, please let me know. -- From: Khalid Aziz commit

[PATCH] scsi: BusLogic: Fix an oops when intializing multimaster adapter

2013-09-25 Thread Khalid Aziz
ted to kill init! exitcode=0x0009 Signed-off-by: Khalid Aziz Cc: # 3.11.x Cc: Khalid Aziz Reported-by: Pierre Uszynski Tested-by: Pierre Uszynski --- drivers/scsi/BusLogic.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/BusLogic.c b/d

Re: [PATCH v2] Add missing attributes to EFI variable attribute print out from sysfs

2012-09-06 Thread Khalid Aziz
On Fri, 2012-07-13 at 18:50 +0100, Matthew Garrett wrote: > On Fri, Jul 13, 2012 at 11:42:16AM -0600, Khalid Aziz wrote: > > Some of the EFI variable attributes are missing from print out from > > /sys/firmware/efi/vars/*/attributes. This patch adds those in. It also > > up

Re: [PATCH v2] Add missing attributes to EFI variable attribute print out from sysfs

2012-09-10 Thread Khalid Aziz
ttributes. This patch adds those in. It also updates code to use pre-defined constants for masking current value of attributes. Signed-off-by: Khalid Aziz diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 47408e8..d10c987 100644 --- a/drivers/firmware/efivars.c +++ b/driv

Re: [PATCH v2] Add missing attributes to EFI variable attribute print out from sysfs

2012-09-10 Thread Khalid Aziz
Some of the EFI variable attributes are missing from print out from /sys/firmware/efi/vars/*/attributes. This patch adds those in. It also updates code to use pre-defined constants for masking current value of attributes. Signed-off-by: Khalid Aziz Reviewed-by: Kees Cook Acked-by: Matthew

[PATCH v2 RESEND] Add missing attributes to EFI variable attribute print out from sysfs

2012-09-10 Thread Khalid Aziz
Some of the EFI variable attributes are missing from print out from /sys/firmware/efi/vars/*/attributes. This patch adds those in. It also updates code to use pre-defined constants for masking current value of attributes. Signed-off-by: Khalid Aziz Reviewed-by: Kees Cook Acked-by: Matthew

Re: [PATCH v2] Add missing attributes to EFI variable attribute print out from sysfs

2012-09-10 Thread Khalid Aziz
On Mon, 2012-09-10 at 11:35 -0700, Greg KH wrote: > On Mon, Sep 10, 2012 at 12:29:14PM -0600, Khalid Aziz wrote: > > Some of the EFI variable attributes are missing from print out from > > /sys/firmware/efi/vars/*/attributes. This patch adds those in. It also > > updates co

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-10 Thread Khalid Aziz
Please see comments inline: On Wed, 2012-10-10 at 16:51 +0900, Takao Indoh wrote: > This patch resets PCIe devices at boot time by hot reset when > "reset_devices" is specified. > > > Signed-off-by: Takao Indoh > --- > arch/x86/include/asm/pci-direct.h |1 > arch/x86/kernel/setup.c

Re: [PATCH v5 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-18 Thread Khalid Aziz
On Wed, 2012-10-17 at 15:23 +0900, Takao Indoh wrote: > This patch resets PCIe devices at boot time by hot reset when > "reset_devices" is specified. > > Signed-off-by: Takao Indoh > --- > arch/x86/include/asm/pci-direct.h |1 > arch/x86/kernel/setup.c |3 > arch/x86/pci/earl

Re: [PATCH v2 0/2] scsi: Port buslogic driver to 64 bits

2013-06-14 Thread Khalid Aziz
On Thu, 2013-05-16 at 19:44 -0600, Khalid Aziz wrote: > This patchset ports buslogic driver to 64-bit. > > Current buslogic driver is composed of two components - SCCB manager > which communicates with adapter to execute SCSI commands (contained in > FlashPoint.c), and Linux d

[PATCH RESEND v2 0/2] scsi: Port buslogic driver to 64 bits

2013-06-24 Thread Khalid Aziz
tree as of May 16, 2013. No functional changes. Khalid Aziz (2): Fix CamelCase and extra long lines in the buslogic driver. Port buslogic driver to 64-bit. drivers/scsi/BusLogic.c | 4452 - drivers/scsi/BusLogic.h | 1487 --

Re: [PATCH RESEND v2 2/2] scsi: 64-bit port of buslogic driver

2013-06-24 Thread Khalid Aziz
On 06/24/2013 03:07 PM, Dave Jones wrote: On Mon, Jun 24, 2013 at 02:26:00PM -0600, Khalid Aziz wrote: > @@ -821,7 +821,7 @@ struct blogic_ccb { > unsigned char cdblen; /* Byte 2 */ > unsigned char sense_datalen;

Re: [PATCH RESEND v2 0/2] scsi: Port buslogic driver to 64 bits

2013-06-24 Thread Khalid Aziz
On 06/24/2013 02:55 PM, James Bottomley wrote: On Mon, 2013-06-24 at 14:25 -0600, Khalid Aziz wrote: This patchset ports buslogic driver to 64-bit. OK, thought long and hard about this., I'll take it on the proviso that you're the new buslogic maintainer. The reason being th

[RFC PATCH] Fix aio performance regression for database caused by THP

2013-08-15 Thread Khalid Aziz
till a 53% improvement. It does mean there is more work to be done but I will take a 53% improvement for now. Please take a look at the following patch and let me know if it looks reasonable. Signed-off-by: Khalid Aziz --- mm/swap.c | 77 +--

Re: [RFC PATCH] Fix aio performance regression for database caused by THP

2013-08-15 Thread Khalid Aziz
On Thu, 2013-08-15 at 12:34 -0700, Andi Kleen wrote: > Khalid Aziz writes: > > > I am working with a tool that simulates oracle database I/O workload. > > This tool (orion to be specific - > > <http://docs.oracle.com/cd/E11882_01/server.112/e16638/iodesign.htm#autoId2

Re: [RFC PATCH] Fix aio performance regression for database caused by THP

2013-08-16 Thread Khalid Aziz
On 08/16/2013 03:04 AM, Kirill A. Shutemov wrote: On Thu, Aug 15, 2013 at 12:13:09PM -0600, Khalid Aziz wrote: - if (likely(page != page_head && get_page_unless_zero(page_head))) { + /* +* If this is a hugetlbfs page, it can not be split under +* us

Re: [PATCH 22/23] thp, mm: split huge page on mmap file page

2013-08-08 Thread Khalid Aziz
On Sun, 2013-08-04 at 05:17 +0300, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > We are not ready to mmap file-backed tranparent huge pages. Let's split > them on fault attempt. > > Later we'll implement mmap() properly and this code path be used for > fallback cases. > > Signed-of

[PATCH] x86, mce: Print warning if MCE handler fails to register /dev/mcelog

2013-04-09 Thread Khalid Aziz
Print a warning if machine check handler fails to register /dev/mcelog device. Signed-off-by: Khalid Aziz --- arch/x86/kernel/cpu/mcheck/mce.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index

Re: [PATCH] x86, mce: Print warning if MCE handler fails to register /dev/mcelog

2013-04-09 Thread Khalid Aziz
On 04/09/2013 12:30 PM, Luck, Tony wrote: - misc_register(&mce_chrdev_device); + if (misc_register(&mce_chrdev_device) != 0) + pr_warn("Failed to register mcelog device\n"); Did this actually happen to you? Or is this just "good practice" to check the return value from

[PATCH 0/2] scsi: Port buslogic driver to 64 bits

2013-05-16 Thread Khalid Aziz
nning random read/write test while verifying data. I also measured performance for current buslogic driver and buslogic driver with these patches with 32-bit and 64-bit kernel and ensured there was no degradation in performance. Khalid Aziz (2): Fix CamelCase and extra long lines in the BusLogic d

[PATCH v2 0/2] scsi: Port buslogic driver to 64 bits

2013-05-16 Thread Khalid Aziz
tree as of May 16, 2013. No functional changes. Khalid Aziz (2): Fix CamelCase and extra long lines in the buslogic driver. Port buslogic driver to 64-bit. drivers/scsi/BusLogic.c | 4452 - drivers/scsi/BusLogic.h | 1487 --

Re: [PATCH 0/3] BusLogic: Message logging neatening

2013-05-17 Thread Khalid Aziz
On Thu, 2013-05-16 at 21:58 -0700, Joe Perches wrote: > If you're going through the trouble to fix this CamelCase stuff > and make it work on 64 bit, how about a little more cleanup? Sounds good to me. Thanks, Joe. -- Khalid -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: [PATCH 1/3] BusLogic: Add __printf verification, fix fallout

2013-05-17 Thread Khalid Aziz
ertions(+), 25 deletions(-) Reviewed-by: Khalid Aziz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/3] BusLogic: Coalesce formats with multiple string fragments

2013-05-17 Thread Khalid Aziz
> 1 file changed, 33 insertions(+), 33 deletions(-) Reviewed-by: Khalid Aziz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 3/3] BusLogic: Use more conventional argument order for logging

2013-05-17 Thread Khalid Aziz
> Signed-off-by: Joe Perches > --- > drivers/scsi/BusLogic.c | 304 > > drivers/scsi/BusLogic.h | 24 ++-- > 2 files changed, 161 insertions(+), 167 deletions(-) Reviewed-by: Khalid Aziz -- To unsubscribe from this list: send the

Re: [PATCH 0/3] BusLogic: Message logging neatening

2013-05-17 Thread Khalid Aziz
On 05/17/2013 02:35 PM, Joe Perches wrote: On Fri, 2013-05-17 at 14:18 -0600, Khalid Aziz wrote: On Thu, 2013-05-16 at 21:58 -0700, Joe Perches wrote: If you're going through the trouble to fix this CamelCase stuff and make it work on 64 bit, how about a little more cleanup? Sounds go

[PATCH] Avoid unnecessary calls to sandybridge mce decoder on incompatible platform

2013-03-29 Thread Khalid Aziz
Add MCE decoder to MCE decode chain in probe routine instead of in init routine so that handler is not called unless the driver is indeed running on SandyBridge. Signed-off-by: Khalid Aziz --- drivers/edac/sb_edac.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH] x86, pci: Fix all early PCI scans to check the vendor ID first

2012-08-12 Thread Khalid Aziz
break; -- ==== Khalid Aziz khalid.a...@hp.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread Khalid Aziz
org/lkml/2012/7/13/313>. Signed-off-by: Khalid Aziz --- drivers/firmware/efivars.c | 20 drivers/firmware/google/gsmi.c |8 ++-- include/linux/efi.h| 35 --- 3 files changed, 30 insertions(+), 33 deletions(-) diff

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread Khalid Aziz
On 07/20/2012 04:10 PM, H. Peter Anvin wrote: On 07/20/2012 03:08 PM, Khalid Aziz wrote: Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer names so as to not break compatibility with current API since

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread Khalid Aziz
On 07/20/2012 04:34 PM, H. Peter Anvin wrote: On 07/20/2012 03:30 PM, Khalid Aziz wrote: This patch is based upon earlier discussion at <https://lkml.org/lkml/2012/7/13/320>. You are right that EFI specification uses exactly these long names for the constants, but does that mean kerne

Re: [PATCH] ACPI: Add ACPI CPU hot-remove support

2012-07-10 Thread Khalid Aziz
der what firmware would do if kernel calls eject method on a core when running on the native host platform. If firmware behavior is not well defined in this case, there might be some risk associated with calling eject method on core. Makes sense? -- Khalid Aziz -- To unsubscribe from this li

Re: Fwd: UEFI Secure boot using qemu-kvm

2012-07-12 Thread Khalid Aziz
his point I could fire up qemu and run the signed and unsigned versions of hello world (HelloWorld-kek-signed.efi and HelloWorld.efi) with secure boot disabled and enabled after importing PK and KEK as Joey showed in his instructions. Hope this helps someone who is trying this on Ubuntu. Now on to

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-11 Thread Khalid Aziz
On Thu, 2012-10-11 at 15:16 +0900, Takao Indoh wrote: > (2012/10/11 5:08), Khalid Aziz wrote: . > >> +static void __init do_reset(u8 bus, u8 slot, u8 func) > >> +{ > >> + u16 ctrl; > >> + > >> + printk(KERN_INFO "pci :%02x:%02x.%d

Re: [PATCH 2/5] efivarfs: efivarfs_create() ensure we drop our reference on inode on error

2012-10-12 Thread Khalid Aziz
On Thu, 2012-10-11 at 11:32 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft > --- > drivers/firmware/efivars.c | 14 +- > 1 file changed, 9 insertions(+), 5 deletions(-) > > diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c > index ae50d2f..0bbf742 1

Re: [PATCH v6 1/2] ACPI: Add early console framework for DBGP/DBG2.

2012-10-12 Thread Khalid Aziz
On Wed, 2012-10-10 at 18:44 +0100, Matthew Garrett wrote: > On Wed, Oct 10, 2012 at 11:23:01AM +0800, Lv Zheng wrote: > > Microsoft Debug Port Table (DBGP or DBG2) is used by the Windows SoC > > platforms to describe their debugging facilities. > > DBGP: http://msdn.microsoft.com/en-us/windows/hard

Re: [PATCH 2/5] efivarfs: efivarfs_create() ensure we drop our reference on inode on error

2012-10-12 Thread Khalid Aziz
On Fri, 2012-10-12 at 20:21 +0100, Matt Fleming wrote: > This is a common idiom used throughout the kernel to simply error paths. > As you noted, calling kfree(NULL) is harmless and there's certainly no > need to worry about the overhead of calling kfree() without doing any > freeing since the erro

Re: [PATCH v4 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-15 Thread Khalid Aziz
|3 > arch/x86/pci/early.c | 344 > include/linux/pci.h |2 > init/main.c |4 > 5 files changed, 352 insertions(+), 2 deletions(-) > Looks good. Reviewed-by: Khalid Aziz -- Khal

[PATCH] MAINTAINERS: Update email address for Khalid Aziz

2012-10-01 Thread Khalid Aziz
Signed-off-by: Khalid Aziz Cc: Khalid Aziz --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9a6c4da..c29a73d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5226,7 +5226,7 @@ F:include/linux/i2c-algo-pca.h F

Re: [PATCH] ACPI: Add ACPI CPU hot-remove support

2012-07-06 Thread Khalid Aziz
Khalid Aziz Unix Systems Lab (970)898-9214Hewlett-Packard khalid.a...@hp.com Fort Collins, CO -- To unsubscribe from this list: send the

Re: a quest for a better scheduler

2001-04-04 Thread Khalid Aziz
ins themselves for their individual cases. -- Khalid ==== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]

Re: a quest for a better scheduler

2001-04-04 Thread Khalid Aziz
The two schedulers should be separate IMO and one of them should be selected at compile time. -- Khalid ======== Khalid Aziz Linux Development Laboratory (970)898-9214

[PATCH] Incorrect command size for group 4 SCSI commands

2001-04-18 Thread Khalid Aziz
SCSI subsystem defines the size of group 4 SCSI commands as 12. This is incorrect. SCSI-3 specs define group 4 command size as 16. Following patch fixes this. Thanks, Khalid Khalid Aziz Linux

[PATCH] SCSI command bytes are copied twice

2001-04-18 Thread Khalid Aziz
invoked frequently enough to justify not incurring the overhead of a redundant copy. Following patch should fix this. Thanks, Khalid Khalid Aziz Linux Development Laboratory (970)898-9214

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-02-27 Thread Khalid Aziz
caused this error only when compiled with debug turned on. Maybe st driver should always print the command that results in a check condition as long as the command is not a Test Unit Ready or Mode Sense. ==== Khalid Aziz

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-02-27 Thread Khalid Aziz
dev, result, SRpnt->sr_cmnd[0], SRpnt->sr_cmnd[1], SRpnt->sr_cmnd[2], SRpnt->sr_cmnd[3], SRpnt->sr_cmnd[4], SRpnt->sr_cmnd[5], SRpnt->sr_bufflen); if (driver_byte(result) & DRIVER_SENSE)

[PATCH] enhancement in drivers/scsi/sym53c8xx.c

2001-02-27 Thread Khalid Aziz
re this feature for boards known to use a ======== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]

[PATCH] enhancement in drivers/scsi/ncr53c8xx.c

2001-02-27 Thread Khalid Aziz
re this feature for boards known to use a ======== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-02-27 Thread Khalid Aziz
fer: 1 > Feb 27 14:46:40 intech9 kernel: st0: Block size: 512, buffer size: 32768 (64 blocks). > > Any advice appreciated! Khalid Aziz Linux Development Laboratory (970)898-9214

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-02-27 Thread Khalid Aziz
ape alert". Can you give me more info. A private email might be more approrpiate. -- Khalid ======== Khalid Aziz Linux Development Laboratory (970)898-9214

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-03-01 Thread Khalid Aziz
u say last 32K block may not have been flushed to the drive, I am assuming you mean not being flushed from the host to the tape drive. This is possible but there may be something else going on. I would suggest setting no block limits on the drive using "mt stsetoptions no-blklimits". See if

Re: Inadequate documentation: sockets

2001-03-06 Thread Khalid Aziz
recommend "UNIX Network Programming, Volume 1: Networking APIs - Sockets and XTI" by W. Richard Stevens. -- Khalid ======== Khalid Aziz Linux Development Laboratory (970)898-9214

Re: USB-keyboard not recognize after connection

2001-03-06 Thread Khalid Aziz
you switched from mac to PC. ======== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]Fort Collins, CO - To unsubscribe fr

Re: 2.2.18 IDE tape problem, with ide-scsi

2001-03-12 Thread Khalid Aziz
= > > What is the 11,3? Where can I find these codes listed? Why is the > drive having trouble finding the end of the tape? I'll be testing > more tapes soon, but this definitely happens with at least several. > The mt command return

Re: scsi_scan problem.

2001-03-16 Thread Khalid Aziz
Status" commnad should go to LUN 1 but cdrom_read_mech_status() does not set the LUN field in cgc.cmd[1] to any value other than 0. Could this be the reason for ILLEGAL REQUEST? -- Khalid ==== Khal

Re: rate limiting error messages

2001-03-29 Thread Khalid Aziz
MP-safe, you may need to rewrite it somewhat. -- Khalid ==== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Khalid Aziz
: sns = 70 b > ASC=47 ASCQ= 0 You are seeing lots of parity errors (ASC=47 ASCQ=0). I would suggest checking cabling and terminator. -- Khalid Khalid Aziz Linux Deve

Re: pset patch??

2001-06-07 Thread Khalid Aziz
gt; Mark Hounschell > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Khalid Aziz
> Nico > I would suggest checking "Term Enable" jumper on the disk just to be sure. This jumper needs to be on for most (I would think all) drives to terminate the bus. -- Khalid ======== Khalid Aziz

Re: scsi disk defect or kernel driver defect ?

2001-06-07 Thread Khalid Aziz
nel and most likely are (from left to right) - TP, 2, 1, 0, NC. TP is the pair of Term Power Enable pins. Place a jumper over the leftmost two pins to enable termination on the drive and try again. -- Khalid ======== Khalid Aziz

Re: 2.6.13-rc3-mm3

2005-07-29 Thread Khalid Aziz
rs.patch > -v9fs-vfs-inode-operations-resend-take-2.patch > > Folded into v9fs-vfs-inode-operations.patch > > -v9fs-vfs-superblock-operations-and-glue-fix-fsf-postal-address-in-source-headers.patch > -v9fs-vfs-superblock-operations-and-glue-resend-take-2.patch > -v9

Re: 2.6.13-rc3-mm3

2005-07-30 Thread Khalid Aziz
On Fri, 2005-07-29 at 16:17 -0700, Andrew Morton wrote: > Khalid Aziz <[EMAIL PROTECTED]> wrote: > > > > Serial console is broken on ia64 on an HP rx2600 machine on > > 2.6.13-rc3-mm3. When kernel is booted up with "console=ttyS,...", no > > output eve

Re: SMP module compilation on UP?

2001-06-13 Thread Khalid Aziz
ill be able to build SMP modules but not load them. -- Khalid ==== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]

Re: The latest Microsoft FUD. This time from BillG, himself.

2001-06-20 Thread Khalid Aziz
e the only ones with slides done on Linux. Pretty sad! ======== Khalid Aziz Linux Development Laboratory (970)898-9214Hewlett-Packard [EMAIL PROTECTED]

Re: [PATCH v7 2/9] mm, swap: Add infrastructure for saving page metadata on swap

2017-08-16 Thread Khalid Aziz
On 08/15/2017 10:53 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 9 Aug 2017 15:25:55 -0600 @@ -1399,6 +1399,12 @@ static bool try_to_unmap_one(struct page *page, struct vm_area_struct *vma, (flags & TTU_MIGRA

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-16 Thread Khalid Aziz
On 08/15/2017 10:58 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 9 Aug 2017 15:26:02 -0600 +void adi_restore_tags(struct mm_struct *mm, struct vm_area_struct *vma, + unsigned long addr, pte_t pte) +{ ... + tag = tag_start(addr, tag_desc); + paddr

Re: linux-next: Tree for Nov 7

2017-11-13 Thread Khalid Aziz
On 11/13/2017 09:06 AM, Michal Hocko wrote: OK, so this one should take care of the backward compatibility while still not touching the arch code --- commit 39ff9bf8597e79a032da0954aea1f0d77d137765 Author: Michal Hocko Date: Mon Nov 13 17:06:24 2017 +0100 mm: introduce MAP_FIXED_SAFE

Re: linux-next: Tree for Nov 7

2017-11-14 Thread Khalid Aziz
On Tue, 2017-11-14 at 10:04 +0100, Michal Hocko wrote: > If there is a general consensus that this is the preferred way to go, > I > will post the patch as an RFC to linux-api > > [1] http://lkml.kernel.org/r/20171113160637.jhekbdyfpccme3be@dhcp22.s > use.cz I prefer the new flag. It is cleaner a

Re: [PATCH] mm, sparse: do not swamp log with huge vmemmap allocation failures

2017-11-06 Thread Khalid Aziz
On Mon, 2017-11-06 at 10:22 +0100, Michal Hocko wrote: > From: Michal Hocko > > While doing a memory hotplug tests under a heavy memory pressure we > have > noticed too many page allocation failures when allocating vmemmap > memmap > backed by huge page > . deleted . > + > +

Re: [PATCH] mm, sparse: do not swamp log with huge vmemmap allocation failures

2017-11-06 Thread Khalid Aziz
On 11/06/2017 11:18 AM, Michal Hocko wrote: If we want to make it more sophisticated I would expect some numbers to back such a change. That is reasonable enough. -- Khalid

Re: [PATCH v7 02/60] sparc/PCI: Use correct bus address to resource offset

2015-10-20 Thread Khalid Aziz
On 10/20/2015 02:34 PM, Yinghai Lu wrote: On Tue, Oct 20, 2015 at 1:07 PM, Khalid Aziz wrote: I don't want to argue about pci_resource_to_user() right now, so I guess you can just panic if the mem64 offset is different from the mem32 offset. But you should at least add a comment abou

Re: [PATCH v7 02/60] sparc/PCI: Use correct bus address to resource offset

2015-10-20 Thread Khalid Aziz
On 10/20/2015 02:34 PM, Yinghai Lu wrote: On Tue, Oct 20, 2015 at 1:07 PM, Khalid Aziz wrote: I don't want to argue about pci_resource_to_user() right now, so I guess you can just panic if the mem64 offset is different from the mem32 offset. But you should at least add a comment abou

Re: [PATCH v7 02/60] sparc/PCI: Use correct bus address to resource offset

2015-10-20 Thread Khalid Aziz
On 10/20/2015 01:54 PM, Bjorn Helgaas wrote: On Thu, Oct 08, 2015 at 02:38:21PM -0700, Yinghai Lu wrote: After we add 64bit mmio parsing, we got some "no compatible bridge window" warning on anther new model that support 64bit resource. It turns out that we can not use mem_space.start as 64bit

Re: [PATCH v6 01/53] sparc/PCI: Add mem64 resource parsing for root bus

2015-10-02 Thread Khalid Aziz
On Wed, 2015-09-30 at 22:52 -0700, Yinghai Lu wrote: > Found "no compatible bridge window" warning in boot log from T5-8. > > pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4afff pref]: no > compatible bridge window > > That resource is above 4G, but does not get offset correctly as

Re: [PATCH v6 01/53] sparc/PCI: Add mem64 resource parsing for root bus

2015-10-02 Thread Khalid Aziz
On 10/02/2015 04:05 PM, Yinghai Lu wrote: On Fri, Oct 2, 2015 at 1:00 PM, Khalid Aziz wrote: On Wed, 2015-09-30 at 22:52 -0700, Yinghai Lu wrote: Found "no compatible bridge window" warning in boot log from T5-8. pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4aff

[PATCH v11 05/10] sparc64: Add handler for "Memory Corruption Detected" trap

2018-02-01 Thread Khalid Aziz
M7 and newer processors add a "Memory corruption Detected" trap with the addition of ADI feature. This trap is vectored into kernel by HV through resumable error trap with error attribute for the resumable error set to 0x0800. Signed-off-by: Khalid Aziz Cc: Khalid Aziz Reviewed-b

[PATCH v11 01/10] signals, sparc: Add signal codes for ADI violations

2018-02-01 Thread Khalid Aziz
access memory using wrong ADI tag and caused a precise exception. Signed-off-by: Khalid Aziz Cc: Khalid Aziz Reviewed-by: Anthony Yznaga --- v10: - Updated si_code definitions to match other definitions arch/x86/kernel/signal_compat.c| 2 +- include/uapi/asm-generic/siginfo.h | 5

[PATCH v11 00/10] Application Data Integrity feature introduced by SPARC M7

2018-02-01 Thread Khalid Aziz
een two nodes every few seconds over an hour long run. Verified page migration through /proc//numa_maps. - Tested COW support using test that forks children that read from ADI enabled pages shared with parent and other children and write to them as well forcing COW. - Khalid Aziz (

[PATCH v11 03/10] sparc64: Add support for ADI register fields, ASIs and traps

2018-02-01 Thread Khalid Aziz
SPARC M7 processor adds new control register fields, ASIs and a new trap to support the ADI (Application Data Integrity) feature. This patch adds definitions for these register fields, ASIs and a handler for the new precise memory corruption detected trap. Signed-off-by: Khalid Aziz Cc: Khalid

[PATCH v11 06/10] sparc64: Add auxiliary vectors to report platform ADI properties

2018-02-01 Thread Khalid Aziz
-by: Khalid Aziz Cc: Khalid Aziz Reviewed-by: Anthony Yznaga --- v11: - Rebased to 4.15 v10: - Updated copyright v8: - Added AT_ADI_UEONADI back v7: - new patch split off from patch 4/4 in v6 arch/sparc/include/asm/adi.h | 6 +++ arch/sparc/include/asm

[PATCH v11 07/10] mm: Add address parameter to arch_validate_prot()

2018-02-01 Thread Khalid Aziz
addresses mapped on to physical RAM but not on PFN mapped pages or addresses mapped on to devices. This patch adds address to the parameters being passed to arch_validate_prot() so protection bits can be validated in the relevant context. Signed-off-by: Khalid Aziz Cc: Khalid Aziz Reviewed-by

[PATCH v11 02/10] mm, swap: Add infrastructure for saving page metadata on swap

2018-02-01 Thread Khalid Aziz
() to be called when a page is swapped in, and arch_unmap_one() to be called when a page is being unmapped for swap out. These architecture hooks allow page metadata to be saved if the architecture supports it. Signed-off-by: Khalid Aziz Cc: Khalid Aziz Acked-by: Jerome Marchand Reviewed-by

[PATCH v11 04/10] sparc64: Add HV fault type handlers for ADI related faults

2018-02-01 Thread Khalid Aziz
ADI (Application Data Integrity) feature on M7 and newer processors adds new fault types for hypervisor - Invalid ASI and MCD disabled. This patch expands data access exception handler to handle these faults. Signed-off-by: Khalid Aziz Cc: Khalid Aziz Reviewed-by: Anthony Yznaga --- v7

[PATCH v11 10/10] sparc64: Add support for ADI (Application Data Integrity)

2018-02-01 Thread Khalid Aziz
for any task. A task must explicitly enable ADI on a memory range and set version tag for ADI to be effective for the task. Signed-off-by: Khalid Aziz Cc: Khalid Aziz Reviewed-by: Anthony Yznaga --- v10: - Added code to return from kernel path to set PSTATE.mcde if kernel

  1   2   3   4   5   >