Re: [PATCH v3 00/14 RESEND] irqchip: Fix potential resource leaks

2020-06-28 Thread Aleksandar Markovic
нед, 28. јун 2020. у 18:55 Marc Zyngier је написао/ла: > > On 2020-06-28 13:48, Aleksandar Markovic wrote: > > нед, 28. јун 2020. у 14:06 Marc Zyngier је написао/ла: > >> > >> On 2020-06-28 12:25, Aleksandar Markovic wrote: > >> > сре, 24. јун

Re: [PATCH v3 00/14 RESEND] irqchip: Fix potential resource leaks

2020-06-28 Thread Aleksandar Markovic
нед, 28. јун 2020. у 14:06 Marc Zyngier је написао/ла: > > On 2020-06-28 12:25, Aleksandar Markovic wrote: > > сре, 24. јун 2020. у 10:40 Marc Zyngier је написао/ла: > >> > >> On 2020-06-24 08:44, Tiezhu Yang wrote: > >> > [git send-email failed due to

Re: [PATCH v3 00/14 RESEND] irqchip: Fix potential resource leaks

2020-06-28 Thread Aleksandar Markovic
сре, 24. јун 2020. у 10:40 Marc Zyngier је написао/ла: > > On 2020-06-24 08:44, Tiezhu Yang wrote: > > [git send-email failed due to too many commands, > > so only cc the major related email and resend it, > > sorry for that] > > This is becoming majorly annoying. I don't think this is the righ

RE: [PATCH v2] MIPS: Add nonxstack=on|off kernel parameter

2018-02-13 Thread Aleksandar Markovic
> > > From: James Hogan [jho...@kernel.org] > Sent: Thursday, February 8, 2018 12:55 PM > > Hi, > > On Thu, Dec 07, 2017 at 11:33:47AM +, Miodrag Dinic wrote: > > > On Wed, Dec 06, 2017 at 05:50:52PM +, Maciej W. Rozycki wrote: > > > > What probl

[PATCH v4 0/2] MIPS: Augment CPC support

2018-01-19 Thread Aleksandar Markovic
From: Aleksandar Markovic v3->v4: - documentation patch now contains updating of MAINTAINERS file - rebased to the latest code v2->v3: - changed documentation file location from devicetree/bindings/misc to devicetree/bindings/power - minor commit message improv

[PATCH v4 2/2] MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()

2018-01-19 Thread Aleksandar Markovic
to specify the register location for your platform. Signed-off-by: Paul Burton Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- arch/mips/kernel/mips-cpc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/mips/kernel/mips-cpc.c b/arch/mips/kernel/mips

[PATCH v4 1/2] dt-bindings: Document mti,mips-cpc binding

2018-01-19 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) that allows the device tree to specify where the CPC registers are located. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/power/mti

RE: [PATCH v3 1/2] dt-bindings: Document mti,mips-cpc binding

2018-01-19 Thread Aleksandar Markovic
> On Wed, Dec 27, 2017 at 03:37:51PM +0100, Aleksandar Markovic wrote: > > From: Paul Burton > > > > Document a binding for the MIPS Cluster Power Controller (CPC) that > > allows the device tree to specify where the CPC registers are located. > > > > Signed

[PATCH v5] MIPS: Add noexec=on|off kernel parameter

2018-01-09 Thread Aleksandar Markovic
Miodrag Dinic Signed-off-by: Aleksandar Markovic --- In the last version, code comments, documentation, and commit message are modified to better explain the purpose and nature of this option. A precautionary note is added as well. --- Documentation/admin-guide/kernel-parameters.

[PATCH v12 2/3] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-12-29 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 139 + 4 files changed, 149

[PATCH v12 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-12-29 Thread Aleksandar Markovic
HI boot protocol DTB handover mode. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Reviewed-by: James Hogan --- MAINTAINERS | 7 ++ arch/mips/configs/generic/board-ranchu.config | 30 + arch/mips/generic/Kconf

[PATCH v12 1/3] Documentation: Add device tree binding for Goldfish PIC driver

2017-12-29 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v12 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-12-29 Thread Aleksandar Markovic
From: Aleksandar Markovic v11->v12: - rebased to the latest code v10->v11: - rebased to the latest code v9->v10: - added comment in code segment related to measuring frequency - rebased to the latest code v8->v9: - cleaned up PIC initialization details

[PATCH v3 2/2] MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()

2017-12-27 Thread Aleksandar Markovic
to specify the register location for your platform. Signed-off-by: Paul Burton Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- arch/mips/kernel/mips-cpc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/mips/kernel/mips-cpc.c b/arch/mips/kernel/mips

[PATCH v3 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-27 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) that allows the device tree to specify where the CPC registers are located. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic --- Documentation/devicetree/bindings/power/mti,mips-cpc.txt | 8

[PATCH v3 0/2] MIPS: Augment CPC support

2017-12-27 Thread Aleksandar Markovic
From: Aleksandar Markovic v2->v3: - changed documentation file location from devicetree/bindings/misc to devicetree/bindings/power - minor commit message improvements - rebased to the latest code v1->v2: - corrected wording in commit messages and documentatio

RE: [PATCH v2 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-27 Thread Aleksandar Markovic
Hi, Rob. Thanks for the review. > From: Rob Herring [r...@kernel.org] > Sent: Tuesday, December 26, 2017 10:48 PM > To: Aleksandar Markovic > > On Thu, Dec 21, 2017 at 04:20:23PM +0100, Aleksandar Markovic wrote: > > From: Paul Burton > > > > Document a b

RE: [PATCH 1/2] MIPS: math-emu: Do not export function `srl128`

2017-12-26 Thread Aleksandar Markovic
; +++ b/arch/mips/math-emu/dp_maddf.c > > @@ -16,7 +16,7 @@ > > > > > > /* 128 bits shift right logical with rounding. */ > > -void srl128(u64 *hptr, u64 *lptr, int count) > > +static void srl128(u64 *hptr, u64 *lptr, int count) > > { > > u64 l

RE: [PATCH 1/2] MIPS: math-emu: Do not export function `srl128`

2017-12-26 Thread Aleksandar Markovic
gt; > /* 128 bits shift right logical with rounding. */ > -void srl128(u64 *hptr, u64 *lptr, int count) > +static void srl128(u64 *hptr, u64 *lptr, int count) > { > u64 low; > > -- > 2.11.0 Acked-by: Aleksandar Markovic

RE: [PATCH 2/2] MIPS: math-emu: Declare ys variable as possibly unused

2017-12-26 Thread Aleksandar Markovic
> Fix non-fatal warning: > > arch/mips/math-emu/sp_fdp.c: In function ‘ieee754sp_fdp’: > arch/mips/math-emu/ieee754int.h:60:31: warning: variable ‘ys’ set but not > used [-Wunused-but-set-variable] > unsigned int ym; int ye; int ys; int yc >^ > arch/mips/math-emu/

RE: [PATCH v11 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-12-25 Thread Aleksandar Markovic
ping From: Aleksandar Markovic [aleksandar.marko...@rt-rk.com] Sent: Friday, December 15, 2017 5:48 PM To: linux-m...@linux-mips.org Cc: Aleksandar Markovic; David S. Miller; Douglas Leung; Goran Ferenc; Greg Kroah-Hartman; James Hogan; linux-kernel

[PATCH v2 2/2] MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()

2017-12-21 Thread Aleksandar Markovic
to specify the register location for your platform. Signed-off-by: Paul Burton Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- arch/mips/kernel/mips-cpc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/mips/kernel/mips-cpc.c b/arch/mips/kernel/mips

[PATCH v2 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-21 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) which simply allows the device tree to specify where the CPC registers are located. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic --- Documentation/devicetree/bindings/misc/mti,mips-cpc.txt | 8

[PATCH v2 0/2] MIPS: Augment CPC support

2017-12-21 Thread Aleksandar Markovic
From: Aleksandar Markovic v1->v2: - corrected wording in commit messages and documentation text - expanded cover letter to better explain the context of proposed changes - rebased to the latest code This series is based on two patches from the larger series submitted s

RE: [PATCH 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-18 Thread Aleksandar Markovic
> From: Rob Herring [r...@kernel.org] > Sent: Saturday, December 16, 2017 7:26 PM > To: Aleksandar Markovic > Subject: Re: [PATCH 1/2] dt-bindings: Document mti,mips-cpc binding > > On Fri, Dec 15, 2017 at 05:51:59PM +0100, Aleksandar Markovic wrote: > > From: Paul Bu

RE: [PATCH v11 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-12-15 Thread Aleksandar Markovic
> From: Joe Perches [j...@perches.com] > Sent: Friday, December 15, 2017 6:12 PM > > On Fri, 2017-12-15 at 17:48 +0100, Aleksandar Markovic wrote: > > Checkpatch script outputs a small number of warnings if applied to > > this series. We did not correct the code, si

[PATCH v4] MIPS: Add noexec=on|off kernel parameter

2017-12-15 Thread Aleksandar Markovic
pecially useful for Android development where non-exec stack is required. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- Parameter name was changed from "nonxstack" to "noexec" in v4, in order to achieve consistency with similar parameter naming for Intel

[PATCH 2/2] MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()

2017-12-15 Thread Aleksandar Markovic
to specify the register mappings for your platform. Signed-off-by: Paul Burton Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- arch/mips/kernel/mips-cpc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/mips/kernel/mips-cpc.c b/arch/mips/kernel/mips

[PATCH 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-15 Thread Aleksandar Markovic
From: Paul Burton Document a binding for the MIPS Cluster Power Controller (CPC) which simply allows the device tree to specify where the CPC registers should be mapped. Signed-off-by: Paul Burton Signed-off-by: Aleksandar Markovic --- Documentation/devicetree/bindings/misc/mti,mips-cpc.txt

[PATCH 0/2] MIPS: Augment CPC support

2017-12-15 Thread Aleksandar Markovic
From: Aleksandar Markovic This series is based on two patches from the series submitted some time ago (30 Aug 2016): https://www.linux-mips.org/archives/linux-mips/2016-08/msg00456.html Both patches deal with MIPS Cluster Power Controller (CPC) support. More specifically, they add device tree

[PATCH v11 2/3] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-12-15 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 139 + 4 files changed, 149

[PATCH v11 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-12-15 Thread Aleksandar Markovic
HI boot protocol DTB handover mode. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Reviewed-by: James Hogan --- MAINTAINERS | 7 ++ arch/mips/configs/generic/board-ranchu.config | 30 + arch/mips/generic/Kconf

[PATCH v11 1/3] Documentation: Add device tree binding for Goldfish PIC driver

2017-12-15 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v11 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-12-15 Thread Aleksandar Markovic
From: Aleksandar Markovic v10->v11: - rebased to the latest code v9->v10: - added comment in code segment related to measuring frequency - rebased to the latest code v8->v9: - cleaned up PIC initialization details - added missing '\n' to p

[PATCH v3] MIPS: Add nonxstack=on|off kernel parameter

2017-11-21 Thread Aleksandar Markovic
nvenient during debugging and is especially useful for Android development where non-exec stack is required. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- Documentation/admin-guide/kernel-parameters.txt | 11 +++ arch/mips/kernel/elf.c

[PATCH v10 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-11-21 Thread Aleksandar Markovic
HI boot protocol DTB handover mode. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Reviewed-by: James Hogan --- MAINTAINERS | 7 ++ arch/mips/configs/generic/board-ranchu.config | 30 + arch/mips/generic/Kconf

[PATCH v10 2/3] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-21 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 139 + 4 files changed, 149

[PATCH v10 1/3] Documentation: Add device tree binding for Goldfish PIC driver

2017-11-21 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v10 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-11-21 Thread Aleksandar Markovic
From: Aleksandar Markovic v9->v10: - added comment in code segment related to measuring frequency - rebased to the latest code v8->v9: - cleaned up PIC initialization details - added missing '\n' to pr_err() invocations - removed two Goldfish FB patches

[PATCH v2] MIPS: Add nonxstack=on|off kernel parameter

2017-11-21 Thread Aleksandar Markovic
nvenient during debugging and is especially useful for Android development where non-exec stack is required. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- Documentation/admin-guide/kernel-parameters.txt | 11 +++ arch/mips/kernel/elf.c

[PATCH] MIPS: Add nonxstack=on|off kernel parameter

2017-11-21 Thread Aleksandar Markovic
From: Miodrag Dinic Add a new kernel parameter to override the default behavior related to the decision whether to set up stack as non-executable in function mips_elf_read_implies_exec(). The new parameter is used to control non executable stack and heap, regardless of PT_GNU_STACK entry. This d

RE: [PATCH v9 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-11-16 Thread Aleksandar Markovic
> From: James Hogan > > Hi Aleksandar, > > On Wed, Nov 15, 2017 at 02:42:20PM +0100, Aleksandar Markovic wrote: > > diff --git a/arch/mips/configs/generic/board-ranchu.config > > b/arch/mips/configs/generic/board-ranchu.config > > new file mode 100644 > &

[PATCH v9 2/3] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-15 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 139 + 4 files changed, 149

[PATCH v9 3/3] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-11-15 Thread Aleksandar Markovic
HI boot protocol DTB handover mode. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS | 7 +++ arch/mips/configs/generic/board-ranchu.config | 30 ++ arch/mips/generic/Kconfig

[PATCH v9 1/3] Documentation: Add device tree binding for Goldfish PIC driver

2017-11-15 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v9 0/3] MIPS: Add virtual Ranchu board as a generic-based board

2017-11-15 Thread Aleksandar Markovic
From: Aleksandar Markovic v8->v9: - cleaned up PIC initialization details - added missing '\n' to pr_err() invocations - removed two Goldfish FB patches, since they got accepted - rebased to the latest code v7->v8: - cleaned commit message for patch #2

[PATCH v8 5/5] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-11-03 Thread Aleksandar Markovic
HI boot protocol DTB handover mode. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS | 7 +++ arch/mips/configs/generic/board-ranchu.config | 30 ++ arch/mips/generic/Kconfig

[PATCH v8 4/5] video: goldfishfb: Add support for device tree bindings

2017-11-03 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to the Goldfish FB driver to be recognized by OS via DT. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/video/fbdev/goldfishfb.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH v8 3/5] Documentation: Add device tree binding for Goldfish FB driver

2017-11-03 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: R

[PATCH v8 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-03 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 136 + 4 files changed, 146

[PATCH v8 1/5] Documentation: Add device tree binding for Goldfish PIC driver

2017-11-03 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v8 0/5] MIPS: Add virtual Ranchu board as a generic-based board

2017-11-03 Thread Aleksandar Markovic
From: Aleksandar Markovic v7->v8: - cleaned commit message for patch #2 - cleaned GPL licence text for patch #2 - revised Goldfish PIC error and info messages - simplified code around MIPS_MACHINE() for Ranchu - changed an instance of "__initdata" to "__in

RE: [PATCH v7 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-03 Thread Aleksandar Markovic
> From: Joe Perches [j...@perches.com] > ... >On Thu, 2017-11-02 at 17:21 +0100, Aleksandar Markovic wrote: > ... > > > Signed-off-by: Miodrag Dinic > > Signed-off-by: Goran Ferenc > > Signed-off-by: Aleksandar Markovic > > wq > > vi much? >

[PATCH v7 5/5] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-11-02 Thread Aleksandar Markovic
HI boot protocol DTB handover mode. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS | 7 +++ arch/mips/configs/generic/board-ranchu.config | 30 + arch/mips/generic/Kconfig

[PATCH v7 4/5] video: goldfishfb: Add support for device tree bindings

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to the Goldfish FB driver to be recognized by OS via DT. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/video/fbdev/goldfishfb.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH v7 3/5] Documentation: Add device tree binding for Goldfish FB driver

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: R

[PATCH v7 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-11-02 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic wq --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 134 + 4 files changed, 144

[PATCH v7 1/5] Documentation: Add device tree binding for Goldfish PIC driver

2017-11-02 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v7 0/5] MIPS: Add virtual Ranchu board as a generic-based board

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic v6->v7: - improved commit message for patch 5 (Add Ranchu as a...) - added code comments for segment that reads clock high/low - revised usage of "u32", "u64" variables in Ranchu code - revised header inclusion in Ranchu code

[PATCH v3 8/8] MIPS: math-emu: Mark fall throughs in switch statements with a comment

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Mark intentional fall throughs in switch statements with a consistent comment. In most of the cases, a new comment line containing text "fall through" is inserted. In some of the cases, existing comment contained a variation of the text "fall throug

[PATCH v3 6/8] MIPS: math-emu: Avoid an assignment within if statement condition

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Move invocation of fpu_emu() to be out of if statement condition. This makes code easier to follow and debug, and fixes a checkpatch warning. Signed-off-by: Aleksandar Markovic --- arch/mips/math-emu/cp1emu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[PATCH v3 7/8] MIPS: math-emu: Avoid multiple assignment

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Replace several instances of multiple assignment with individual assignments. Signed-off-by: Aleksandar Markovic --- arch/mips/math-emu/cp1emu.c | 3 ++- arch/mips/math-emu/dp_sqrt.c | 6 -- arch/mips/math-emu/sp_sqrt.c | 3 ++- 3 files changed, 8 insertions

[PATCH v3 3/8] MIPS: math-emu: Remove an unnecessary header inclusion

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Remove an unnecessary header inclusion of "ieee754dp.h". Signed-off-by: Aleksandar Markovic --- arch/mips/math-emu/sp_tlong.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/math-emu/sp_tlong.c b/arch/mips/math-emu/sp_tlong.c index a2450c

[PATCH v3 5/8] MIPS: math-emu: Declare function srl128() as static

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Declare function srl128() as static, since it it used just locally to the source file. This also removes a sparse warning for corresponding file. Signed-off-by: Aleksandar Markovic --- arch/mips/math-emu/dp_maddf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v3 2/8] MIPS: math-emu: Use preferred flavor of unsigned integer declarations

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix occurences of unsigned integer variable declarations that are not preferred by standards of checkpatch scripts. This removes a significant number of checkpatch warnings for files in math-emu directory (several files become completely warning-free), and thus makes

[PATCH v3 4/8] MIPS: math-emu: Avoid definition duplication for macro DPXMULT()

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Avoid duplicate definition of macro DPXMULT(). Move its definition to a header. Signed-off-by: Aleksandar Markovic --- arch/mips/math-emu/dp_maddf.c | 3 --- arch/mips/math-emu/dp_mul.c| 3 --- arch/mips/math-emu/ieee754dp.h | 3 +++ 3 files changed, 3

[PATCH v3 0/8] MIPS: Misc FPU emulation fixes

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic v2->v3: - further improved commit message of patch 1 - minor adjustment to patch 2 - added six new, mostly minor, patches - rebased to the latest code v1->v2: - clarify effects of patch 1 in its commit message - marked patch 1 as "

[PATCH v3 1/8] MIPS: math-emu: Fix final emulation phase for certain instructions

2017-11-02 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix final phase of . emulation. Provide proper generation of SIGFPE signal and updating debugfs FP exception stats in cases of any exception flags set in preceding phases of emulation. CLASS. instruction may generate "Unimplemented Operation" FP

[PATCH v6 5/5] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-10-30 Thread Aleksandar Markovic
From: Miodrag Dinic Provide amendments to the MIPS generic platform framework so that the new generic-based board Ranchu can be chosen to be built. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS

[PATCH v6 4/5] video: goldfishfb: Add support for device tree bindings

2017-10-30 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to the Goldfish FB driver to be recognized by OS via DT. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/video/fbdev/goldfishfb.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH v6 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-10-30 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 128 + 4 files changed, 138

[PATCH v6 3/5] Documentation: Add device tree binding for Goldfish FB driver

2017-10-30 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: R

[PATCH v6 1/5] Documentation: Add device tree binding for Goldfish PIC driver

2017-10-30 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic Acked-by: Rob Herring --- ...

[PATCH v6 0/5] MIPS: Add virtual Ranchu board as a generic-based board

2017-10-30 Thread Aleksandar Markovic
From: Aleksandar Markovic v5->v6: - revised cascading handling code in Goldfish PIC implementation - used more generic node name in Goldfish PIC documentation file - used more generic node name in Goldfish FB documentation file - corrected several minor items in b

[PATCH v5 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver

2017-10-20 Thread Aleksandar Markovic
-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS| 1 + drivers/irqchip/Kconfig| 8 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-goldfish-pic.c | 131 + 4 files changed, 141

[PATCH v5 5/5] MIPS: ranchu: Add Ranchu as a new generic-based board

2017-10-20 Thread Aleksandar Markovic
From: Miodrag Dinic Provide amendments to the MIPS generic platform framework so that the new generic-based board Ranchu can be chosen to be built. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- MAINTAINERS

[PATCH v5 4/5] video: goldfishfb: Add support for device tree bindings

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Add ability to the Goldfish FB driver to be recognized by OS via DT. Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/video/fbdev/goldfishfb.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH v5 1/5] Documentation: Add device tree binding for Goldfish PIC driver

2017-10-20 Thread Aleksandar Markovic
From: Miodrag Dinic Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- .../interrupt-control

[PATCH v5 0/5] MIPS: Add virtual Ranchu board as a generic-based board

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic v4->v5: - removed RTC clock-related patches since they are already applied - removed 8042-related patch since this issue is expected to be resolved on the whole platform level - redesigned Goldfish PIC driver - updated email adresses in com

[PATCH v5 3/5] Documentation: Add device tree binding for Goldfish FB driver

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- .../devicetree/bindin

[PATCH 2/2] MIPS: Update Goldfish RTC driver maintainer email address

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Change all relevant instances of miodrag.di...@imgtec.com email address to miodrag.di...@mips.com. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- .mailmap| 1 + MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 1/2] MIPS: Update RINT emulation maintainer email address

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Change all relevant instances of aleksandar.marko...@imgtec.com email address to aleksandar.marko...@mips.com. Signed-off-by: Miodrag Dinic Signed-off-by: Aleksandar Markovic --- .mailmap| 1 + MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 1 deletion

[PATCH 0/2] MIPS: Update some maintainers email addresses

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Previous adresses are not going to be valid soon, since MIPS changed company ownership. Therefore, update files MAINTAINERS and .mailmap. Aleksandar Markovic (2): MIPS: Update RINT emulation maintainer email address MIPS: Update Goldfish RTC driver maintainer email

[PATCH] MIPS: kernel: proc: Remove spurious white space in cpuinfo

2017-10-20 Thread Aleksandar Markovic
From: Dragan Cecavac Remove unnecessary space from FPU info segment of /proc/cpuinfo. Signed-off-by: Dragan Cecavac Signed-off-by: Aleksandar Markovic --- arch/mips/kernel/proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel

[PATCH v2 1/2] MIPS: math-emu: Update debugfs FP exception stats for certain instructions

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix omission of updating of debugfs FP exception stats for instructions .. CLASS. instruction can generate "Unimplemented Operation" FP exception. . can generate "Inexact", "Unimplemented Operation", "Invalid Operation", "Ov

[PATCH v2 2/2] MIPS: math-emu: Use preferred flavor of unsigned integer declarations

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix occurences of unsigned integer declarations that are not preferred by standards of checkpatch scripts. This removes significant number of checkpatch warnings in math-emu directory (several files will become completely warning-free), and thus makes easier to spot

[PATCH v2 0/2] MIPS: Misc FPU emulation fixes

2017-10-20 Thread Aleksandar Markovic
From: Aleksandar Markovic v1->v2: - clarify effects of the first patch in its commit message - marked the first patch as "stable #4.3+" - replaced "Minor" with "Misc" in the series title and cover letter This series contains two misc FPU emulati

RE: [PATCH 1/2] MIPS: math-emu: Update debugfs FP exception stats for certain instructions

2017-10-12 Thread Aleksandar Markovic
_ From: James Hogan [james.ho...@mips.com] Sent: Thursday, October 12, 2017 7:44 AM To: Aleksandar Markovic Cc: Miodrag Dinic; Paul Burton; Petar Jovanovic; Raghu Gandham; Ralf Baechle; Aleksandar Markovic; linux-m...@linux-mips.org; Douglas Leung; Goran Ferenc; linux-kernel@vger.ker

RE: [PATCH 1/2] MIPS: math-emu: Update debugfs FP exception stats for certain instructions

2017-10-12 Thread Aleksandar Markovic
(resending since the previous mail was rejected by the mailing list because of html format) > Subject: Re: [PATCH 1/2] MIPS: math-emu: Update debugfs FP exception stats > for certain instructions > Date: Thursday, October 12, 2017 12:17 CEST > From: James Hogan > > > ... > > if ((ctx->fcr31 >>

RE: [PATCH 1/2] MIPS: math-emu: Update debugfs FP exception stats for certain instructions

2017-10-11 Thread Aleksandar Markovic
Thanks, James, for the review. I've got a couple of points bellow that will, I hope, clarify several issues. > > From: James Hogan [james.ho...@mips.com] > Sent: Monday, October 09, 2017 2:09 PM > To: Aleksandar Markovic > Cc: linux

[PATCH 0/2] MIPS: Minor FPU emulation fixes

2017-10-06 Thread Aleksandar Markovic
From: Aleksandar Markovic This series contains two minor FPU emulation patches that were not included into a recent larger series of FPU fixes, mainly not to additionally burden already complex set of patches. Only the first patch changes functionality, and in such way that it affects certain

[PATCH 1/2] MIPS: math-emu: Update debugfs FP exception stats for certain instructions

2017-10-06 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix omission of updating of debugfs FP exception stats for instructions .. CLASS. can generate Unimplemented Operation FP exception. >. can generate Inexact, Unimplemented Operation, Invalid Operation, Overflow, and Underflow FP exceptions. In such cases, and prior

[PATCH 2/2] MIPS: math-emu: Use preferred flavor of unsigned integer declarations

2017-10-06 Thread Aleksandar Markovic
From: Aleksandar Markovic Fix occurences of unsigned integer declarations that are not preferred by standards of checkpatch scripts. This removes significant number of checkpatch warnings in math-emu directory (several files will become completely warning-free), and thus makes easier to spot

[PATCH v3 0/3] Amend Goldfish tty driver functionality

2017-08-29 Thread Aleksandar Markovic
From: Aleksandar Markovic v2->v3: - fixed several "checkpatch --strict" warnings. - fixed several minor mistakes in comments and messages, mostly spelling errors. - fixed recipient list. v1->v2: - added a cleanup patch (it is #1) to resolve confusing name scheme.

[PATCH v3 2/3] tty: goldfish: Use streaming DMA for r/w operations on Ranchu platforms

2017-08-29 Thread Aleksandar Markovic
rds used by Android emulator.) Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/tty/goldfish.c | 166 + 1 file changed, 139 insertions(+), 27 deletions(-) diff --git a/drivers/tty/goldfish.

[PATCH v3 1/3] tty: goldfish: Refactor constants to better reflect their nature

2017-08-29 Thread Aleksandar Markovic
From: Aleksandar Markovic Classify constants GOLDFISH_TTY_xxx into two groups: command ids and register offsets. Apply different naming for register offsets (add 'REG_' after 'GOLDFISH_TTY_' in constant names). Change implementation to use preprocessor's '#defin

[PATCH v3 3/3] tty: goldfish: Implement support for kernel 'earlycon' parameter

2017-08-29 Thread Aleksandar Markovic
fish-tty"; }; Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/tty/Kconfig| 3 +++ drivers/tty/goldfish.c | 26 ++ 2 files changed, 29 insertions(+) diff --git a/drivers/tty/Kconfig b/drivers/tty/Kc

[PATCH v2 1/3] tty: goldfish: Refactor constants to better reflect their nature

2017-08-28 Thread Aleksandar Markovic
From: Aleksandar Markovic Classify constants GOLDFISH_TTY_xxx into two groups: command ids and register offsets. Apply different naming for regiter offsets (add 'REG_' after 'GOLDFISH_TTY_' in constant names). Change implementation to use preprocessor's '#defin

[PATCH v2 2/3] tty: goldfish: Use streaming DMA for r/w operations on Ranchu platforms

2017-08-28 Thread Aleksandar Markovic
rds used by Android emulator.) Signed-off-by: Miodrag Dinic Signed-off-by: Goran Ferenc Signed-off-by: Aleksandar Markovic --- drivers/tty/goldfish.c | 157 + 1 file changed, 134 insertions(+), 23 deletions(-) diff --git a/drivers/tty/goldfish.

[PATCH v2 0/3] Amend Goldfish tty driver functionality

2017-08-28 Thread Aleksandar Markovic
From: Aleksandar Markovic v1->v2: - added a cleanup patch (it is #1) to resolve confusing name scheme - updated patch #2 based on the feedback This series first performs a cleanup of certian constant naming in the Goldfish tty driver and also adds two new important features to it that

  1   2   3   >