[PATCH v2] irqchip/xilinx: Expose Kconfig option for Zynq/ZynqMP

2021-04-19 Thread Robert Hancock
Previously the XILINX_INTC config option was hidden and only auto-selected on the MicroBlaze platform. However, this IP can also be used on the Zynq and ZynqMP platforms as a secondary cascaded controller. Allow this option to be user-enabled on those platforms. Signed-off-by: Robert Hancock

Re: [PATCH] irqchip/xilinx: Expose Kconfig option

2021-04-19 Thread Robert Hancock
On Mon, 2021-04-19 at 13:23 +0200, Michal Simek wrote: > Hi Marc and Robert, +Anirudha > > On 4/16/21 8:14 PM, Robert Hancock wrote: > > On Fri, 2021-04-16 at 18:53 +0100, Marc Zyngier wrote: > > > On Fri, 16 Apr 2021 17:05:49 +0100, > > > Robert Hancock wrote:

Re: [PATCH] irqchip/xilinx: Expose Kconfig option

2021-04-16 Thread Robert Hancock
On Fri, 2021-04-16 at 18:53 +0100, Marc Zyngier wrote: > On Fri, 16 Apr 2021 17:05:49 +0100, > Robert Hancock wrote: > > On Fri, 2021-04-16 at 14:41 +0100, Marc Zyngier wrote: > > > On Fri, 16 Apr 2021 00:32:50 +0100, > > > Robert Hancock wrote: > > > >

Re: [PATCH] irqchip/xilinx: Expose Kconfig option

2021-04-16 Thread Robert Hancock
On Fri, 2021-04-16 at 14:41 +0100, Marc Zyngier wrote: > On Fri, 16 Apr 2021 00:32:50 +0100, > Robert Hancock wrote: > > Previously the XILINX_INTC config option was hidden and only > > auto-selected on the MicroBlaze platform. However, this IP can also be > > used on oth

[PATCH] irqchip/xilinx: Expose Kconfig option

2021-04-15 Thread Robert Hancock
Previously the XILINX_INTC config option was hidden and only auto-selected on the MicroBlaze platform. However, this IP can also be used on other platforms. Allow this option to be user-enabled. Signed-off-by: Robert Hancock --- drivers/irqchip/Kconfig | 6 +- 1 file changed, 5 insertions

Re: [PATCH V5 3/5] gpio: gpio-xilinx: Add interrupt support

2021-01-29 Thread Robert Hancock
tinues to support > devices which have no interrupt provided. > Depends on OF_GPIO framework for of_xlate function to translate > gpiospec to the GPIO number and flags. > > Signed-off-by: Robert Hancock > Signed-off-by: Shubhrajyoti Datta > Signed-off-by: Srinivas Neeli >

Re: [LINUX PATCH V3 5/9] gpio: gpio-xilinx: Add interrupt support

2020-11-16 Thread Robert Hancock
hich have no interrupt provided. > > Signed-off-by: Robert Hancock > Signed-off-by: Shubhrajyoti Datta > Signed-off-by: Srinivas Neeli > --- > Chnages in V3: > -Created separate patch for Clock changes and runtime resume > and suspend. > -Updated minor review comments.

Re: [PATCH V2 2/3] gpio: xilinx: Add interrupt support

2020-07-24 Thread Robert Hancock
onal variant if you print an error anyway? + } else { ... + chip->gc.irq.parents = (unsigned int *)&chip->irq; + chip->gc.irq.num_parents = 1; Current pattern is to use devm_kcalloc() for it (Linus has plans to simplify this in the future and thi

Re: 5.7 regression: Lots of PCIe AER errors and suspend failure without pcie=noaer

2020-07-24 Thread Robert Hancock
On Fri, Jul 24, 2020 at 8:32 AM Kai-Heng Feng wrote: > > Hi Robert, > > > Unfortunately it appears that this ASMedia PCIe-PCI bridge: > > > > 02:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe > > to PCI Bridge [1b21:1080] (rev 04) > > > > doesn't cope with ASPM properly and caus

Re: [PATCH] PCI: Disallow ASPM on ASMedia ASM1083/1085 PCIe-PCI bridge

2020-07-22 Thread Robert Hancock
On Wed, Jul 22, 2020 at 7:04 PM Bjorn Helgaas wrote: > > On Wed, Jul 22, 2020 at 06:46:06PM -0600, Robert Hancock wrote: > > On Wed, Jul 22, 2020 at 11:40 AM Bjorn Helgaas wrote: > > > On Tue, Jul 21, 2020 at 08:18:03PM -0600, Robert Hancock wrote: > > > > Rece

Re: [PATCH] PCI: Disallow ASPM on ASMedia ASM1083/1085 PCIe-PCI bridge

2020-07-22 Thread Robert Hancock
On Wed, Jul 22, 2020 at 11:40 AM Bjorn Helgaas wrote: > > [+cc Puranjay] > > On Tue, Jul 21, 2020 at 08:18:03PM -0600, Robert Hancock wrote: > > Recently ASPM handling was changed to no longer disable ASPM on all > > PCIe to PCI bridges. Unfortunately these ASMedia PCIe t

[PATCH] PCI: Disallow ASPM on ASMedia ASM1083/1085 PCIe-PCI bridge

2020-07-21 Thread Robert Hancock
oding the kernel log, this also causes the machine to wake up immediately after suspend is initiated. Fixes: 66ff14e59e8a ("PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges") Cc: sta...@vger.kernel.org Signed-off-by: Robert Hancock --- drivers/pci/quirks.c | 13 +

Re: 5.7 regression: Lots of PCIe AER errors and suspend failure without pcie=noaer

2020-07-21 Thread Robert Hancock
On Fri, Jul 10, 2020 at 6:28 PM Robert Hancock wrote: > > On Fri, Jul 10, 2020 at 6:23 PM Robert Hancock wrote: > > > > Noticed a problem on my desktop with an Asus PRIME H270-PRO > > motherboard after Fedora 32 upgraded to the 5.7 kernel (now on 5.7.8): > > p

Re: 5.7 regression: Lots of PCIe AER errors and suspend failure without pcie=noaer

2020-07-10 Thread Robert Hancock
On Fri, Jul 10, 2020 at 6:23 PM Robert Hancock wrote: > > Noticed a problem on my desktop with an Asus PRIME H270-PRO > motherboard after Fedora 32 upgraded to the 5.7 kernel (now on 5.7.8): > periodically there are PCIe AER errors getting spewed in dmesg that > weren't happen

Re: Xilinx axienet 1000BaseX support

2020-04-28 Thread Robert Hancock
On 2020-04-28 5:01 p.m., Russell King - ARM Linux admin wrote: On Tue, Apr 28, 2020 at 03:59:45PM -0600, Robert Hancock wrote: On 2020-04-22 1:51 a.m., Russell King - ARM Linux admin wrote: On Tue, Apr 21, 2020 at 07:45:47PM -0600, Robert Hancock wrote: Hi Andre/Russell, Just wondering where

Re: Xilinx axienet 1000BaseX support

2020-04-28 Thread Robert Hancock
On 2020-04-22 1:51 a.m., Russell King - ARM Linux admin wrote: On Tue, Apr 21, 2020 at 07:45:47PM -0600, Robert Hancock wrote: Hi Andre/Russell, Just wondering where things got to with the changes for SGMII on Xilinx axienet that you were discussing (below)? I am looking into our Xilinx setup

Re: [PATCH] net: axienet: fix a potential double free in axienet_probe()

2019-07-08 Thread Robert Hancock
problem by removing the unnecessary of_node_put(). > > Fixes: 28ef9ebdb64c ("net: axienet: make use of axistream-connected attribute > optional") > Signed-off-by: Wen Yang > Cc: Anirudha Sarangi > Cc: John Linn > Cc: "David S. Miller" > Cc: Michal

Re: iMX6 5.2-rc3 boot failure due to "PCI: imx6: Allow asynchronous probing"

2019-06-11 Thread Robert Hancock
On 2019-06-11 2:40 p.m., Fabio Estevam wrote: > Hi Robert, > > On Tue, Jun 11, 2019 at 4:02 PM Robert Hancock wrote: > >>> [ 13.193578] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 >>> ranges: >>> [ 13.200635] imx6q-pcie 1ffc000.pcie:IO 0

Re: iMX6 5.2-rc3 boot failure due to "PCI: imx6: Allow asynchronous probing"

2019-06-11 Thread Robert Hancock
Adding linux-pci. One thing that may be slightly unusual about our setup is that we are using CONFIG_PREEMPT=y, which may be allowing more concurrency to come into play. On 2019-06-07 6:28 p.m., Robert Hancock wrote: > I am seeing a boot failure on our iMX6D-based embedded platform runn

iMX6 5.2-rc3 boot failure due to "PCI: imx6: Allow asynchronous probing"

2019-06-07 Thread Robert Hancock
[ 41.049730] 1fa0: [ 41.057926] 1fc0: [ 41.066123] 1fe0: 0013 [ 41.072758] Rebooting in 30 seconds.. -- Robert Hancock Senior Sof

Re: [PATCH 1/2] mfd: core: Support multiple OF child devices of the same type

2019-06-06 Thread Robert Hancock
clocks = <&axi_clk>; clock-frequency = <10>; interrupts = <8>; #size-cells = <0>; #address-cells = <1>; }; }; }; }; > >> Ideally the IO memory resource ent

Re: [PATCH 1/2] mfd: core: Support multiple OF child devices of the same type

2019-06-05 Thread Robert Hancock
= 0xdffff, .name = "xi2c2_regs", .flags = IORESOURCE_MEM, .desc = IORES_DESC_NONE }, }; Ideally the IO memory resource entries would be picked up and mapped through the device tree as well, as they are with the interrupts, but I haven't yet found the device tree magic that would allow that to happen yet, if it's possible. The setup we have has a number of peripherals on an AXI bus which are behind a PCIe to AXI bridge, and we're using mfd to instantiate each of those AXI devices under the PCIe device. -- Robert Hancock Senior Software Developer SED Systems, a division of Calian Ltd. Email: hanc...@sedsystems.ca

Re: [PATCH 1/2] mfd: core: Support multiple OF child devices of the same type

2019-06-05 Thread Robert Hancock
On 2019-06-05 12:31 a.m., Lee Jones wrote: > On Tue, 04 Jun 2019, Robert Hancock wrote: > >> Previously the MFD core supported assigning OF nodes to created MFD >> devices, but relied solely on matching the of_compatible string. This >> would result in devices being potent

[PATCH 0/2] MFD core updates for device tree binding support

2019-06-04 Thread Robert Hancock
Fixes for the device tree binding support in MFD core. Robert Hancock (2): mfd: core: Support multiple OF child devices of the same type mfd: core: Set fwnode for created devices drivers/mfd/mfd-core.c | 6 +- include/linux/mfd/core.h | 3 +++ 2 files changed, 8 insertions(+), 1

[PATCH 1/2] mfd: core: Support multiple OF child devices of the same type

2019-06-04 Thread Robert Hancock
. Add support for matching the full name of the node in the MFD cell definition, so that we can match against a specific instance of a device. If this is not specified, we match just based on the compatible string, as before. Signed-off-by: Robert Hancock --- drivers/mfd/mfd-core.c | 5

[PATCH 2/2] mfd: core: Set fwnode for created devices

2019-06-04 Thread Robert Hancock
The logic for setting the of_node on devices created by mfd did not set the fwnode pointer to match, which caused fwnode-based APIs to malfunction on these devices since the fwnode pointer was null. Fix this. Signed-off-by: Robert Hancock --- drivers/mfd/mfd-core.c | 1 + 1 file changed, 1

Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-06 Thread Robert Hancock
On 2018-12-06 10:10 a.m., Robert Hancock wrote: > On 2018-12-06 9:50 a.m., Lucas Stach wrote: >> Am Donnerstag, den 06.12.2018, 09:45 -0600 schrieb Robert Hancock: >>> On 2018-12-06 2:10 a.m., Baruch Siach wrote: >>>> Hi Andrey, >>>> >>>> Add

Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-06 Thread Robert Hancock
On 2018-12-06 9:50 a.m., Lucas Stach wrote: > Am Donnerstag, den 06.12.2018, 09:45 -0600 schrieb Robert Hancock: >> On 2018-12-06 2:10 a.m., Baruch Siach wrote: >>> Hi Andrey, >>> >>> Adding Robert Hancock who reported[1] on a PCIe MSI issue with

Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-06 Thread Robert Hancock
On 2018-12-06 2:10 a.m., Baruch Siach wrote: > Hi Andrey, > > Adding Robert Hancock who reported[1] on a PCIe MSI issue with i.MX6. > > Andrey Smirnov writes: > >> Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n >> produces a system where b

Re: linux: sata_nv: adma support

2015-08-25 Thread Robert Hancock
On Tue, Aug 25, 2015 at 6:58 AM, Pali Rohár wrote: > On Tuesday 25 August 2015 07:20:05 Mark Lord wrote: >> On 15-08-01 09:45 PM, Robert Hancock wrote: >> >On Sat, Aug 1, 2015 at 2:09 PM, Pali Rohár wrote: >> >>On Thursday 25 December 2014 07:22:13 Robert Hanco

Re: linux: sata_nv: adma support

2015-08-02 Thread Robert Hancock
On Sun, Aug 2, 2015 at 3:08 AM, Pali Rohár wrote: > On Sunday 02 August 2015 03:45:32 Robert Hancock wrote: >> On Sat, Aug 1, 2015 at 2:09 PM, Pali Rohár >> wrote: >> > On Thursday 25 December 2014 07:22:13 Robert Hancock wrote: >> >> On Tue,

Re: linux: sata_nv: adma support

2015-08-01 Thread Robert Hancock
On Sat, Aug 1, 2015 at 2:09 PM, Pali Rohár wrote: > On Thursday 25 December 2014 07:22:13 Robert Hancock wrote: >> On Tue, Dec 23, 2014 at 1:51 PM, Pali Rohár >> wrote: >> > Hello, >> > >> > I have nvidia nforce4 motherboard with nvidia sata control

Re: 3.18 regression: Error while assigning device slot ID, USB3 devices not detected

2015-01-19 Thread Robert Hancock
wrote: >>>>> On Sun, Jan 18, 2015 at 1:25 AM, Greg KH >>>>> wrote: >>>>>> On Sun, Jan 18, 2015 at 12:08:18AM -0600, Robert Hancock wrote: >>>>>>> I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H >

3.18 regression: Error while assigning device slot ID, USB3 devices not detected

2015-01-17 Thread Robert Hancock
I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them: [0.560838] xhci_hcd :00:14.

Re: [Bug] 3.16 fwdownload failure on Marvell 88SE9125 sata controller

2014-09-09 Thread Robert Hancock
On 01/09/14 02:22 AM, Ming Lei wrote: Hi Guys, When we use hdparm to download firmware on system with Marvell 88SE9125 SATA controller, it returns failure always and it has been observed in several systems: #hdparm --fwdownload-mode7 fw.bin --yes-i-kno-what-i-am-doing --please-destroy-my-drive

Re: OT: Open letter to the Linux World

2014-08-13 Thread Robert Hancock
On 12/08/14 01:38 PM, Christopher Barry wrote: What is intelligence? Not exactly the spook kind, but rather what is the definition of intelligence in humans? This is pretty good: http://en.wikipedia.org/wiki/Intelligence#Definitions By most accounts, the self-appointed and arguably too influen

Re: Bad DMA from Marvell 9230

2014-04-04 Thread Robert Hancock
On 27/03/14 09:19 AM, Tejun Heo wrote: On Thu, Mar 27, 2014 at 05:57:37PM +1100, Benjamin Herrenschmidt wrote: I've contacted Marvell, but I was wondering if anybody here had already experienced something similar or has an idea of what else the chip might be doing wrong so we can try to find a w

Re: Bug 71331 - mlock yields processor to lower priority process

2014-03-26 Thread Robert Hancock
On 21/03/14 08:50 AM, jimmie.da...@l-3com.com wrote:> > > From: Mike Galbraith [umgwanakikb...@gmail.com] > Sent: Friday, March 21, 2014 9:41 AM > To: Davis, Bud @ SSG - Link > Cc: oneu...@suse.de; artem_fetis...@epam.com; pet...@infradead.org; kosaki.moto

Re: 15995MB available under Linux but 16329MB available under Win 7

2014-03-21 Thread Robert Hancock
On 21/03/14 10:35 PM, Branimir Maksimovic wrote: This really puzzles me. bmaxa@maxa:~$ lspci -v -s 01:00.0 01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1) (prog-if 00 [VGA controller]) Subsystem: CardExpert Technology Device 0801 Flags: bus mas

Re: xHCI regression in stable 3.13.5 with USB3 card reader (Bisected)

2014-03-05 Thread Robert Hancock
On 05/03/14 11:17 PM, Robert Hancock wrote: I have a USB 3.0 multi-card reader device: Bus 004 Device 002: ID 05e3:0743 Genesys Logic, Inc. which seems to work fine in 3.13.4 (Fedora version kernel-3.13.4-200 specifically) but fails in 3.13.5 (specifically kernel-3.13.5-202). Below is what I

xHCI regression in stable 3.13.5 with USB3 card reader

2014-03-05 Thread Robert Hancock
I have a USB 3.0 multi-card reader device: Bus 004 Device 002: ID 05e3:0743 Genesys Logic, Inc. which seems to work fine in 3.13.4 (Fedora version kernel-3.13.4-200 specifically) but fails in 3.13.5 (specifically kernel-3.13.5-202). Below is what I get in dmesg. Essentially there's a bunch of

Problem with hibernate partitions and encrypted volumes

2014-02-24 Thread Robert Hancock
A while ago I reported this Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=981841 and thought I would check on the kernel side about what the best way to handle the problem was. Essentially the problem relates to the way in which the kernel stores the device that it uses to resume a

Re: [BUGREPORT] Linux USB 3.0

2014-02-09 Thread Robert Hancock
On 08/02/14 03:00 AM, Markus Rechberger wrote: On Tue, Feb 4, 2014 at 10:31 AM, David Laight wrote: From: Markus Rechberger Dec 27 23:23:50 solist kernel: [ 36.118245] xhci_hcd :00:14.0: ERROR Transfer event TRB DMA ptr These messages might be harmless. The 3.0 kernel contains a fix

Re: 3.12-rc5 and overwritten partition table - by powertop?

2014-01-20 Thread Robert Hancock
On 10/29/2013 04:32 PM, John Twideldum wrote: The first ~170kb of /dev/sda got blown away with what seems to be a logging output by Powertop, when I was playing with the tuneables. So did you log the output to some file? I'm just trying to understand how it could get onto your disk in the firs

Re: [PATCH V2] ACPI/Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-14 Thread Robert Hancock
On 01/14/2014 03:37 PM, Rafael J. Wysocki wrote: On Tuesday, January 14, 2014 04:06:01 PM Matthew Garrett wrote: On Mon, Jan 06, 2014 at 11:25:53PM +0100, Rafael J. Wysocki wrote: Queued up as a fix for 3.13 (I fixed up the indentation). Ah, sorry, I missed this chunk of the thread. If the s

Re: tg3 and sd card reader at acer aspire

2013-12-24 Thread Robert Hancock
On 12/24/2013 11:52 AM, Bjorn Helgaas wrote: [+cc linux-pci because I think this is related to PCI ASPM] I'm afraid nobody wants to touch ASPM because it's such a mess, but I hope somebody will step up and investigate this. So apparently this machine got broken when we changed the behavior for

Re: [PATCH v2 6/8] PCI: acpiphp: workaround for Thunderbolt on Acer Aspire S5

2013-07-18 Thread Robert Hancock
On 07/03/2013 03:40 PM, Rafael J. Wysocki wrote: On Wednesday, July 03, 2013 05:04:53 PM Mika Westerberg wrote: From: "Kirill A. Shutemov" Correct ACPI PCI hotplug imeplementation should have _RMV method in a PCI slot (device under pci bridge). In Acer Aspire S5 case we have it deeper in hiera

Re: /sys/module/pcie_aspm/parameters/policy not writable?

2013-07-09 Thread Robert Hancock
On 07/09/2013 03:49 AM, Pavel Machek wrote: On Mon 2013-07-08 21:13:21, Greg KH wrote: On Tue, Jul 09, 2013 at 03:26:11AM +0200, Pavel Machek wrote: Hi! My thinkpad has rather high ping latencies... and perhaps it is due to PCIE ASPM. Why would that be the problem? The odds that the PCIE bu

Suspend-to-disk issue with identifying swap partition

2013-07-09 Thread Robert Hancock
I recently ran into a problem with suspend to disk on Fedora 19, which I reported here: https://bugzilla.redhat.com/show_bug.cgi?id=981841 In this case swap and /home are encrypted volumes. Essentially (from what I understand, correct me if I'm wrong) what happens is that when dracut boots up

KVM VM shutdown triggers BUG from network bridge code in 3.9.9

2013-07-04 Thread Robert Hancock
I've run into a problem after updating to Fedora 19 where if I shut down a Windows 7 KVM virtual machine, the machine hits a kernel panic. There are a few reports of this on 3.9.8 and 3.9.9 kernels here: https://bugzilla.redhat.com/show_bug.cgi?id=981437 The panic is "kernel BUG at kernel/time

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-05-07 Thread Robert Hancock
you because you have similar hardware and your >>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1131468 report is >>slightly similar. Have you seen anything like this "reduced >>performance after resume" issue? If so, can you collect /proc/mtrr >>contents

Re: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-05 Thread Robert Hancock
On 05/05/2013 06:27 AM, Luke Kenneth Casson Leighton wrote: this message came up on debian-arm and i figured that it is worthwhile endeavouring to get across to people why device tree cannot and will not ever be the solution it was believed to be, in the ARM world. [just a quick note to david wh

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-04-30 Thread Robert Hancock
On 04/29/2013 10:47 PM, Bjorn Helgaas wrote: On Sat, Apr 27, 2013 at 4:10 AM, Artem S. Tashkinov wrote: Did this problem ever get resolved? Hello, Unfortunately, no. Out of curiosity I've tried booting kernel 3.9-rc8 in EUFI mode but it exhibits the same problem. Right after the boot: [r

Re: [PATCH 2/3] PCI: Handle device quirks when accessing sysfs resource entries

2013-03-22 Thread Robert Hancock
On Fri, Mar 22, 2013 at 9:39 AM, Myron Stowe wrote: > On Thu, Mar 21, 2013 at 6:51 PM, Robert Hancock wrote: >> On 03/20/2013 10:35 PM, Myron Stowe wrote: >>> >>> Sysfs includes entries to memory regions that back a PCI device's BARs. >>> The pci-s

Re: [PATCH 2/3] PCI: Handle device quirks when accessing sysfs resource entries

2013-03-21 Thread Robert Hancock
On 03/20/2013 10:35 PM, Myron Stowe wrote: Sysfs includes entries to memory regions that back a PCI device's BARs. The pci-sysfs entries backing I/O Port BARs can be accessed by userspace, providing direct access to the device's registers. File permissions prevent random users from accessing the

Re: [PATCH] udevadm-info: Don't access sysfs 'resource' files

2013-03-18 Thread Robert Hancock
On Mon, Mar 18, 2013 at 8:35 PM, Greg KH wrote: > On Mon, Mar 18, 2013 at 08:09:22PM -0600, Robert Hancock wrote: >> > Great, that's one possible solution, the other is just not creating the >> > files at all for known problem devices, right? >> >> I don&#x

Re: [PATCH] udevadm-info: Don't access sysfs 'resource' files

2013-03-18 Thread Robert Hancock
On Mon, Mar 18, 2013 at 8:03 PM, Greg KH wrote: > On Mon, Mar 18, 2013 at 07:54:09PM -0600, Robert Hancock wrote: >> On 03/16/2013 07:03 PM, Greg KH wrote: >> >On Sat, Mar 16, 2013 at 05:50:53PM -0600, Myron Stowe wrote: >> >>On Sat, 2013-03-16 at 15:11 -0700, Greg

Re: [PATCH] udevadm-info: Don't access sysfs 'resource' files

2013-03-18 Thread Robert Hancock
On 03/16/2013 07:03 PM, Greg KH wrote: On Sat, Mar 16, 2013 at 05:50:53PM -0600, Myron Stowe wrote: On Sat, 2013-03-16 at 15:11 -0700, Greg KH wrote: On Sat, Mar 16, 2013 at 03:35:19PM -0600, Myron Stowe wrote: Sysfs includes entries to memory that backs a PCI device's BARs, both I/O Port spac

Re: [PATCH 2/2] PCI: fix system hang issue of Marvell SATA host controller

2013-03-13 Thread Robert Hancock
On 03/08/2013 09:18 PM, Myron Stowe wrote: On Thu, Mar 7, 2013 at 11:51 PM, Xiangliang Yu wrote: Hi, Bjorn Fix system hang issue: if first accessed resource file of BAR0 ~ BAR4, system will hang after executing lspci command This needs more explanation. We've already read the BARs by the t

Re: [PATCH] block: delete super ancient PC-XT driver for 1980's hardware

2013-01-06 Thread Robert Hancock
On 01/04/2013 07:27 PM, Paul Gortmaker wrote: This driver was for the 8 bit ISA cards that were installed in the PC-XT machines of 1980 vintage. They supported the dual ribbon cable MFM drives of 10-20MB capacity, and ran at a 3:1 interleave, giving performance on the order of 128kB/s. By the i

Re: DMAR and DRHD errors[DMAR:[fault reason 06] PTE Read access is not set] Vt-d & intel_iommu

2012-12-15 Thread Robert Hancock
On 12/14/2012 03:32 PM, Don Dutile wrote: On 12/13/2012 04:50 AM, Jason Gao wrote: Dear List: Description of problem: After installed Centos 6.3(RHEL6.3) on my Dell R710(lastest bios:Version: 6.3.0,Release Date: 07/24/2012) server,and updated lastest kernel "2.6.32-279.14.1.el6.x86_64",I want t

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-11 Thread Robert Hancock
On 12/11/2012 02:37 PM, Alan Stern wrote: On Tue, 11 Dec 2012, prasannatsmkumar wrote: Hi All, I connected an Android phone using USB cable to my machine running Linux (Linux 3.0, 3.2, 3.5). Mounted the SD card in phone in system (phone is just a pass through I guess). When I choose "Safely Re

Re: A vague, murky topic of "Buffer I/O error on device sdb6, logical block NNNNNNNNN" and a ext4/VFS oops

2012-11-29 Thread Robert Hancock
On 11/29/2012 01:27 PM, Artem S. Tashkinov wrote: Hello, When I was copying a lot of information (tens of gigabytes) from my primary HDD to a secondary HDD I got gazillions of errors like these ones: [19568.964762] EXT4-fs warning (device sdb6): ext4_end_bio:250: I/O error writing to inode 60

Re: Supermicro X9SRL-F - channel enumeration error & ACPI/firmware bug question

2012-11-29 Thread Robert Hancock
On Thu, Nov 29, 2012 at 12:16 PM, Bjorn Helgaas wrote: > On Thu, Nov 29, 2012 at 1:55 AM, Justin Piszcz > wrote: >> >> >> -Original Message- >> From: Robert Hancock [mailto:hancock...@gmail.com] >> Sent: Wednesday, November 28, 2012 7:55 PM >&

Re: Supermicro X9SRL-F - channel enumeration error & ACPI/firmware bug question

2012-11-28 Thread Robert Hancock
On Wed, Nov 28, 2012 at 6:49 PM, Justin Piszcz wrote: > > > -Original Message- > From: Robert Hancock [mailto:hancock...@gmail.com] > Sent: Wednesday, November 28, 2012 7:35 PM > To: Justin Piszcz > Cc: 'Bjorn Helgaas'; 'Bruno Prémont'

Re: Supermicro X9SRL-F - channel enumeration error & ACPI/firmware bug question

2012-11-28 Thread Robert Hancock
On 11/27/2012 07:49 AM, Justin Piszcz wrote: It looks like maybe you don't have CONFIG_PCI_MMCONFIG turned on? ===> FOR I/OAT DMA Latest status, it _appears_ its working on the X9SRL-F now, thank you! 1) Supermicro X9SRL-F (GOOD) [0.738510] ioatdma: Intel(R) QuickData Technology Driver 4

Re: 3.6.8: dmar: DRHD: handling fault status reg 602

2012-11-27 Thread Robert Hancock
On 11/27/2012 09:16 AM, Justin Piszcz wrote: Hello, Any idea why this is happening (e.g. why is PTE Read Access not set?) [ 13.204560] dmar: DRHD: handling fault status reg 602 [ 13.208078] dmar: DMAR:[DMA Read] Request device [04:00.0] fault addr 0 [ 13.208078] DMAR:[fault reason 06] PTE

Re: ACPI errors with 3.7-rc3

2012-11-16 Thread Robert Hancock
On 11/09/2012 10:36 AM, Feng Tang wrote: On Fri, Nov 09, 2012 at 10:30:43PM +0800, Moore, Robert wrote: The ACPI Global Lock is in fact intended to provide exclusion between the BIOS and the OS. Bob Thanks for the info. And per my check, most of ACPI FW don't implement this lock, say after d

Re: Possible disk failure

2012-11-13 Thread Robert Hancock
On 11/13/2012 09:54 PM, Steven Rostedt wrote: Hi Jens, Since you helped me out before, I'm going to ask for some more help ;-) I just recently purchased a new workstation from HP, and after fighting with getting grub2 working the way I want, I kicked off a ktest run to create a true min config.

Re: [3.6.6] panic on reboot / khungtaskd blocked? (WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule)

2012-11-13 Thread Robert Hancock
On 11/13/2012 08:32 PM, Michael Wang wrote: On 11/13/2012 05:40 PM, Paweł Sikora wrote: On Monday 12 of November 2012 13:33:39 Paweł Sikora wrote: On Monday 12 of November 2012 11:22:47 Paweł Sikora wrote: On Monday 12 of November 2012 15:40:31 Michael Wang wrote: On 11/12/2012 03:16 PM, Pawe

Re: DMA Errors from SATA Controller with 4G Memory Remapping Enabled

2012-11-13 Thread Robert Hancock
On 11/13/2012 04:08 PM, Dimitar Popov wrote: Hi all, I have an old computer with motherboard ASUS SK8N with AMD Opteron 148 and 4 GiB of DDR400. There is an onboard SATA Promise RAID controller working in IDE mode (i.e. not as RAID controller) with 2 SATA disks. In order to use all 4 GiB RAM I n

Re: Why Cypress does not upstream its trackpad driver?

2012-11-08 Thread Robert Hancock
On 11/07/2012 06:26 PM, David Solda wrote: Dmitry, all, To clarify my comment. Our protocol utilizes 8 bytes which are needed in our driver. In order for the Linux system to accept 8 bytes of data, the Linux psmouse system driver is required to be modified. Without this modification, the d

Re: macbook pro 9.2 stat/ata bus error

2012-11-08 Thread Robert Hancock
On 11/06/2012 09:41 PM, Azat Khuzhin wrote: Anybody? On Mon, Nov 5, 2012 at 7:28 PM, Azat Khuzhin wrote: After installing linux on macbook 9.2 (mid 2012), I have next errors in dmesg log: [ 389.623828] EXT4-fs (sda4): re-mounted. Opts: errors=remount-ro,data=ordered,commit=600 [ 410.03846

Re: [PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-10-25 Thread Robert Hancock
On 10/24/2012 02:09 PM, Alan Cox wrote: On Wed, 24 Oct 2012 12:36:04 -0700 "H. Peter Anvin" wrote: Minor concern: it should do the wait for ready before sending each command. Can we get a command line to do this quirk too - it strikes me that if the MSIs rely upon it then it may be something

Re: ata4.00: failed to get Identify Device Data, Emask 0x1

2012-10-16 Thread Robert Hancock
On 10/16/2012 07:38 PM, Aaron Lu wrote: On 10/16/2012 11:18 PM, Borislav Petkov wrote: On Tue, Oct 16, 2012 at 03:58:24PM +0100, Alan Cox wrote: Can you check whether 3.6 works on them. I know 3.6 is horribly broken on several brands of AHCI controller (Jmicron for example). Dunno where Jeff is

Re: [RFT] xhci: Switch PPT ports to EHCI on shutdown.

2012-08-22 Thread Robert Hancock
On 08/07/2012 11:39 AM, Sarah Sharp wrote: The Intel desktop boards DH77EB and DH77DF have a hardware issue that can be worked around by BIOS. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS will work around

Re: 3.4.4: Oops in snd_hda_codec_realtek (alc_auto_create_multi_out_ctls)

2012-07-17 Thread Robert Hancock
On Tue, Jul 17, 2012 at 6:25 AM, Takashi Iwai wrote: > At Mon, 9 Jul 2012 13:40:09 -0600, > Robert Hancock wrote: >> >> I've got a sort of industrial portable PC that uses a Supermicro C2SBX >> motherboard. Running an RHEL6 kernel (2.6.32-ish) it works fine, but >

3.4.4: Oops in snd_hda_codec_realtek (alc_auto_create_multi_out_ctls)

2012-07-09 Thread Robert Hancock
I've got a sort of industrial portable PC that uses a Supermicro C2SBX motherboard. Running an RHEL6 kernel (2.6.32-ish) it works fine, but if I run a 3.4.4 kernel (using the kernel-ml builds provided by ELRepo for RHEL6) it blows up on boot inside snd_hda_codec_realtek. Below is the dmesg output f

Re: [PATCH] sata_nv: fix nmi intr or system hanging in rhel4u6 adma.

2008-02-26 Thread Robert Hancock
Kuan Luo wrote: Hi, robert One customer reported that their system received a nmi interrupt after issuing "dd if=/dev/sdb of=/dev/null" on a defective disk in rhel4u6. I tested it and found that my system hung both in rhel4u6(2.6.9-67) and 2.6.24-rc7. The patch can work well, but I am not s

Re: Clocksource tsc is always unstable with 2.6.25-* kernels and CONFIG_NO_HZ=y on my box

2008-02-24 Thread Robert Hancock
Gabriel C wrote: Hi, I noticed tsc is always marked unstable on my box with 2.6.25* , 2.6.24 is fine. .. [0.825760] ACPI: PCI Interrupt :03:0e.0[A] -> GSI 22 (level, low) -> IRQ 22 [0.805755] Switched to high resolution mode on CPU 1 [0.794244] Switched to high resolution mode

Re: Keyboard interrupt - request_irq()

2008-02-21 Thread Robert Hancock
Pioz wrote: Hi all, I have a problem. I want handle the keyboard interrupt and for this purpose I have write this module (I have kernel 2.6.23): #include #include #include [...] irqreturn_t irq_myhandler (int irqn, void *dev) { printk (KERN_INFO "Key pressed...\n"); retur

Re: Configure MSI-X vectors to target different CPUs

2008-02-21 Thread Robert Hancock
[EMAIL PROTECTED] wrote: Hi, In MSI-HOWTO, it's said: "Using MSI enables the device functions to support two or more vectors, which can be configured to target different CPUs to increase scalability." So how can I set up MSI-X vectors to target different CPUs? I want to allocate the same num

Re: BUG?: "Cannot map mmconfig aperture"

2008-02-20 Thread Robert Hancock
Diego Calleja wrote: I get the following new message in my dmesg: [0.155476] ACPI: bus type pci registered [0.155567] PCI: Found Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub with MMCONFIG support. [0.161149] PCI: Cannot map mmconfig aperture for segment 0 [0.1611

Re: BT8x8 TV Card

2008-02-20 Thread Robert Hancock
Chris Brennan wrote: I'm having a kernel related issue (I think) with the BT878 card I have in my gentoo box. Here are pastebin results of varius infomation, I hope I give all the necessary info. If I am missing something or you need more, please let me know. dmesg -> http://rafb.net/p/MVIiSg62

Re: Intel Core2Duo mobile - how does the VID get set?

2008-02-19 Thread Robert Hancock
Brian Morrison wrote: Pallipadi, Venkatesh wrote: After a fair bit of Googling and reading around, I'm none the wiser about exactly how Linux 2.6.x sets the processor VID (or for that matter how it decides the FID settings) when using the ondemand governor and cpufreq stuff. Can anyone tell

Re: [PATCH 1/5] x86: validate against acpi motherboard resources

2008-02-18 Thread Robert Hancock
Andi Kleen wrote: With just this patch you will have this problem. You need either the patch to disable decode during BAR sizing, Isn't that one already merged? I remember the BAR decoding patch did help with at least one of the original failures (there were multiple ones iirc0) I believe t

Re: PCI Bursting with PIO

2008-02-17 Thread Robert Hancock
Dan Gora wrote: On Feb 15, 2008 10:00 PM, Robert Hancock <[EMAIL PROTECTED]> wrote: Well, in order for the CPU to batch up more writes you'd have to map the BAR as either write-combining or write-back. If it's not listed in /proc/mtrr it will be the default setting of uncache

Re: PCI Bursting with PIO

2008-02-15 Thread Robert Hancock
Dan Gora wrote: Hi, I am trying to optimize a driver for a slave only PCI device and am having a lot of trouble getting any kind of PCI burst transactions in either the read or the write direction. Using bcopy/memcpy or even a hand-crafted while (len) { *pdst++ = *psrc++} (with pdst and psrc un

Re: [PATCH 1/5] x86: validate against acpi motherboard resources

2008-02-15 Thread Robert Hancock
Andi Kleen wrote: Yinghai Lu <[EMAIL PROTECTED]> writes: [EMAIL PROTECTED]: many fixes and cleanups] Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Tested-by: Andi Kleen <[EMAIL PROTECTED]> iirc it really was Teste

DMA mapping API on 32-bit X86 with CONFIG_HIGHMEM64G

2008-02-11 Thread Robert Hancock
I was looking at the out-of-tree driver for a PCI high-security module (from a vendor who shall remain nameless) today, as we had a problem reported where the device didn't work properly if the computer had more than 4GB of RAM (this is x86 32-bit, with CONFIG_HIGHMEM64G enabled). Essentially

Re: [PATCH] Avoid buffer overflows in get_user_pages()

2008-02-11 Thread Robert Hancock
Nick Piggin wrote: On Tuesday 12 February 2008 10:17, Jonathan Corbet wrote: Avoid buffer overflows in get_user_pages() So I spent a while pounding my head against my monitor trying to figure out the vmsplice() vulnerability - how could a failure to check for *read* access turn into a root expl

Re: [PATCH] Change pci_raw_ops to pci_raw_read/write

2008-02-10 Thread Robert Hancock
Yinghai Lu wrote: On Feb 10, 2008 12:45 PM, Matthew Wilcox <[EMAIL PROTECTED]> wrote: On Sun, Feb 10, 2008 at 12:24:18PM -0800, Linus Torvalds wrote: On Sun, 10 Feb 2008, Yinghai Lu wrote: I suggest Ivan's patch be merged ASAP as it actually fixes bugs. This patch is just cleanup (and takes ca

Re: pata_sil680 regression 2.6.22->2.6.24

2008-02-10 Thread Robert Hancock
Robert Lowery wrote: Hi Folks, Having recently upgaded my Ubuntu install from Gutsy to Hardy, my 750GB Seagate disk connected via a SiI680 PCI card is no longer detected. I suspect this is caused by the MMIO changes in 2.6.24. Strangely in 2.6.22 the drive appears as sda1, but on 2.6.24 it app

Re: Scheduler(?) regression from 2.6.22 to 2.6.24 for short-lived threads

2008-02-08 Thread Robert Hancock
Olof Johansson wrote: Hi, I ended up with a customer benchmark in my lap this week that doesn't do well on recent kernels. :( After cutting it down to a simple testcase/microbenchmark, it seems like recent kernels don't do as well with short-lived threads competing with the thread it's cloned o

[PATCH] sata_nv: fix ATAPI issues with memory over 4GB (v7)

2008-02-04 Thread Robert Hancock
point. Reported to fix https://bugzilla.redhat.com/show_bug.cgi?id=351451 Signed-off-by: Robert Hancock <[EMAIL PROTECTED]> --- linux-2.6.24/drivers/ata/sata_nv.c 2008-01-24 16:58:37.0 -0600 +++ linux-2.6.24edit/drivers/ata/sata_nv.c 2008-01-29 18:39:37.0 -0600 @@ -2

Re: a7839e96 (PNP: increase max resources) breaks my ALSA intel8x0 sound card

2008-01-31 Thread Robert Hancock
Andrew Morton wrote: There was a patch floating around to ignore PnPACPI reservations which conflict with PCI BARs, which appears to be what's happening in this case. That patch originally worked for any board, but was later made specific to a certain Supermicro motherboard which had the sata_n

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-31 Thread Robert Hancock
Alexander wrote: Hello! The problem described at https://bugzilla.redhat.com/show_bug.cgi?id=351451 and at http://ubuntuforums.org/showthread.php?t=655772 and supposedly fixed by the patch http://kerneltrap.org/mailarchive/linux-kernel/2007/11/25/445094 is still there. I have compiled 2.6.24-rc7

Re: The hardware reports a non fatal, correctable incident occurred on CPU 0

2008-01-30 Thread Robert Hancock
Badalian Vyacheslav wrote: Hello all. Can anyone say to me that messages its normal =) [63617.120342] MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0. [63617.120353] Bank 3: cc100100 [63632.092712] MCE: The hardware reports a non fatal, correctable incide

Re: intel ahci problem

2008-01-30 Thread Robert Hancock
Evgen L wrote: Hi all I have a problem with my Intel SR1550 server (S5000PAL motheboard, SATA/SAS controller, 5 SATA HDD Seagate ST9120822AS ). The four drivers are in two md raid1, which striping by lvm and one drive used separately. I have problem like below with two different drives (ata3

Re: Help Needed Reading / Poling the ATA Status Register

2008-01-30 Thread Robert Hancock
[EMAIL PROTECTED] wrote: I am currently writing some code to send some ATA commands directly to the drive using ioctl and SG_IO which seems to work fine. However I also need to read the ATA status register values in real time which I am unsure how to do. I have seen in the libata developers guid

  1   2   3   4   5   6   7   8   >