[PATCH 2/2] iommu/amd: Destroy api_lock mutex when freeing domain

2016-05-21 Thread Jan Vesely
From: Jan Vesely <jan.ves...@amd.com> Signed-off-by: Jan Vesely <jan.ves...@amd.com> --- drivers/iommu/amd_iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 17c76f2..4ff5e40 100644 --- a/drivers/iommu/amd_iommu.c +

[PATCH 1/2] iommu/amd: Remove entry from the list before freeing it

2016-05-21 Thread Jan Vesely
From: Jan Vesely <jan.ves...@amd.com> Signed-off-by: Jan Vesely <jan.ves...@amd.com> --- drivers/iommu/amd_iommu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 634f636..17c76f2 100644 --- a/d

[PATCH 1/2] iommu/amd: Remove entry from the list before freeing it

2016-05-21 Thread Jan Vesely
From: Jan Vesely Signed-off-by: Jan Vesely --- drivers/iommu/amd_iommu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 634f636..17c76f2 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c

[PATCH 2/2] iommu/amd: Destroy api_lock mutex when freeing domain

2016-05-21 Thread Jan Vesely
From: Jan Vesely Signed-off-by: Jan Vesely --- drivers/iommu/amd_iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 17c76f2..4ff5e40 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -3016,6 +3016,7

[PATCH] drm/nouveau/bios: 0 means success for nvbios_extend

2015-04-08 Thread Jan Vesely
Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=89047 CC: David Airlie CC: Ben Skeggs CC: dri-de...@lists.freedesktop.org CC: linux-kernel@vger.kernel.org Signed-off-by: Jan Vesely --- It's needed for 3.19 too drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 2 +- drivers/gpu

[PATCH] drm/nouveau/bios: 0 means success for nvbios_extend

2015-04-08 Thread Jan Vesely
Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=89047 CC: David Airlie airl...@linux.ie CC: Ben Skeggs bske...@redhat.com CC: dri-de...@lists.freedesktop.org CC: linux-kernel@vger.kernel.org Signed-off-by: Jan Vesely jano.ves...@gmail.com --- It's needed for 3.19 too drivers/gpu/drm

[PATCH 0/2] mpt{2,3}sas remove disconnected phys on topology change

2013-08-01 Thread Jan Vesely
From: Jan Vesely These two patches add phy removal on link loss. This change keeps sysfs up-to-date with actually connected phys. Without these patches, disconnected phys remain listed under their former ports. tested on both mpt2sas and mpt3sas hw. CC: Nagalakshmi Nandigama CC: Sreekanth

[PATCH 2/2] mpt3sas: Remove phys on topology change

2013-08-01 Thread Jan Vesely
From: Jan Vesely CC: Nagalakshmi Nandigama CC: Sreekanth Reddy CC: Tomas Henzl Signed-off-by: Jan Vesely --- drivers/scsi/mpt3sas/mpt3sas_transport.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_transport.c b/drivers/scsi/mpt3sas

[PATCH 1/2] mpt2sas: Remove phys on topology change.

2013-08-01 Thread Jan Vesely
From: Jan Vesely CC: Nagalakshmi Nandigama CC: Sreekanth Reddy CC: Tomas Henzl Signed-off-by: Jan Vesely --- drivers/scsi/mpt2sas/mpt2sas_transport.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_transport.c b/drivers/scsi/mpt2sas

Re: [PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-08-01 Thread Jan Vesely
On Mon 25 Mar 2013 20:40:09 CET, Jens Axboe wrote: > On Mon, Mar 25 2013, Jan Vesely wrote: >> 51506edc5741209311913 >> >> On Mon 25 Mar 2013 15:24:57 CET, Jens Axboe wrote: >>> On Mon, Mar 25 2013, Jan Vesely wrote: >>>> v2: changed a comment >>

Re: [PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-08-01 Thread Jan Vesely
On Mon 25 Mar 2013 20:40:09 CET, Jens Axboe wrote: On Mon, Mar 25 2013, Jan Vesely wrote: 51506edc5741209311913 On Mon 25 Mar 2013 15:24:57 CET, Jens Axboe wrote: On Mon, Mar 25 2013, Jan Vesely wrote: v2: changed a comment The original behavior was to refuse all pages after the maximum

[PATCH 2/2] mpt3sas: Remove phys on topology change

2013-08-01 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com CC: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com CC: Sreekanth Reddy sreekanth.re...@lsi.com CC: Tomas Henzl the...@redhat.com Signed-off-by: Jan Vesely jves...@redhat.com --- drivers/scsi/mpt3sas/mpt3sas_transport.c |5 - 1 files changed, 4

[PATCH 1/2] mpt2sas: Remove phys on topology change.

2013-08-01 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com CC: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com CC: Sreekanth Reddy sreekanth.re...@lsi.com CC: Tomas Henzl the...@redhat.com Signed-off-by: Jan Vesely jves...@redhat.com --- drivers/scsi/mpt2sas/mpt2sas_transport.c |5 - 1 files changed, 4

[PATCH 0/2] mpt{2,3}sas remove disconnected phys on topology change

2013-08-01 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com These two patches add phy removal on link loss. This change keeps sysfs up-to-date with actually connected phys. Without these patches, disconnected phys remain listed under their former ports. tested on both mpt2sas and mpt3sas hw. CC: Nagalakshmi Nandigama

Re: [PATCH v4 0/2] block: Fix regression since 46081b166415acb66d4b3150ecefcd9460bb48a1 (was: Allow merging of tail pages into the last segment)

2013-07-26 Thread Jan Vesely
On 12/07/13 17:52, Jan Vesely wrote: > Hi > > These patches modify __bio_add_page to accept pages that extent the last bio > segment. some drivers craft their buffers and rely on this behavior (see > message in patch 2 for details) > > > jan > > v4: whitespace

Re: [PATCH v4 0/2] block: Fix regression since 46081b166415acb66d4b3150ecefcd9460bb48a1 (was: Allow merging of tail pages into the last segment)

2013-07-26 Thread Jan Vesely
On 12/07/13 17:52, Jan Vesely wrote: Hi These patches modify __bio_add_page to accept pages that extent the last bio segment. some drivers craft their buffers and rely on this behavior (see message in patch 2 for details) jan v4: whitespace fixes to make checkpatch happy v3: Use

[PATCH v4 0/2] block: Allow merging of tail pages into the last segment

2013-07-12 Thread Jan Vesely
Hi These patches modify __bio_add_page to accept pages that extent the last bio segment. some drivers craft their buffers and rely on this behavior (see message in patch 2 for details) jan v4: whitespace fixes to make checkpatch happy v3: Use code from __blk_recalc_rq_segments to decide

[PATCH v4 2/2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-07-12 Thread Jan Vesely
From: Jan Vesely The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max segments and multiple pages in the last segment. This patch modifies the check to allow

[PATCH v4 1/2] block: factor out vector mergeable decision to a helper function

2013-07-12 Thread Jan Vesely
From: Jan Vesely Export the function so it can be used to predict segment counts without calling the recalc function. This will be used in the next patch. Signed-off-by: Jan Vesely CC: Alexander Viro CC: James Bottomley CC: Jens Axboe CC: Kent Overstreet CC: Rob Evers CC: Tomas Henzl CC

[PATCH v4 1/2] block: factor out vector mergeable decision to a helper function

2013-07-12 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com Export the function so it can be used to predict segment counts without calling the recalc function. This will be used in the next patch. Signed-off-by: Jan Vesely jves...@redhat.com CC: Alexander Viro v...@zeniv.linux.org.uk CC: James Bottomley james.bottom

[PATCH v4 2/2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-07-12 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max segments and multiple pages in the last segment. This patch modifies

[PATCH v4 0/2] block: Allow merging of tail pages into the last segment

2013-07-12 Thread Jan Vesely
Hi These patches modify __bio_add_page to accept pages that extent the last bio segment. some drivers craft their buffers and rely on this behavior (see message in patch 2 for details) jan v4: whitespace fixes to make checkpatch happy v3: Use code from __blk_recalc_rq_segments to decide

Re: [PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
On Thu 06 Jun 2013 10:42:16 CEST, Hannes Reinecke wrote: > On 06/06/2013 10:18 AM, Jan Vesely wrote: >> From: Jan Vesely >> >> The comment says the function does this but it does not. >> Reported luns change from weirdly high numbers (like 16640) >> to something s

[PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
From: Jan Vesely The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using flat space addressing. CC: James Bottomley CC: Dan Williams Signed-off-by: Jan Vesely --- drivers/scsi/scsi_scan.c | 2

[PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using flat space addressing. CC: James Bottomley jbottom...@parallels.com CC: Dan Williams dan.j.willi

Re: [PATCH] [SCSI] scsilun_to_int should ignore the highest 2 bits

2013-06-06 Thread Jan Vesely
On Thu 06 Jun 2013 10:42:16 CEST, Hannes Reinecke wrote: On 06/06/2013 10:18 AM, Jan Vesely wrote: From: Jan Vesely jves...@redhat.com The comment says the function does this but it does not. Reported luns change from weirdly high numbers (like 16640) to something saner (256), when using

Re: [PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
On Mon 25 Mar 2013 15:24:57 CET, Jens Axboe wrote: > On Mon, Mar 25 2013, Jan Vesely wrote: >> v2: changed a comment >> >> The original behavior was to refuse all pages after the maximum number of >> segments has been reached. However, some drivers (like

[PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
-by: Jan Vesely CC: Alexander Viro CC: FUJITA Tomonori CC: Kai Makisara CC: James Bottomley CC: Jens Axboe CC: sta...@vger.kernel.org --- fs/bio.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/fs/bio.c b/fs/bio.c index bb5768f..bc6af71

Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
On Thu 07 Mar 2013 12:23:13 CET, Jan Vesely wrote: > On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: >> The original behavior was to refuse all pages after the maximum number of >> segments has been reached. However, some drivers (like st) craft their >> buffers >

Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
On Thu 07 Mar 2013 12:23:13 CET, Jan Vesely wrote: On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max

[PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
-by: Jan Vesely jves...@redhat.com CC: Alexander Viro v...@zeniv.linux.org.uk CC: FUJITA Tomonori fujita.tomon...@lab.ntt.co.jp CC: Kai Makisara kai.makis...@kolumbus.fi CC: James Bottomley james.bottom...@hansenpartnership.com CC: Jens Axboe ax...@kernel.dk CC: sta...@vger.kernel.org --- fs/bio.c

Re: [PATCH RESEND v2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
On Mon 25 Mar 2013 15:24:57 CET, Jens Axboe wrote: On Mon, Mar 25 2013, Jan Vesely wrote: v2: changed a comment The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require

Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-07 Thread Jan Vesely
Hi Jens, I have added you to cc, I'm not sure who to bug to get this patch merged. thanks, Jan Vesely On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft

Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-07 Thread Jan Vesely
Hi Jens, I have added you to cc, I'm not sure who to bug to get this patch merged. thanks, Jan Vesely On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft

[PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-02-21 Thread Jan Vesely
be merged into the last segment. This change fixes EBUSY failures when using large (1mb) tape block size in high memory fragmentation condition. Signed-off-by: Jan Vesely --- fs/bio.c | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/fs/bio.c b/fs

[PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-02-21 Thread Jan Vesely
be merged into the last segment. This change fixes EBUSY failures when using large (1mb) tape block size in high memory fragmentation condition. Signed-off-by: Jan Vesely jves...@redhat.com --- fs/bio.c | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git