directory.
Regards,
Aleksandar
From: Miodrag Dinic
Sent: Friday, August 11, 2017 9:46 AM
To: Alexandre Belloni; Aleksandar Markovic
Cc: linux-m...@linux-mips.org; Goran Ferenc; Aleksandar Markovic; Alessandro
Zummo; Bo Hu; David S. Miller; Douglas Leung; Greg
017 11:58 AM
> To: Aleksandar Markovic
> Cc: linux-m...@linux-mips.org; Lingfeng Yang; Miodrag Dinic; Goran Ferenc;
> Aleksandar Markovic; Douglas Leung; Henrik Rydberg; James Hogan;
> linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Paul Burton; Petar
> Jovanovic; Rag
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAXA|MINA>.<D|S>, if inputs are normal fp
numbers of the same absolute value, but opposite signs.
The relevant example:
MAXA.S fd,fs,ft:
If fs contains -3, and ft contains +3, fd is g
Leung <douglas.le...@imgtec.com>
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/mips/math-emu/ieee754sp.h | 4 ++
arch/m
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAXA|MINA>.<D|S> fd,fs,ft, if both inputs
are infinite. The previous implementation returned always the value
contained in ft in such cases. The correct behavior is specified
in Mips inst
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix definition and usage of maddf_flags enumeration. Avoid duplicate
definition and apply more common capitalization.
This patch does not change any scenario. It just make MADDF and MSUBF
emulation code more readable and
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the cases of <MADDF|MSUBF>.<D|S> when any of three inputs is any
NaN. Correct behavior of <MADDF|MSUBF>.<D|S> fd, fs, ft is following:
- if any of inputs is sNaN, return a sNaN using following rules:
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix following special cases for MINA>.<D|S>:
- if one of the inputs is zero, and the other is subnormal, normal,
or infinity, the value of the former should be returned (that is,
a zero).
- if one of the inp
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the cases of <MADDF|MSUBF>.<D|S> when any of two multiplicands is
+0 or -0, and the third input is also +0 or -0. Depending on the signs
of inputs, certain special cases must be handled.
The relevant example:
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAX|MAXA|MIN|MINA>.<D|S>, if both inputs
are zeros. The right behavior in such cases is stated in instruction
reference manual and is as follows:
fs ft MAX MIN
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the cases of <MADDF|MSUBF>.<D|S> when any of two multiplicands is
infinity. The correct behavior in such cases is affected by the nature
of third input. Cases of addition of infinities with opposite signs
and subtrac
ed-off-by: Douglas Leung <douglas.le...@imgtec.com>
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/
>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtech.com>
---
drivers/tty/goldfish.c | 119 -
1 file changed, 108 insertions(+), 11 deletions(-)
diff --git a/drivers/t
From: Goran Ferenc <goran.fer...@imgtec.com>
Extend clobber lists to include all GP registers.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com
dfish-tty", "generic,goldfish-tty";
};
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/tty/Kconfig| 3 +++
drivers/t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAX|MAXA|MIN|MINA>.<D|S>, if both inputs
are quiet NaNs. The specifications of <MAX|MAXA|MIN|MINA>.<D|S> state
that the returned value in such cases should be the quie
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAX|MIN>.<D|S>, if both inputs are negative
normal fp numbers. The previous logic did not take into account that
if both inputs have the same sign, there should be separate treatment
of t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v2->v3:
- added a patch that fixes clobber lists in vdso fallback cases
- added 6 patches related to MIN/MINA/MAX/MAXA issues
- added 6 patches related to MADDF/MSUBDF issues
- enhanced logic and comments
com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/input/keyboard/goldfish_events.c | 35 +++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/drivers/input
Hi, James,
I appreciate your thorough and expeditious review.
>
>
> From: James Hogan
> Sent: Friday, July 21, 2017 7:45 AM
> To: Aleksandar Markovic
> Cc: linux-m...@linux-mips.org; Aleksandar Markovic; Miodrag Dinic; Goran
>
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAX|MIN>.<D|S>, if both inputs are negative
normal fp numbers. The previous logic did not take into account that
if both inputs have the same sign, there should be separate treatment
of t
fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Reviewed-by: James Hogan <james.ho...@imgtec.com>
---
arch/mips/vdso/gettimeofday.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/mips/vdso/gettimeofday.c b/arc
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAX|MAXA|MIN|MINA>.<D|S> fd,fs,ft, if both
inputs are quiet NaNs. The <MAX|MAXA|MIN|MINA>.<D|S> specifications
state that the returned value in such cases should be the quie
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the cases of <MADDF|MSUBF>.<D|S> when any of two multiplicands is
infinity. The correct behavior in such cases is affected by the nature
of third input. Cases of addition of infinities with opposite signs
and subtrac
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Cc: <sta...@vger.kernel.org> # 4.7+
---
arch/mips/math-emu/ieee754sp.h | 4 ++
arch/mips/math-emu/sp_maddf.c | 116 -
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the cases of <MADDF|MSUBF>.<D|S> when any of three inputs is any
NaN. Correct behavior of <MADDF|MSUBF>.<D|S> fd, fs, ft is following:
- if any of inputs is sNaN, return a sNaN using following rules:
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the cases of <MADDF|MSUBF>.<D|S> when any of two multiplicands is
+0 or -0, and the third input is also +0 or -0. Depending on the signs
of inputs, certain special cases must be handled.
A relevant example:
MADDF.S
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix definition and usage of "maddf_flags" enumeration. Avoid duplicate
definition and apply more common capitalization.
This patch does not change any scenario. It just makes MADDF and
MSUBF emulation code more rea
>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtech.com>
---
drivers/tty/goldfish.c | 119 -
1 file changed, 108 insertions(+), 11 deletions(-)
diff --git a/drivers/t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAX|MAXA|MIN|MINA>.<D|S>, if both inputs
are zeros. The right behavior in such cases is stated in instruction
reference manual and is as follows:
fs ft MAX MIN
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAXA|MINA>.<D|S> fd,fs,ft, if both inputs
are infinite. The previous implementation returned always the value
contained in ft in such cases. The correct behavior is specified
in Mips inst
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix the value returned by <MAXA|MINA>.<D|S>, if the inputs are normal
fp numbers of the same absolute value, but opposite signs.
A relevant example:
MAXA.S fd,fs,ft:
If fs contains -3.0, and ft contains +3.0, fd i
..@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Cc: <sta...@vger.kernel.org> # 4.7+
---
arch/mips/math-emu/dp_maddf.c | 133 +-
1 file changed, 94 ins
dfish-tty", "generic,goldfish-tty";
};
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/tty/Kconfig| 3 +++
drivers/t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix following special cases for MINA>.<D|S>:
- if one of the inputs is zero, and the other is subnormal, normal,
or infinity, the value of the former should be returned (that is,
a zero).
- if one of the inp
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v3->v4:
- patches on MADDF/MSUBF tagged as "stable #4.7+"
- patches on MAX/MIN/MAXA/MINA tagged as "stable #4.3+"
- logic in the patch on NaN handling in MADDF/MSUBF simplified
- improv
<miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/input/keyboard/goldfish_events.c | 35 +++-
1 file changed, 34 insertions(+), 1 deletion(
> ___
> From: James Hogan
> Sent: Monday, July 24, 2017 3:24 AM
> To: Aleksandar Markovic
> Cc: linux-m...@linux-mips.org; Aleksandar Markovic; Miodrag Dinic; Goran
> Ferenc; Douglas Leung; linux-> ker...@vger.kernel.org; Paul Burton; Peta
>
>
> From: James Hogan
> Sent: Monday, July 24, 2017 3:39 AM
> To: Aleksandar Markovic
> Cc: linux-m...@linux-mips.org; Aleksandar Markovic; Douglas Leung; Miodrag
> Dinic; Goran Ferenc; linux-kernel@vger.kernel.org; Paul Burto
>
>
> From: James Hogan
> Sent: Friday, July 21, 2017 8:42 AM
> To: Aleksandar Markovic
> Cc: linux-m...@linux-mips.org; Aleksandar Markovic; Miodrag Dinic; Goran
> Ferenc; Douglas Leung; linux-kernel@vger.kernel.org; Paul Burto
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add documentation for DT binding of Goldfish RTC driver. The compatible
string used by OS for binding the driver is "google,goldfish-rtc".
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: G
y: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS| 1 +
drivers/rtc/Kconfig| 8 ++
drivers/rtc/Makefile | 1 +
-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS| 1 +
drivers/irqchip/Kconfig| 8 +++
drivers/irqchip/M
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v2->v3:
- fixed configuration dependency for VIRTIO_NET and
RTC_DRV_GOLDFISH
- fixed frequency calculation in ranchu_measure_hpt_freq()
- use DT info instead of hard-coding RTC base in
ranchu_measure
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 <miodrag.di...@imgtec.com>
Signed-off-by: G
t gets enabled, because
i8042 driver would try to read from an non-existent IO register.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/mip
com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS | 6 +++
arch/mips/configs/generic/board-ranchu.config | 30 +++
arch/mips/generic/Kconfig | 11
arch/mips/generic/Makefile
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add ability to the Goldfish FB driver to be recognized by OS via DT.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 <miodrag.di...@imgtec.com>
Signed-off-by: G
ses.
On the other hand, MIPS has only one structure (mips_vdso_data),
hence the need for changing the size of above mentioned parameters.
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Aleksandar Markovic <al
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v1->v2:
- updated recipient lists using get_maintainer.pl
- rebased to the letest kernel code
The patches in this series all deal with VDSO, and all originate from
the develpoment of Android emulator for Mips..
The fi
AL3 opcode. For that purpose,
the instruction format for DSP instructions is added to
arch/mips/include/uapi/asm/inst.h.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtech.com>
---
arch/mips/include/uapi/asm/inst.h | 11
com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/input/keyboard/goldfish_events.c | 33 +++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/drivers/input
>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtech.com>
---
drivers/tty/goldfish.c | 119 -
1 file changed, 108 insertions(+), 11 deletions(-)
diff --git a/drivers/t
ror: float register should be even, was 31
make[2]: *** [arch/mips/kernel/r4k_switch.o] Error 1
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
dfish-tty", "generic,goldfish-tty";
};
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/tty/Kconfig| 3 +++
drivers/t
ap=64K$0x1869
or
memmap=0x1$0x1869
There is no need to update this documentation file with respect to
this patch.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic
com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS | 6 ++
arch/mips/configs/generic/board-ranchu.config | 25
arch/mips/generic/Kconfig | 11
arch/mips/generic/Makefile
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 <miodrag.di...@imgtec.com>
Signed-off-by: G
BOARDS="list of boards" OS=android
android.config file should be occasionally revisited and updated
with latest requirements from Google.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksanda
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
If accumulator value is zero, just return the value of previously
calculated product. This brings logic in MADDf/MSUBF implementation
closer to the logic in ADD/SUB case.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
set.
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/mips/vdso/gettimeofday.c | 24 +++-
1 file changed, 23 insertions(+)
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add device driver for a virtual Goldfish RTC clock.
The driver can be built only if CONFIG_MIPS and CONFIG_GOLDFISH are
set. The compatible string used by OS for binding the driver is
defined as "google,goldfish-rtc&qu
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add documentation for DT binding of Goldfish RTC driver. The compatible
string used by OS for binding the driver is "google,goldfish-rtc".
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: G
untime.
This patch just adds a no-op check_legacy_ioport() function which will
be enriched with logic in a later patch.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgte
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Sync the comment with its preprocessor constant counterpart.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/mips/vdso/gettimeofday.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v1->v2:
- the patch on PREF usage in memcpy dropped as not needed
- updated recipient lists using get_maintainer.pl
- rebased to the latest kernel code
This series contains an assortment of changes necessary f
yscall, register a3 is tested and the return
value is negated if it's set.
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/mips/
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 <miodrag.di...@imgtec.com>
Signed-off-by: G
's compatible strings
if it does not support i8042 controller.
In order to utilize this mechanism, each MIPS machine that do not
have i8042 controller should update the blacklist table with its
compatible strings.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: G
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v1->v2:
- patch on RTC driver cleaned up
- added drivers for virtio console and net to the Ranchu board
- minor improvements in commit messages
- updated recipient lists using get_maintainer.pl
- rebased to t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add device driver for a virtual programmable interrupt controller
The virtual PIC is designed as a device tree-based interrupt controller.
The compatible string used by OS for binding the driver is
"google,goldfish-pic&qu
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add ability to the Goldfish FB driver to be recognized by OS via DT.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic
he second
generation of virtual boards used by Android emulator.)
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtech.com>
---
d
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This series adds two features to the tty goldfish driver that are
crucial for the operation of the new generation of Android emulator
for Mips.
The backward compatibility issues are all taken care of.
Miodrag Dinic (2):
tty: go
goldfish-tty";
};
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
drivers/tty/Kconfig| 3 +++
drivers/tty/goldfish.c | 26 +
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix content of CLASS.D output bits 32-63 to match hardware behavior.
Prior to this patch, bits 32-63 of CLASS.D output were not
initialized, causing differnet 32-63 bits content of CLASS.D, based on
circumstances. However, the ha
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Reimplement RINT.<D|S> kernel emulation so that all RINT.<D|S>
specifications are met.
For the sake of simplicity, let's analyze RINT.S only. Prior to
this patch, RINT.S emulation was essentially implemented
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix CMP.Sxxx.<D|S> SIGILL crashes by fixing main switch/case statement
in fpu_emul() function so that inadvertent fall-troughs are prevented.
Consider, let's say, CMP.SAF.S instruction when one of inputs is zero
and a
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This series includes:
- a fix for certain SIGILL program crashes on issuing a valid
CMP instruction
- a fix for RINT emulation inaccuracies
- a fix for the output of CLASS.D instruction emulation
- several FP emu
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add FP emulation debugfs statistics for individual instructions. The
counters are placed in a separate directory called "instructions".
The default full path of this directory is
"/sys/kernel/debug/mips/fpuemustats
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add FP emu debugfs counter for branches.
The new counter is displayed the same way as existing counter, and
its default path is /sys/kernel/debug/mips/fpuemustats/.
The limitation of this counter is that it counts only R6
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add capability for the user to reset all FP emu debugfs counters.
This is achieved by having a special debugfs file "fpuemustats_clear"
(under default location "/sys/kernel/debug/mips"). Each access to the
f
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v3->v4:
- corrected RTC clock patch so that it does not cause build
errors for some targets, and limited compile support to Mips
architecture, since it is the only case where this driver is
used
- chang
d-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS| 1 +
drivers/rtc/Kconfig| 8 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-goldfish.c | 237
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add documentation for DT binding of Goldfish RTC driver. The compatible
string used by OS for binding the driver is "google,goldfish-rtc".
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: G
com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS | 6 +++
arch/mips/configs/generic/board-ranchu.config | 30 +++
arch/mips/generic/Kconfig | 11
arch/mips/generic/Makefile
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 <miodrag.di...@imgtec.com>
Signed-off-by: G
-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
MAINTAINERS| 1 +
drivers/irqchip/Kconfig| 8 ++
drivers/irqchip/M
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add ability to the Goldfish FB driver to be recognized by OS via DT.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic
t gets enabled, because
i8042 driver would try to read from an non-existent IO register.
Signed-off-by: Miodrag Dinic <miodrag.di...@imgtec.com>
Signed-off-by: Goran Ferenc <goran.fer...@imgtec.com>
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
arch/mip
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 <miodrag.di...@imgtec.com>
Signed-off-by: G
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 functio
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
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 warnin
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Fix omission of updating of debugfs FP exception stats for
instructions <CLASS|MADDF|MSUBF|MAX|MIN|MAXA|MINA>.<D|S>.
CLASS.<D|S> can generate Unimplemented Operation FP exception.
<MADDF|MSUBF|MAX|MIN|MAX
(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 >
> > ...
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.kernel.org; M
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add FP emulation debugfs statistics for individual instructions. The
debugfs files that contain counter values are placed in a separate
directory called "instructions". This means that the default path for
these new stat
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Add capability for the user to clear all FP emu debugfs counters.
This is achieved by having a special debugfs file "fpuemustats_clear"
(under default location "/sys/kernel/debug/mips"). Each access to the
f
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Reimplement RINT.<D|S> kernel emulation so that all RINT.<D|S>
specifications are met.
For the sake of simplicity, let's analyze RINT.S only. Prior to
this patch, RINT.S emulation was essentially implemented
1 - 100 of 399 matches
Mail list logo