[PATCH] KVM: PPC: Replace zero-length array with flexible array member

2021-09-18 Thread Len Baker
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use "flexible array members" [1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. Also,

Re: [PATCH v8 2/3] tty: hvc: pass DMA capable memory to put_chars()

2021-09-18 Thread Xianting Tian
thanks Greg, I will submit v9 patch for reviewing. Before, I was waiting for a new reply:( 在 2021/9/18 下午8:40, Greg KH 写道: On Sat, Sep 18, 2021 at 08:32:01PM +0800, Xianting Tian wrote: hi Will you consider to continue the disscussion of this patch? thanks I do not see a newer version of

Re: [PATCH v8 2/3] tty: hvc: pass DMA capable memory to put_chars()

2021-09-18 Thread Greg KH
On Sat, Sep 18, 2021 at 08:32:01PM +0800, Xianting Tian wrote: > hi > > Will you consider to continue the disscussion of this patch? thanks I do not see a newer version of this series. thanks, greg k-h

Re: [PATCH v8 2/3] tty: hvc: pass DMA capable memory to put_chars()

2021-09-18 Thread Xianting Tian
hi Will you consider to continue the disscussion of this patch? thanks 在 2021/8/20 下午4:43, Xianting TIan 写道: 在 2021/8/20 下午2:49, Daniel Axtens 写道: Xianting Tian writes: As well known, hvc backend driver(eg, virtio-console) can register its operations to hvc framework. The operations can

Re: [PATCH v5 6/6] sched/fair: Consider SMT in ASYM_PACKING load balance

2021-09-18 Thread Vincent Guittot
On Fri, 17 Sept 2021 at 20:47, Peter Zijlstra wrote: > > On Fri, Sep 17, 2021 at 05:25:02PM +0200, Vincent Guittot wrote: > > > With the removal of the condition !sds->local_stat.sum_nr_running > > which seems useless because dst_cpu is idle and not SMT, this patch > > looks good to me > > I've

[PATCH] powerpc/476: Fix sparse report

2021-09-18 Thread Christophe Leroy
arch/powerpc/platforms/44x/ppc476.c:236:17: warning: cast removes address space '__iomem' of expression arch/powerpc/platforms/44x/ppc476.c:241:34: warning: incorrect type in argument 1 (different address spaces) arch/powerpc/platforms/44x/ppc476.c:241:34:expected

Re: [PATCH v2] powerpc/32: Don't use a struct based type for pte_t

2021-09-18 Thread Christophe Leroy
Le 17/09/2021 à 16:32, David Laight a écrit : From: Christophe Leroy Sent: 17 September 2021 14:58 Long time ago we had a config item called STRICT_MM_TYPECHECKS to build the kernel with pte_t defined as a structure in order to perform additional build checks or build it with pte_t defined

Re: [PATCH v2] powerpc/32: Don't use a struct based type for pte_t

2021-09-18 Thread Christophe Leroy
Le 18/09/2021 à 05:26, Michael Ellerman a écrit : Christophe Leroy writes: Long time ago we had a config item called STRICT_MM_TYPECHECKS to build the kernel with pte_t defined as a structure in order to perform additional build checks or build it with pte_t defined as a simple type in