[PATCH v4 0/4] PCI: Patch series to support Thunderbolt without any BIOS support

2019-04-17 Thread Nicholas Johnson
there is anything else to change. It is still not as thoroughly checked over as my PATCH v2 series for small typos, but I cannot find any problems. All patches pass the scripts/checkpatch.pl perfectly with no warnings. Thank you for your continued patience and understanding. Nicholas Johnson (4

[PATCH v4 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-04-17 Thread Nicholas Johnson
ion, and potentially others which are yet to be encountered. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 203 ++-- 1 file changed, 110 insertions(+), 93 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index ec44a0

[PATCH v4 2/4] PCI: Fix serious bug when sizing bridges with additional size

2019-04-17 Thread Nicholas Johnson
assigns resources. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index a1ca8a11f..5b9ee9945 100644 --- a/drivers/pci/setup-bus.c +++ b

[PATCH v4 4/4] PCI: Cleanup block comments in setup-bus.c to meet kernel style guidelines

2019-04-17 Thread Nicholas Johnson
Change block comments to accepted style with asterisks on each line. Justify block comments to 80-character limit to reduce the number of lines where possible. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 248 +++- 1 file changed, 120

[PATCH v4 3/4] PCI: Modify kernel parameters to differentiate between MMIO and MMIO_PREF sizes

2019-04-17 Thread Nicholas Johnson
. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 5 +++- drivers/pci/pci.c | 12 ++--- drivers/pci/setup-bus.c | 25 +++ include/linux/pci.h | 3 ++- 4 files changed, 29

[PATCH 1/2] PCI: fix serious bug when sizing bridges with additional size

2019-02-06 Thread Nicholas Johnson
comment to reflect the changes, and checkpatch.pl got really angry and yelled at me. So I figured I may as well fix the lot. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 82 + 1 file changed, 51 insertions(+), 31 deletions(-) diff --git a/d

[PATCH 2/2] PCI: modify kernel parameters to differentiate between MMIO and MMIO_PREF sizes

2019-02-06 Thread Nicholas Johnson
nd this message does not pertain to a particular device. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 21 -- drivers/pci/pci.c | 39 +-- drivers/pci/setup-bus.c | 26 +++--

Re: [PATCH 1/1] amdgpu: use MMIO to init atombios if device is Thunderbolt / USB4 attached

2021-03-15 Thread Nicholas Johnson
On Mon, Mar 15, 2021 at 11:05:21AM -0400, Alex Deucher wrote: > On Mon, Mar 15, 2021 at 4:04 AM Nicholas Johnson > wrote: > > > > When using some Thunderbolt hosts using BIOS-assisted PCI enumeration > > with IO BAR assigned, we get an atombios timeout, such as: > >

[PATCH 1/1] amdgpu: use MMIO to init atombios if device is Thunderbolt / USB4 attached

2021-03-13 Thread Nicholas Johnson
When using some Thunderbolt hosts using BIOS-assisted PCI enumeration with IO BAR assigned, we get an atombios timeout, such as: [drm:atom_op_jump [amdgpu]] *ERROR* atombios stuck in loop for more than 20secs aborting [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck executi

[PATCH 0/1] Init atombios timeout when amdgpu is Thunderbolt / USB4 when IO BAR is assigned

2021-03-13 Thread Nicholas Johnson
experienced this issue for a long time, and have finally decided to do something about it. I do not see a downside to using MMIO, which is required to be assigned. Kind regards, Nicholas Johnson Nicholas Johnson (1): amdgpu: use MMIO to init atombios if device is Thunderbolt / USB4 attached

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Nicholas Johnson
On Thu, Apr 30, 2020 at 05:14:56PM +0200, Takashi Iwai wrote: > On Wed, 29 Apr 2020 18:19:57 +0200, > Alex Deucher wrote: > > > > On Wed, Apr 29, 2020 at 12:05 PM Takashi Iwai wrote: > > > Well, but the code path there is the runtime PM resume of the audio > > > device and it means that GPU must

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Nicholas Johnson
On Thu, Apr 30, 2020 at 07:01:08PM +0200, Takashi Iwai wrote: > On Thu, 30 Apr 2020 18:52:20 +0200, > Nicholas Johnson wrote: > > > > On Thu, Apr 30, 2020 at 05:14:56PM +0200, Takashi Iwai wrote: > > > On Wed, 29 Apr 2020 18:19:57 +0200, > > > Alex Deucher wr

[PATCH 0/1] Add support for setting MMIO PREF hotplug bridge size

2019-10-23 Thread Nicholas Johnson
very important for my goal, I realised that they are just a heap of patches that are not Thunderbolt-specific. The only thing that is Thunderbolt-related is the intended use case. I hope that posting this alone can ease the difficulty of reviewing it. Nicholas Johnson (1): PCI: Add hp_mmio_size and

[PATCH 1/1] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-10-23 Thread Nicholas Johnson
MMIO and MMIO_PREF to the same size. The two new parameters conform to the style of pci=hpiosize=nn[KMG]. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 9 ++- drivers/pci/pci.c | 17 ++--- drivers/pci/pci.h

Re: [PATCH v8 1/6] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-10-23 Thread Nicholas Johnson
i, Jul 26, 2019 at 12:53:19PM +, Nicholas Johnson wrote: > > Rewrite pci_bus_distribute_available_resources to better handle bridges > > with different resource alignment requirements. Pass more details > > arguments recursively to track the resource start and end addresses

Re: [PATCH v8 4/6] PCI: Allow extend_bridge_window() to shrink resource if necessary

2019-10-23 Thread Nicholas Johnson
On Tue, Oct 08, 2019 at 03:09:07PM +0300, mika.westerb...@linux.intel.com wrote: > On Fri, Jul 26, 2019 at 12:54:22PM +0000, Nicholas Johnson wrote: > > Remove checks for resource size in extend_bridge_window(). This is > > necessary to allow the pci_bus_distribute_available

Re: [PATCH v8 1/6] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-10-23 Thread Nicholas Johnson
On Wed, Oct 23, 2019 at 12:34:19PM +0300, mika.westerb...@linux.intel.com wrote: > On Wed, Oct 23, 2019 at 09:08:42AM +0000, Nicholas Johnson wrote: > > On Tue, Oct 08, 2019 at 02:38:12PM +0300, mika.westerb...@linux.intel.com > > wrote: > > > Hi Nicholas, > > >

Re: [PATCH 1/1] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-10-23 Thread Nicholas Johnson
On Wed, Oct 23, 2019 at 12:47:43PM +0300, mika.westerb...@linux.intel.com wrote: > On Wed, Oct 23, 2019 at 08:37:48AM +0000, Nicholas Johnson wrote: > > } else if (!strncmp(str, "hpmemsize=", 10)) { > > - pci_hotplug_mem_size

Re: [PATCH 1/1] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-10-23 Thread Nicholas Johnson
On Wed, Oct 23, 2019 at 01:03:59PM +0300, mika.westerb...@linux.intel.com wrote: > On Wed, Oct 23, 2019 at 09:57:17AM +0000, Nicholas Johnson wrote: > > On Wed, Oct 23, 2019 at 12:47:43PM +0300, mika.westerb...@linux.intel.com > > wrote: > > > On Wed, Oct 23, 2019 at 08

Re: [PATCH 0/1] Add support for setting MMIO PREF hotplug bridge size

2019-10-23 Thread Nicholas Johnson
On Wed, Oct 23, 2019 at 12:45:22PM +0300, mika.westerb...@linux.intel.com wrote: > On Wed, Oct 23, 2019 at 08:36:59AM +0000, Nicholas Johnson wrote: > > This patch adds support for two new kernel parameters. This patch has > > been in the making for quite some time, and has change

[PATCH v2 1/1] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-10-23 Thread Nicholas Johnson
MMIO and MMIO_PREF to the same size. The two new parameters conform to the style of pci=hpiosize=nn[KMG]. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 9 ++- drivers/pci/pci.c | 13 +++--- drivers/pci/pci.h

[PATCH v2 0/1] Add support for setting MMIO PREF hotplug bridge size

2019-10-23 Thread Nicholas Johnson
problems in testing. Fixed the alignment of some overflow lines. It turns out Outlook is causing my encoding issues with git send-email. If I get a new email for kernel development, what should it be? Gmail works, but looks tackier. Nicholas Johnson (1): PCI: Add hp_mmio_size and hp_mmio_pref_size

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-28 Thread Nicholas Johnson
rote: > > > > > > > > On Mon, Apr 27, 2020 at 2:07 PM Nicholas Johnson > > > > wrote: > > > > > > > > > > On Mon, Apr 27, 2020 at 05:15:55PM +0200, Takashi Iwai wrote: > > > > > > On Mon, 27 Apr 2020 16:22:21 +020

[PATCH] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-02-01 Thread Nicholas Johnson
: Link: https://bugzilla.kernel.org/show_bug.cgi?id=199581 Tested-by: Mika Westerberg Signed-off-by: Nicholas-Johnson-opensource --- drivers/pci/setup-bus.c | 172 1 file changed, 88 insertions(+), 84 deletions(-) diff --git a/drivers/pci/setup-bus.c b/driver

[PATCH] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-02-02 Thread Nicholas Johnson
ed to be dropped from the kernel at some point. The docks have four bridges each, with 4096-byte alignment. The IO BARs do not do anything, crash the system if not claimed and spam dmesg when not assigned. Signed-off-by: Nicholas-Johnson-opensource --- drivers/pci/setup-bus.c | 188 +

[PATCH v6 0/4] PCI: Patch series to support Thunderbolt without any BIOS support

2019-05-22 Thread Nicholas Johnson
more space. Nicholas Johnson (4): PCI: Consider alignment of hot-added bridges when distributing available resources PCI: Modify extend_bridge_window() to set resource size directly PCI: Fix bug resulting in double hpmemsize being assigned to MMIO window PCI: Add pci=hpmemprefsize

[PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-05-22 Thread Nicholas Johnson
ion, and potentially others which are yet to be encountered. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 169 1 file changed, 84 insertions(+), 85 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 0cdd5f

[PATCH v6 2/4] PCI: Modify extend_bridge_window() to set resource size directly

2019-05-22 Thread Nicholas Johnson
uired to prevent the bridge not being enabled due to resources with zero size. This is a direct requirement to prevent the change away from using add_list from introducing a regression - because before, it was not possible to end up with zero size. Signed-off-by: Nicholas Johnson --- drivers/

[PATCH v6 3/4] PCI: Fix bug resulting in double hpmemsize being assigned to MMIO window

2019-05-22 Thread Nicholas Johnson
assigned in a previous pass. This fixes the existing behaviour where space for a resource could be reserved multiple times in different parent bridge windows. This also greatly reduces the number of failed BAR messages in dmesg when Linux assigns resources. Signed-off-by: Nicholas Johnson

[PATCH v6 4/4] PCI: Add pci=hpmemprefsize parameter to set MMIO_PREF size independently

2019-05-22 Thread Nicholas Johnson
documentation to reflect the above changes. The effect of the above changes is to allow for MMIO and MMIO_PREF to be specified independently, whilst ensuring no changes in functionality are noticed by the user if updating kernel version with hpmemsize specified. Signed-off-by: Nicholas Johnson

[PATCH v5 1/5] PCI: Consider alignment of hot-added bridges when distributing resources

2019-05-05 Thread Nicholas Johnson
initial hotplug bridge. This is especially useful for Thunderbolt with native PCI enumeration, enabling external graphics cards and other devices with bridge alignment higher than 0x10 bytes. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 164

[PATCH v5 5/5] PCI: Cleanup block comments in setup-bus.c to match kernel style

2019-05-05 Thread Nicholas Johnson
. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 310 +++- 1 file changed, 151 insertions(+), 159 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 4386ca941..400cf616c 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers

[PATCH v5 4/5] PCI: Add pci=hpmemprefsize parameter to set MMIO_PREF size independently

2019-05-05 Thread Nicholas Johnson
documentation to reflect the above changes. The effect of the above changes is to allow for MMIO and MMIO_PREF to be specified independently, whilst ensuring no changes in functionality are noticed by the user if updating kernel version with hpmemsize specified. Signed-off-by: Nicholas Johnson

[PATCH v5 0/5] PCI: Patch series to support Thunderbolt without any BIOS support

2019-05-05 Thread Nicholas Johnson
than globally. Please let me know if anything else needs changing. Nicholas Johnson (5): PCI: Consider alignment of hot-added bridges when distributing resources PCI: Modify extend_bridge_window() to set resource size directly PCI: Fix bug resulting in double hpmemsize being assigned to

[PATCH v5 3/5] PCI: Fix bug resulting in double hpmemsize being assigned to MMIO window

2019-05-05 Thread Nicholas Johnson
assigned in a previous pass. This fixes the existing behaviour where space for a resource could be reserved multiple times in different parent bridge windows. This also greatly reduces the number of failed BAR messages in dmesg when Linux assigns resources. Signed-off-by: Nicholas Johnson

[PATCH v5 2/5] PCI: Modify extend_bridge_window() to set resource size directly

2019-05-05 Thread Nicholas Johnson
uired to prevent the bridge not being enabled due to resources with zero size. This is a direct requirement to prevent the change away from using add_list from introducing a regression - because before, it was not possible to end up with zero size. Signed-off-by: Nicholas Johnson --- drivers/

[PATCH v8 0/6] Patch series to support Thunderbolt without any BIOS support

2019-07-26 Thread Nicholas Johnson
Patch series rebased to 5.3-rc1. If possible, please have a quick read over while I am away (2019-07-27 to mid 2019-08-04), so I can fix any mistakes or make simple changes to get problems out of the way for a more thorough examination later. Thanks! Kind regards, Nicholas Nicholas Johnson (6

[PATCH v8 2/6] PCI: In extend_bridge_window() change available to new_size

2019-07-26 Thread Nicholas Johnson
In extend_bridge_window() change "available" parameter name to new_size. This makes more sense as this parameter represents the new size for the window. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

[PATCH v8 1/6] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-07-26 Thread Nicholas Johnson
and potentially others which are yet to be encountered. Solves bug report: https://bugzilla.kernel.org/show_bug.cgi?id=199581 Reported-by: Mika Westerberg Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 148 +++- 1 file changed, 71 insertions(+),

[PATCH v8 3/6] PCI: Change extend_bridge_window() to set resource size directly

2019-07-26 Thread Nicholas Johnson
it is set to zero size and left, it can cause significant problems when it comes to assigning resources. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup

[PATCH v8 4/6] PCI: Allow extend_bridge_window() to shrink resource if necessary

2019-07-26 Thread Nicholas Johnson
bridge is extended or shrunken and adjust pci_dbg to reflect this. Reset the resource if its new size is zero (if we have run out of a bridge window resource). If it is set to zero size and left, it can cause significant problems when it comes to enabling devices. Signed-off-by: Nicholas Johnson

[PATCH v8 5/6] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-07-26 Thread Nicholas Johnson
MMIO and MMIO_PREF to the same size. The two new parameters conform to the style of pci=hpiosize=nn[KMG]. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 9 ++- drivers/pci/pci.c | 17 ++--- drivers/pci/setup-bus.c

[PATCH v8 6/6] PCI: Fix bug resulting in double hpmemsize being assigned to MMIO window

2019-07-26 Thread Nicholas Johnson
/20190531171216.20532-2-log...@deltatee.com/T/#u Solves bug report: https://bugzilla.kernel.org/show_bug.cgi?id=203243 Reported-by: Kit Chow Reported-by: Nicholas Johnson Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 29 +++-- 1 file changed, 19 insertions(+), 10

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-19 Thread Nicholas Johnson
d in 1a5767725cec ("PCI: > Distribute available resources to hotplug-capable bridges"). Is there > any chance you could help review this? > > On Wed, May 22, 2019 at 02:30:44PM +, Nicholas Johnson wrote: > > Rewrite pci_bus_distribute_available_resources to better h

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-19 Thread Nicholas Johnson
. ___ On Mon, Jun 17, 2019 at 12:35:13PM +0300, mika.westerb...@linux.intel.com wrote: > On Wed, May 22, 2019 at 02:30:44PM +0000, Nicholas Johnson wrote: > > Rewrite pci_bus_distribute_available_resources to better handle bridges > > with different resource alignme

[PATCH v7 0/7] PCI: Patch series to support Thunderbolt without any BIOS support

2019-07-01 Thread Nicholas Johnson
the requested changes. My apologies in advance if any slip through. Bjorn Helgaas (2): PCI: Simplify pci_bus_distribute_available_resources() PCI: Skip resource distribution when no hotplug bridges Nicholas Johnson (5): PCI: Consider alignment of hot-added bridges when distributing availab

[PATCH v7 1/8] PCI: Simplify pci_bus_distribute_available_resources()

2019-07-01 Thread Nicholas Johnson
Reorder pci_bus_distribute_available_resources() to group related code together. No functional change intended. Link: https://lore.kernel.org/r/ps2p216mb0642c7a485649d2d787a1c6f80...@ps2p216mb0642.korp216.prod.outlook.com Based-on-patch-by: Nicholas Johnson [bhelgaas: extracted from larger

[PATCH v7 2/8] PCI: Skip resource distribution when no hotplug bridges

2019-07-01 Thread Nicholas Johnson
ining resources. No functional change intended. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index af28af898..04adeebe8 100644 --- a/drivers/pci/setup-bus.c ++

[PATCH v7 3/8] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-07-01 Thread Nicholas Johnson
and potentially others which are yet to be encountered. Solves bug report: https://bugzilla.kernel.org/show_bug.cgi?id=199581 Reported-by: Mika Westerberg Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 148 +++- 1 file changed, 71 insertions(+),

[PATCH v7 4/8] PCI: In extend_bridge_window() change available to new_size

2019-07-01 Thread Nicholas Johnson
In extend_bridge_window() change "available" parameter name to new_size. This makes more sense as this parameter represents the new size for the window. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

[PATCH v7 5/8] PCI: Change extend_bridge_window() to set resource size directly

2019-07-01 Thread Nicholas Johnson
it is set to zero size and left, it can cause significant problems when it comes to assigning resources. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup

[PATCH v7 6/8] PCI: Allow extend_bridge_window() to shrink resource if necessary

2019-07-01 Thread Nicholas Johnson
bridge is extended or shrunken and adjust pci_dbg to reflect this. Reset the resource if its new size is zero (if we have run out of a bridge window resource). If it is set to zero size and left, it can cause significant problems when it comes to enabling devices. Signed-off-by: Nicholas Johnson

[PATCH v7 7/8] PCI: Add hp_mmio_size and hp_mmio_pref_size parameters

2019-07-01 Thread Nicholas Johnson
MMIO and MMIO_PREF to the same size. The two new parameters conform to the style of pci=hpiosize=nn[KMG]. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 9 ++- drivers/pci/pci.c | 17 ++--- drivers/pci/setup-bus.c

[PATCH v7 8/8] PCI: Fix bug resulting in double hpmemsize being assigned to MMIO window

2019-07-01 Thread Nicholas Johnson
/20190531171216.20532-2-log...@deltatee.com/T/#u Solves bug report: https://bugzilla.kernel.org/show_bug.cgi?id=203243 Reported-by: Kit Chow Reported-by: Nicholas Johnson Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 29 +++-- 1 file changed, 19 insertions(+), 10

Re: [PATCH v6 0/4] PCI: Patch series to support Thunderbolt without any BIOS support

2019-07-01 Thread Nicholas Johnson
On Sun, Jun 16, 2019 at 03:56:19AM +0800, Bjorn Helgaas wrote: > [+cc Ben, Logan] > > Ben, Logan, since you're looking at the resource code, maybe you'd be > interested in this as well? > > On Wed, May 22, 2019 at 02:30:30PM +, Nicholas Johnson wrote: > >

[PATCH v2 0/4] PCI: Patch series to support Thunderbolt without any BIOS support

2019-03-11 Thread Nicholas Johnson
his will also make at least one other person very happy, providing a solution where none previously existed (if this is accepted, I will be answering their question with this patch): https://superuser.com/questions/1054657/how-can-i-reserve-hotplug-bridges-memory-only-for-prefetchable-memory

[PATCH v2 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-03-11 Thread Nicholas Johnson
ion, and potentially others which are yet to be encountered. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 203 ++-- 1 file changed, 110 insertions(+), 93 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index ed9604

[PATCH v2 2/4] PCI: Cleanup comments in setup-bus.c to meet kernel coding style guidelines

2019-03-11 Thread Nicholas Johnson
Change block comments to accepted style with asterisks on each line. Justify block comments to 80-character limit to reduce the number of lines where possible. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 265 1 file changed, 130

[PATCH v2 4/4] PCI: modify kernel parameters to differentiate between MMIO and MMIO_PREF sizes

2019-03-11 Thread Nicholas Johnson
is easy to remove old kernel parameters from the source when it is deemed that sufficient time has passed to allow users to migrate to the new kernel parameters. Update documentation to reflect changes. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 21

[PATCH v2 3/4] PCI: Fix serious bug when sizing bridges with additional size

2019-03-11 Thread Nicholas Johnson
assigns resources. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 0ce641282..efe899b02 100644 --- a/drivers/pci/setup-bus.c +++ b

[PATCH v3 0/5] PCI: Patch series to support Thunderbolt without any BIOS support

2019-04-15 Thread Nicholas Johnson
. Nicholas Johnson (5): PCI: Consider alignment of hot-added bridges when distributing available resources PCI: Cleanup comments in setup-bus.c to meet kernel coding style guidelines PCI: Fix serious bug when sizing bridges with additional size PCI: modify kernel parameters to

[PATCH v3 1/5] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-04-15 Thread Nicholas Johnson
ion, and potentially others which are yet to be encountered. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 203 ++-- 1 file changed, 110 insertions(+), 93 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index ed9604

[PATCH v3 3/5] PCI: Fix serious bug when sizing bridges with additional size

2019-04-15 Thread Nicholas Johnson
assigns resources. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 0ce641282..efe899b02 100644 --- a/drivers/pci/setup-bus.c +++ b

[PATCH v3 2/5] PCI: Cleanup comments in setup-bus.c to meet kernel coding style guidelines

2019-04-15 Thread Nicholas Johnson
Change block comments to accepted style with asterisks on each line. Justify block comments to 80-character limit to reduce the number of lines where possible. Signed-off-by: Nicholas Johnson --- drivers/pci/setup-bus.c | 265 1 file changed, 130

[PATCH v3 5/5] PCI: Rename pci=hpiosize,hpmemsize,hpmemprefsize to be more readable

2019-04-15 Thread Nicholas Johnson
reflect the naming changes and become more readable. Signed-off-by: Nicholas Johnson --- .../admin-guide/kernel-parameters.txt | 10 drivers/pci/pci.c | 23 ++- drivers/pci/setup-bus.c | 23

[PATCH v3 4/5] PCI: modify kernel parameters to differentiate between MMIO and MMIO_PREF sizes

2019-04-15 Thread Nicholas Johnson
Add kernel parameter pci=hpmemprefsize=nn[KMG] to control MMIO_PREF size. Change behaviour of pci=hpmemsize=nn[KMG] to only control MMIO size, rather than controlling both MMIO and MMIO_PREF sizes. Update kernel-parameters documentation to reflect the above changes. Signed-off-by: Nicholas

[PATCH] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-01-31 Thread Nicholas Johnson
al but least user-facing one planned. The most exciting changes are yet to come. Signed-off-by: Nicholas-Johnson-opensource --- drivers/pci/setup-bus.c | 172 1 file changed, 88 insertions(+), 84 deletions(-) diff --git a/drivers/pci/setup-bus.c b/driver

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-06 Thread Nicholas Johnson
On Sat, May 02, 2020 at 12:09:13PM +0200, Takashi Iwai wrote: > On Sat, 02 May 2020 09:27:31 +0200, > Takashi Iwai wrote: > > > > On Sat, 02 May 2020 09:17:28 +0200, > > Lukas Wunner wrote: > > > > > > On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > > > > --- a/drivers/gpu/drm/amd