On 01/29/2015 04:38 AM, Stephen Rothwell wrote:
After merging the drm tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/gpu/drm/amd/amdkfd/kfd_device.c: In function 'kgd2kfd_device_init':
drivers/gpu/drm/amd/amdkfd/kfd_device.c:193:11: error:
On 01/29/2015 04:17 AM, Stephen Rothwell wrote:
Hi Dave,
Today's linux-next merge of the drm tree got conflicts in
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c and
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h between commits
b8cbab042cd6 (drm/amdkfd: Allow user to limit only
On 11/13/2014 12:10 AM, Jesse Barnes wrote:
This could be useful for debug in the future if we want to track
major/minor faults more closely, and also avoids the put_page trick we
used with gup.
In order to do this, we also track the task struct in the PASID state
structure. This lets us
On 01/10/2015 11:50 PM, Eric Dumazet wrote:
On Sat, 2015-01-10 at 23:30 +0200, Oded Gabbay wrote:
Yes, no problem.
I will update on the result.
Please try this more complete patch, solving the TX pressure problem as
well, and not lying about NAPI budget. thanks !
diff --git
Hi,
Commit d75b1ade567ffab085e8adbbdacf0092d10cd09c breaks my Qualcomm Atheros
AR8161 Gigabit Ethernet (rev 10) Ethernet controller, which is handled by
the alx network driver.
ogabbay@odedg-ubuntu:~$ lspci -s 01:00.0 -k
01:00.0 Ethernet controller:
Qualcomm Atheros AR8161 Gigabit
On 01/10/2015 10:58 PM, Eric Dumazet wrote:
On Sat, 2015-01-10 at 22:39 +0200, Oded Gabbay wrote:
Hi,
Commit d75b1ade567ffab085e8adbbdacf0092d10cd09c breaks my Qualcomm Atheros
AR8161 Gigabit Ethernet (rev 10) Ethernet controller, which is handled by
the alx network driver.
ogabbay@odedg
On 01/11/2015 12:05 AM, Oded Gabbay wrote:
On 01/10/2015 11:50 PM, Eric Dumazet wrote:
On Sat, 2015-01-10 at 23:30 +0200, Oded Gabbay wrote:
Yes, no problem.
I will update on the result.
Please try this more complete patch, solving the TX pressure problem as
well, and not lying about
On 01/10/2015 11:30 PM, Oded Gabbay wrote:
On 01/10/2015 10:58 PM, Eric Dumazet wrote:
On Sat, 2015-01-10 at 22:39 +0200, Oded Gabbay wrote:
Hi,
Commit d75b1ade567ffab085e8adbbdacf0092d10cd09c breaks my Qualcomm Atheros
AR8161 Gigabit Ethernet (rev 10) Ethernet controller, which
Hello,
Today I took latest branch from Linus repo to check for amdkfd regressions
due to my fixes pulled for 3.19-rc4, and I got a kernel bug (see below dmesg
output).
I did a bisect and the first bad commit is:
7a3ef208e662f4b63d43a23f61a64a129c525bbc is the first bad commit
commit
)
12: 00 00 add%al,(%rax)
+Added Oded Gabbay oded.gab...@amd.com into cc, he's reported this
problem too.
Thanks for the fast reply.
I applied the patch and tested it. I wasn't able to reproduce *my* problem,
so you are definitely in the right direction
.byte 0xf
f: 1f (bad)
10: 84 00 test %al,(%rax)
12: 00 00 add%al,(%rax)
+Added Oded Gabbay oded.gab...@amd.com into cc, he's reported this
problem too.
Thanks for the fast reply.
I applied the patch and tested it. I
On 01/07/2015 12:58 AM, Rusty Russell wrote:
Kees Cook keesc...@chromium.org writes:
On Sun, Jan 4, 2015 at 8:28 PM, Rusty Russell ru...@rustcorp.com.au wrote:
Kees, as far as I can tell you need another 0-terminated vmlinux.relocs
section for weak symbols. These should not be relocated if
On 01/06/2015 12:44 AM, j.gli...@gmail.com wrote:
From: Jérôme Glisse jgli...@redhat.com
The event information will be useful for new user of mmu_notifier API.
The event argument differentiate between a vma disappearing, a page
being write protected or simply a page being unmaped. This
On 01/11/2015 02:24 PM, Oded Gabbay wrote:
On 01/06/2015 12:44 AM, j.gli...@gmail.com wrote:
From: Jérôme Glisse jgli...@redhat.com
The event information will be useful for new user of mmu_notifier API.
The event argument differentiate between a vma disappearing, a page
being write
On 01/06/2015 12:44 AM, j.gli...@gmail.com wrote:
From: Jérôme Glisse jgli...@redhat.com
This patch only introduce core HMM functions for registering a new mirror and
stopping a mirror as well as registering and unregistering a device.
The lifecycle of HMM object is handled differently
On 01/12/2015 05:46 PM, Jerome Glisse wrote:
On Sun, Jan 11, 2015 at 03:24:42PM +0200, Oded Gabbay wrote:
On 01/06/2015 12:44 AM, j.gli...@gmail.com wrote:
From: Jérôme Glisse jgli...@redhat.com
This patch only introduce core HMM functions for registering a new mirror
and
stopping
On 01/04/2015 01:31 AM, Alexey Khoroshilov wrote:
If timeout happens, kgd_hqd_destroy() just returns -ETIME leaving queue
acquired.
It may cause a deadlock, so the patch proposes to release queue before return.
Found by Linux Driver Verification project (linuxtesting.org).
, 2014 at 10:34:32AM +0100, Christian König wrote:
Am 29.12.2014 um 09:16 schrieb Laurent Pinchart:
Hi Oded,
On Sunday 28 December 2014 13:36:50 Oded Gabbay wrote:
On 12/26/2014 11:19 AM, Laurent Pinchart wrote:
On Thursday 25 December 2014 14:20:59 Thierry Reding wrote:
On Mon, Dec 22, 2014
On 03/17/2015 02:25 PM, Michel Machado wrote:
On 03/15/2015 05:37 AM, Greg KH wrote:
On Fri, Mar 13, 2015 at 11:26:46AM -0400, Michel Machado wrote:
On 03/10/2015 01:01 PM, Bjorn Helgaas wrote:
From my point of view (far outside the networking world and completely
incompetent to judge the
On 03/15/2015 11:37 AM, Greg KH wrote:
On Fri, Mar 13, 2015 at 11:26:46AM -0400, Michel Machado wrote:
On 03/10/2015 01:01 PM, Bjorn Helgaas wrote:
From my point of view (far outside the networking world and completely
incompetent to judge the merits of XIA), this email seems like a
On 03/13/2015 01:24 PM, Arnd Bergmann wrote:
On Thursday 12 March 2015 10:23:40 John Stultz wrote:
Convert the timestamping in the amdkfd driver to use
a timespec64 and 64bit time accessors.
Cc: Arnd Bergmann a...@arndb.de
Cc: Oded Gabbay oded.gab...@amd.com
Cc: David Airlie airl...@linux.ie
This patch updates the Kaveri MEC firmware to #396 (from #391).
The MEC firmware is mainly used for amdkfd - AMD's HSA Linux kernel driver.
Signed-off-by: Oded Gabbay oded.gab...@amd.com
---
radeon/kaveri_mec.bin | Bin 17024 - 17024 bytes
radeon/kaveri_mec2.bin | Bin 17024 - 17024 bytes
2
Hi Joerg,
Could you please take a look at this patch ?
I want it to be included in stable asap so Fedora 22 will pick it up.
Thanks,
Oded
On 04/16/2015 05:08 PM, Oded Gabbay wrote:
This patch fixes a bug in put_pasid_state_wait that appeared in kernel 4.0
The bug is that pasid_state
On 04/23/2015 07:22 PM, Jerome Glisse wrote:
On Thu, Apr 23, 2015 at 09:20:55AM -0500, Christoph Lameter wrote:
On Thu, 23 Apr 2015, Benjamin Herrenschmidt wrote:
There are hooks in glibc where you can replace the memory
management of the apps if you want that.
We don't control the app.
Hi Joerg,
I sent to you (cc iommu mailing list) an important fix on Apr-16 for a bug in
amd_iommu_v2.c (from kernel 4.0). See:
http://lists.linuxfoundation.org/pipermail/iommu/2015-April/012757.html
Could you please add that to the pull request ?
Its creating problems when running HSA
a look, ack it and pull it to -rc3/4 ? I can send
you the patch again with git or I can also send it through Dave's drm
pull request if that's more convenient for you.
Thanks,
Oded
On 04/20/2015 09:23 AM, Oded Gabbay wrote:
Hi Joerg,
I sent to you (cc iommu mailing list) an important fix
On 05/03/2015 01:14 AM, Joerg Roedel wrote:
Hi Oded,
On Sat, May 02, 2015 at 07:59:39PM +0300, Oded Gabbay wrote:
However, Joerg is not answering my emails for some reason (vacation/sick?)
Sorry, I was travelling for the last 3 weeks and had bad internet
access. But I am back and will take
On Tue, May 5, 2015 at 9:22 PM, Josh Boyer jwbo...@fedoraproject.org wrote:
On Sun, May 3, 2015 at 2:18 AM, Oded Gabbay oded.gab...@amd.com wrote:
On 05/03/2015 01:14 AM, Joerg Roedel wrote:
Hi Oded,
On Sat, May 02, 2015 at 07:59:39PM +0300, Oded Gabbay wrote:
However, Joerg
Leaving AMD soon so need to update my email address to @gmail.com
Signed-off-by: Oded Gabbay oded.gab...@gmail.com
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 781e099..d68df93 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
for HSA,
we need this patch.
Cc: sta...@vger.kernel.org
Reviewed-by: Alex Deucher alexander.deuc...@amd.com
Signed-off-by: Oded Gabbay oded.gab...@gmail.com
---
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd
.
Signed-off-by: Oded Gabbay oded.gab...@amd.com
Cc: sta...@vger.kernel.org
---
drivers/iommu/amd_iommu_v2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c
index 6d5a5c4..173e70d 100644
--- a/drivers/iommu/amd_iommu_v2.c
+++ b/drivers
@amd.com
Reviewed-by: Alex Deucher alexander.deuc...@amd.com
Cc: sta...@vger.kernel.org
Signed-off-by: Oded Gabbay oded.gab...@amd.com
---
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdkfd
because it calls BUG_ON()
Signed-off-by: Oded Gabbay oded.gab...@amd.com
Cc: sta...@vger.kernel.org
Tested-by: Michel Dänzer michel.daen...@amd.com
---
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm
On Wed, May 20, 2015 at 4:37 AM, Joe Perches j...@perches.com wrote:
Use the generic mechanism to declare a bitmap instead of unsigned long.
It seems that struct kfd_process.allocated_queue_bitmap is unused.
Maybe it could be deleted instead.
Signed-off-by: Joe Perches j...@perches.com
---
On Wed, May 20, 2015 at 8:31 AM, Stephen Rothwell s...@canb.auug.org.au wrote:
Hi Dave,
On Wed, 20 May 2015 15:25:38 +1000 Stephen Rothwell s...@canb.auug.org.au
wrote:
On Wed, 20 May 2015 05:41:46 +0100 (IST) Dave Airlie airl...@linux.ie
wrote:
After merging the drm tree, today's
On Fri, Jun 5, 2015 at 11:27 AM, Valentin Rothberg
valentinrothb...@gmail.com wrote:
The CONFIG_ prefix is reserved for Kconfig options in Make and CPP
syntax. Various static analysis tools rely on this naming convention
and check if CONFIG_ prefixed symbols are defined Kconfig. Hence add
On Thu, Jun 11, 2015 at 6:19 PM, Dan Carpenter dan.carpen...@oracle.com wrote:
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
index 96c904b..54a608a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++
On Thu, Jun 11, 2015 at 6:19 PM, Dan Carpenter dan.carpen...@oracle.com wrote:
#include kfd_dbgmgr.h
+#include ../../radeon/cik_reg.h
static long kfd_ioctl(struct file *, unsigned int, unsigned long);
We can't include radeon files in kfd_chardev.c, because amdkfd works
with two device
Joerg,
Why amdkfd's devices are considered a non-IOMMUv2 capable devices ?
After all, they contain the IOMMUv2 H/W and use it constantly for HSA.
ODed
On Thu, Jul 30, 2015 at 1:05 PM, Joerg Roedel j...@8bytes.org wrote:
From: Joerg Roedel jroe...@suse.de
With the grouping of multi-function
___
iommu mailing list
io...@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
This series, with the additional patch, is:
Tested-by: Oded Gabbay oded.gab...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
This series, with the additional patch is:
Tested-by: Oded Gabbay oded.gab...@gmail.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
Hi Joerg,
I tested your patches on Kaveri, and while they do fix the initial
setup between amdkfd and IOMMU, the kernel crashes when an HSA process
tries to do any simple action that involves the kernel, such as to
create a compute queue.
So while I suppose the above patches should be included,
On Mon, Jun 29, 2015 at 7:33 AM, Maninder Singh maninder...@samsung.com wrote:
pdd is already dereferenced before this check.
So it is redundtant to validate pdd here.
Signed-off-by: Maninder Singh maninder...@samsung.com
---
drivers/gpu/drm/amd/amdkfd/kfd_process.c |3 +--
1 file
On Thu, Jul 9, 2015 at 12:11 PM, Maninder Singh maninder...@samsung.com wrote:
Currently pdd is validate after dereferencing it, which is
not correct, Thus validate pdd before its first use.
Signed-off-by: Maninder Singh maninder...@samsung.com
---
v1: remove validation of pdd after its
On Fri, Aug 28, 2015 at 10:27 AM, Christoph Hellwig h...@lst.de wrote:
The latter is a default version of asm/mman.h and not for driver use.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 +-
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c |
On Tue, Nov 17, 2015 at 5:11 PM, Joerg Roedel wrote:
> Hi,
>
> here is the second version of the patch-set to implement
> proper access checks into the io-page-fault handlers of the
> AMD IOMMU and Intel VT-d drivers.
>
> Two additional patches clean up the AMD part a bit
On Sun, May 29, 2016 at 6:44 PM, Bhaktipriya Shridhar
wrote:
> alloc_workqueue replaces deprecated create_workqueue().
>
> create_workqueue has been replaced with alloc_workqueue with max_active
> as 0 since there is no need for throttling the number of active work items.
On Tue, May 31, 2016 at 8:15 PM, Luis R. Rodriguez <mcg...@kernel.org> wrote:
> On Sun, May 29, 2016 at 05:49:17PM +0300, Oded Gabbay wrote:
>> On Fri, May 27, 2016 at 4:18 AM, Luis R. Rodriguez <mcg...@kernel.org> wrote:
>> > diff --git a/drivers/gpu/drm/radeon/ra
On Thu, May 26, 2016 at 10:37 PM, Bhaktipriya Shridhar
wrote:
> alloc_workqueue replaces deprecated create_workqueue().
>
> create_workqueue has been replaced with alloc_workqueue with max_active
> as 0 since there is no need for throttling the number of active work
On Fri, May 27, 2016 at 4:18 AM, Luis R. Rodriguez wrote:
> To get KFD support in radeon we need the following
> initialization to happen in this order, their
> respective driver file that has its init routine
> listed next to it:
>
> 0. AMD IOMMUv1:
On Mon, Jan 25, 2016 at 7:33 PM, Amitoj Kaur Chawla
wrote:
> Remove an unnecassary cast in the argument to kfree.
>
> Found using Coccinelle. The semantic patch used to find this is as follows:
>
> //
> @@
> type T;
> expression *f;
> @@
>
> - kfree((T *)(f));
> + kfree(f);
On Fri, Jan 22, 2016 at 7:35 PM, Colin King wrote:
> From: Colin Ian King
>
> amdgpu_amdkfd_gfx_7_get_functions and amdgpu_amdkfd_gfx_8_0_get_functions
> have no parameters, so use the normal void parameter convention to make
> them match
On Thu, Mar 17, 2016 at 4:37 PM, Jerome Glisse wrote:
> On Wed, Mar 16, 2016 at 05:10:34PM +, Olu Ogunbowale wrote:
>> From: Olujide Ogunbowale
>>
>> Export the memory management functions, unmapped_area() &
>> unmapped_area_topdown(), as GPL
On Wed, Mar 16, 2016 at 12:12 AM, Luis R. Rodriguez wrote:
> We need to ensure amd iommu v2 initializes before
> driver uses such as drivers/gpu/drm/amd/amdkfd/kfd_module.c,
> to do this make its init routine a subsys_initcall() which
> ensures its load init is called first
On Wed, Mar 16, 2016 at 12:14 PM, Joerg Roedel <j...@8bytes.org> wrote:
> On Wed, Mar 16, 2016 at 09:02:43AM +0200, Oded Gabbay wrote:
>> fwiw, we currently have this covered by the ugly hack of putting iommu
>> subsystem in front of gpu subsystem in the main
On Fri, Mar 11, 2016 at 9:51 AM, Dan Carpenter wrote:
> At the end of the function we expect "status" to be zero, but it's
> either -EINVAL or unitialized.
>
> Fixes: 788bf83db301 ('drm/amdkfd: Add wave control operation to debugger')
> Signed-off-by: Dan Carpenter
On Tue, Mar 8, 2016 at 10:40 PM, Rasmus Villemoes
wrote:
> Passing overlapping source and destination buffers to snprintf
> formally has undefined behaviour and is rather fragile. While the
> rather special case of passing the output buffer as the argument
>
gt; This reverts the old work around implemented through commit
>>> 1bacc894c227fad8a7 ("drivers: Move iommu/ before gpu/ in Makefile"),
>>> instead of making the dependency implicit by linker order this
>>> makes the ordering requirement explicit through p
On Wed, Apr 13, 2016 at 1:07 AM, Luis R. Rodriguez <mcg...@kernel.org> wrote:
> On Mon, Apr 11, 2016 at 03:52:43PM +0200, Christian König wrote:
>> Am 11.04.2016 um 15:39 schrieb Oded Gabbay:
>> >On Mon, Apr 11, 2016 at 4:28 PM, Christian König
>> ><chri
On Mon, Apr 18, 2016 at 9:55 AM, Luis R. Rodriguez <mcg...@kernel.org> wrote:
>
> On Apr 18, 2016 7:48 AM, "Oded Gabbay" <oded.gab...@gmail.com> wrote:
>>
>> On Wed, Apr 13, 2016 at 1:07 AM, Luis R. Rodriguez <mcg...@kernel.org>
>> wrote:
>
On Wed, Jul 13, 2016 at 10:36 AM, Colin King wrote:
> From: Colin Ian King
>
> The doorbell offset is formatted with a 0x prefix to suggest it is
> a hexadecimal value, when in fact %d is being used and this is confusing.
> Use %X instead to
On Sat, Nov 12, 2016 at 7:33 PM, Colin King wrote:
> From: Colin Ian King
>
> Trivial fix to spelling mistake, rename kfd_ioctl_dbg_unrgesiter
> to kfd_ioctl_dbg_unregister
>
> Signed-off-by: Colin Ian King
> ---
>
On Thu, Jun 1, 2017 at 1:28 PM, Geert Uytterhoeven
wrote:
> Signed-off-by: Geert Uytterhoeven
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_process.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git
On Fri, Sep 8, 2017 at 5:13 PM, Colin King wrote:
> From: Colin Ian King
>
> The call to kfd_device_by_id can potentially return null, so check that
> dev is null and return with -EINVAL to avoid a null pointer dereference.
>
> Detected by
34315e1f0ed 100644
> --- a/arch/sparc/include/asm/mmu_context_64.h
> +++ b/arch/sparc/include/asm/mmu_context_64.h
> @@ -7,9 +7,11 @@
>
> #include
> #include
> +#include
>
> #include
> #include
> +#include
>
> static inline void enter_lazy_tlb(struct mm_str
ixes user space compilation errors like:
>>
>> linux/kfd_ioctl.h:33:2: error: unknown type name ‘uint32_t’
>> uint32_t major_version; /* from KFD */
>> ^~~~
>>
>> Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
>> Cc: Yair Shachar <yair.shac
On Tue, Aug 29, 2017 at 10:03 PM, Himanshu Jha
wrote:
> calling memcpy immediately after memset with the same region of memory
> makes memset redundant.
>
> Signed-off-by: Himanshu Jha
> ---
>
It was sent to Dave Airle (drm maintainer) to be included in 4.15-rc2
or 4.15-rc3 (depends when Dave will send his drm fixes).
Oded
On Wed, Nov 29, 2017 at 12:41 AM, Randy Dunlap <rdun...@infradead.org> wrote:
> On 11/13/2017 08:09 AM, Oded Gabbay wrote:
>> On Sat, Nov 11, 2017 at
On Thu, Nov 23, 2017 at 4:11 PM, Greg KH <gre...@linuxfoundation.org> wrote:
> On Thu, Nov 23, 2017 at 04:04:22PM +0200, Oded Gabbay wrote:
>> Add PCI codes to include/linux/pci_ids.h for Processing Accelerators. There
>> are new ASICs (now in development) for Deep Learn
Add PCI codes to include/linux/pci_ids.h for Processing Accelerators. There
are new ASICs (now in development) for Deep Learning that will utilize this
base class.
Signed-off-by: Oded Gabbay <oded.gab...@gmail.com>
---
include/linux/pci_ids.h | 3 +++
1 file changed, 3 insertions(+)
diff
50 4d 85 c0 74 2b 48 8b 86 88 00 00 00 48 85 c0 74 25 <48>
> 8b 08 0f be 7b 01 48 c7 c2 96 0a aa 97 31 c0 83 ef 30 e8 7f
> [ 947.650339] RIP: __dev_printk+0x29/0x90 RSP: a51e409c7e48
> [ 947.650388] ---[ end trace c41965e147ae98ae ]---
>
> Signed-off-by: Randy Dunlap <rdun
On Mon, Nov 13, 2017 at 2:35 AM, Dmitry V. Levin wrote:
> Consistently use types provided by via
> to fix the following linux/kfd_ioctl.h userspace compilation errors:
>
> /usr/include/linux/kfd_ioctl.h:236:2: error: unknown type name 'uint64_t'
> uint64_t va_addr; /* to
of linux/sched.h to mmu_context_mm.h to avoid
such errors.
Signed-off-by: Oded Gabbay <oded.gab...@gmail.com>
---
arch/microblaze/include/asm/mmu_context_mm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/microblaze/include/asm/mmu_context_mm.h
b/arch/microblaze/inclu
On Thu, May 3, 2018 at 12:49 AM, Kees Cook wrote:
> On Fri, Apr 13, 2018 at 2:24 PM, Laura Abbott wrote:
>>
>> There's an ongoing effort to remove VLAs[1] from the kernel to eventually
>> turn on -Wvla. Switch to a constant value that covers all
ject: [PATCH] drm/amdgpu: include pagemap.h for release_pages()
>
> Fixes: 5ae0283e831a ("drm/amdgpu: Add userptr support for KFD"
> Cc: Felix Kuehling <felix.kuehl...@amd.com>
> Cc: Oded Gabbay <oded.gab...@gmail.com>
> Signed-off-by: Stephen Rothwell <s...@
t; WREG32(SOC15_REG_OFFSET(GC, 0, mmCP_PQ_WPTR_POLL_CNTL1),
>get_queue_mask(adev, pipe_id, queue_id));
> }
> --
> 2.9.0
>
There is a change scheduled for the next merge window that will cause
this file to not build anymore on 32-bit targets (because the am
ct kfd_dev
> *dev)
> mutex_lock(>mutex);
> pdd = kfd_get_process_device_data(dev, p);
>
> + if (WARN_ON(!pdd)) {
> + mutex_unlock(>mutex);
> + continue;
> + }
> +
>
On Sat, Jan 20, 2018 at 12:30 AM, Gustavo A. R. Silva
wrote:
>
> Quoting Felix Kuehling :
>
>> Looks good. This change is Reviewed-by: Felix Kuehling
>>
>>
>
> Thanks Felix.
> --
> Gustavo
>
Applied to -next
Oded
>
>
>
>
Hi Gustavo,
The patch is queued for the merge window of kernel 4.17 (opens in
about 7 weeks from now).
Oded
On Wed, Feb 14, 2018 at 11:30 PM, Gustavo A. R. Silva
wrote:
> Hi all,
>
> I was just wondering about the status of this patch.
>
> Thanks
> --
> Gustavo
>
>
> On
On Thu, Feb 8, 2018 at 11:33 PM, SF Markus Elfring
wrote:
> From: Markus Elfring
> Date: Thu, 8 Feb 2018 22:23:57 +0100
>
> Omit an extra message for a memory allocation failure in this function.
>
> This issue was detected by using
On Wed, Mar 28, 2018 at 4:20 PM, Wei Yongjun wrote:
> Fix to return error code -ENOMEM from the eviction fence create fail
> error handling case instead of 0, as done elsewhere in this function.
>
> Fixes: a46a2cd103a8 ("drm/amdgpu: Add GPUVM memory management functions
On Mon, Apr 2, 2018 at 9:02 PM, Felix Kuehling wrote:
> Thanks for catching that. I'd use -ENODEV to match what is done a few
> lines below for peer_pdd. With that fixed, this patch is Reviewed-by:
> Felix Kuehling
>
> Regards,
> Felix
>
>
> On
Thanks, but I took Randy's patch as it was earlier in my email queue.
Oded
On Thu, Apr 19, 2018 at 8:47 PM, Felix Kuehling wrote:
> On 2018-04-19 06:56 AM, Anders Roxell wrote:
>> On 28 March 2018 at 18:04, Christian König wrote:
>>> Am
Thanks, but already fixed in latest upstream tree
Oded
On Thu, Apr 5, 2018 at 7:26 AM, Dmitry V. Levin wrote:
> Consistently use types provided by via
> to fix the following linux/kfd_ioctl.h userspace compilation errors:
>
> /usr/include/linux/kfd_ioctl.h:266:2: error:
On Mon, Apr 2, 2018 at 9:03 PM, Felix Kuehling wrote:
> This patch is Reviewed-by: Felix Kuehling
>
>
> On 2018-03-29 10:25 PM, Wei Yongjun wrote:
>> Fixes the following sparse warning:
>>
>> drivers/gpu/drm/amd/amdkfd/kfd_chardev.c:1150:6:
led by default]
>> ../drivers/gpu/drm/amd/amdkfd/kfd_process.c:439:2: warning: (near
>> initialization for 'kfd_process_mmu_notifier_ops') [enabled by default]
>> ../drivers/gpu/drm/amd/amdkfd/kfd_process.c:534:2: error: implicit
>> declaration of function 'mmu_notifier_register'
On Thu, Mar 15, 2018 at 6:49 PM, Arnd Bergmann wrote:
> When CONFIG_ACPI is disabled, we never initialize the acpi_table
> structure in kfd_create_crat_image_virtual:
>
> drivers/gpu/drm/amd/amdkfd/kfd_crat.c: In function
> 'kfd_create_crat_image_virtual':
>
detecs if the non-removable property is set in the device tree.
The function esdhc_pltfm_bus_width was added because the bus width configuration
is platform specific.
Signed-off-by: Oded Gabbay
Reviewed-by: Anton Vorontsov
---
drivers/mmc/host/sdhci-esdhc.h| 7 +++
drivers/mmc/host/sdhci
tch depends on the first patch of this set (total of 2 patches)
Signed-off-by: Oded Gabbay
Reviewed-by: Anton Vorontsov
---
drivers/mmc/host/sdhci-of-esdhc.c | 14 ++
include/linux/mmc/sdhci.h | 2 ++
2 files changed, 16 insertions(+)
diff --git a/drivers/mmc/host/sd
Signed-off-by: Oded Gabbay
---
Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 3 +++
drivers/mmc/host/sdhci-of-esdhc.c | 4
2 files changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
b/Documentation/devicetree/bindings/mmc/fsl-esdhc
off-by: Oded Gabbay
---
drivers/mmc/host/sdhci-of-esdhc.c | 10 ++
include/linux/mmc/sdhci.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c
b/drivers/mmc/host/sdhci-of-esdhc.c
index 6f433b8..e70f22f 100644
--- a/drivers/mmc/host/sd
-by: Oded Gabbay
---
drivers/mmc/host/sdhci-esdhc.h| 7 ++
drivers/mmc/host/sdhci-of-esdhc.c | 49 ++-
2 files changed, 55 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h
index d25f9ab..6f9a018
n: adding synchronization for GRBM GFX
hsa/radeon: fixing clock counters bug
drm/radeon: Extending kfd interface
hsa/radeon: Adding max clock speeds to topology
hsa/radeon: Alternating the source of max clock
hsa/radeon: Exclusive access for perf. counters
Michael Varga (1):
hsa/radeo
, it releases the kfd_process object
and all relevant resources.
Signed-off-by: Oded Gabbay
---
include/linux/mm_types.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 678097c..6179107 100644
--- a/include/linux/mm_types.h
+++ b
To support HSA on KV, we need to limit the number of vmids and pipes
that are available for radeon's use with KV.
This patch reserves VMIDs 8-15 for KFD (so radeon can only use VMIDs
0-7) and also makes radeon thinks that KV has only a single MEC with a single
pipe in it
Signed-off-by: Oded
Signed-off-by: Oded Gabbay
---
drivers/gpu/drm/radeon/radeon_kfd.c | 129
include/linux/radeon_kfd.h | 23 +++
2 files changed, 152 insertions(+)
diff --git a/drivers/gpu/drm/radeon/radeon_kfd.c
b/drivers/gpu/drm/radeon/radeon_kfd.c
index 1b859b5
Radeon and KFD share the doorbell aperture.
Radeon sets it up, takes the doorbells required for its own rings
and reports the setup to KFD.
Radeon reserved doorbells are at the start of the doorbell aperture.
Signed-off-by: Oded Gabbay
---
drivers/gpu/drm/radeon/radeon.h| 4
, the initialize call
fails and the radeon driver continues normally.
This patch also adds calls to probe, initialize and finalize a kfd device
per radeon device using the kgd-->kfd interface.
Signed-off-by: Oded Gabbay
---
drivers/gpu/drm/radeon/radeon_drv.c | 6 ++
drivers/gpu/drm/rad
This patch adds a new interface to kfd2kgd_calls structure, which
allows the kfd to lock and unlock the srbm_gfx_cntl register
Signed-off-by: Oded Gabbay
---
drivers/gpu/drm/radeon/radeon_kfd.c | 20
include/linux/radeon_kfd.h | 4
2 files changed, 24
.
Signed-off-by: Oded Gabbay
---
drivers/gpu/hsa/radeon/kfd_chardev.c | 155 ++
drivers/gpu/hsa/radeon/kfd_doorbell.c | 11 +++
include/uapi/linux/kfd_ioctl.h| 69 +++
3 files changed, 235 insertions(+)
create mode 100644 include/uapi/linux
301 - 400 of 1658 matches
Mail list logo